TENSHIYI's Recent Forum Activity

  • This error occurs the first time you start the C3 engine, and it recognizes the format as an error.

    The solution for now is to delete all the scripts and run the game. And then restore all the scripts. Everything’s back to normal.

    I know that this is not an error and that using this format during development will not cause an error. But every time the first one starts the engine and the game, it prompts for an error

  • 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。

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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!

TENSHIYI's avatar

TENSHIYI

Member since 30 May, 2019

Twitter
TENSHIYI has 2 followers

Trophy Case

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

Progress

9/44
How to earn trophies