DAMAJIANG's Recent Forum Activity

  • Hello,

    If I understand you correctly you would like some snippets with predefined construct definitions and functions, similar to the built-in the editor?

    Yes, that’s exactly what I want!

  • How do I make a stroke text? The text color is transparent, and then draw a outline. As in the second font in the picture.

    Although can use of BBCode, [stroke]stroke text[/stroke], but it is just a very simple stroke, and the thickness cannot be customized, so it is not practical.

    And if it's just need a outline, can use the Better Outline effect. But The Text color does not seem to be able to set the alpha.

    Tagged:

  • He’s still run every tick

  • I tried setinterval and settimeout and they didn’t work.

    Any suggestions。

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • For example, some keywords

    getAllInstances

    instVars

    stop

    Stop

    reverse()

    speed

    maxSpeed

    acceleration

    deceleration

    ....................

    You know what I mean. Only the API keyword completion is enough!

  • Hypothesis, I have a JSON data:

    {
    	"data1": "value1",
    	"data2": "value2",
    	"data3": "value3",
    	"data4": "value4",
    	"data5": "value5",
    }
    

    How can I achieve break, For example, Use For-each entry in path, let the loop jump out when it reaches 'data3'. At first I thought the built-in system actions Stop loop can break, But it's actually continue, Just skip the current loop, not the whole loop.

    Although, I have several solutions to achieve this effect. But I think they always be executed in their entirety once, rather than jumping straight out.

    #1

    #2

    I hope can find a way to really break to save some of unnecessary performance?

  • You can try searching in the addons section for Construct 3.

    https://www.construct.net/en/make-games/addons/98/rgba-channel-separation

    Thank you !

  • I really like this effect

    RGBA-CHANNEL SEPARATION but it only work on C2

    How do I make similar to this

  • I'm trying to set Fullscreen mode to Off and Load stylesheet:

    body{
     min-width: 500px !important;
    }
    

    I expect to be like a html page, where the WindowInnerWidth minimal, then can't drag the browser window. But when i preview I don't know why that doesn't work.

    UPDATE: I think I've solved it.

    This doesn't work on Preview Pop Windows.

    But I preview through the browser tab page and this can works.

  • I see this discussion:

    construct.net/en/forum/construct-3/how-do-i-8/wait-inside-forrepeat-loop-157049

    So I gave it a try:

    output:

    Text: 0 0 0 0 0 0 ···· 0

    I found a problem. Why doesn't the value of loopIndex change

    I expected was:

    Text: 1 2 3 4 5 6 ···· 10

    Of course, I can set a variable and add it to the loop.

    I just curious, why doesn't the value of loopIndex change.

    Tagged:

  • I suggest you use a dictionary instead of variables. With dictionary you can address each key by name, for example "Key"&number, loop through all keys, delete/add etc. It gives you a lot more flexibility.

    Thanks! Then I tried using a dictionary to store my variables. It works well!

  • It sounds strange, like a Russian doll, but it really needs this feature.

    E.g. I have several similar variables:

    variables 1 = 0 variables 2 = 0 variables 3 = 0 variables 4 = 0 .... variables N = 0

    They all have similar patterns, maybe the pattern behind is not exactly a number or a certain word combination.

    If use the event to modify the variables like make all variables +1 or -1, it seems that there is no way to pass parameters through a Function. I have to Set Value one by one. There are as many variables as I need to operate.

DAMAJIANG's avatar

DAMAJIANG

Member since 30 May, 2019

Twitter
DAMAJIANG has 1 followers

Trophy Case

  • 5-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies