chunchun's Recent Forum Activity

  • The browser is currently restricted in it's ability to open external editors for files, although the experimental local folder projects might work around.

    I generally advise that you basically just have function calls in event sheet scripts, then have the actual functions in script files. Makes it easier to work with.

    The text editor we use does have an automatic indentation option, but it's currently turned off as it incorrectly indents curly braces if you follow the brace on newline style. We could make this configurable, but it would likely be off by default.

    I don't know if you've noticed gdevelop built-in JS script editor in the timesheet. I think it's great. Although the experience of gdevelop is not as good as that of C3, I think its built-in script editor can be used for reference.

  • Or improve the function of the IDE. The JS block in the event table cannot be shrunk normally and lacks automatic indentation.

  • You can try adding Persist behavior to all objects on the layout.

    Or you can save everything in an array when leaving layout, and restore all object from the array when entering it again.

    Thank you for your answer!

  • Room means Layouts.

  • When I have multiple rooms. I switched from room a to room b. And switch from room b to room a. How to ensure that ab two rooms will not change and reset each time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have the same problem. I can't solve it.

  • I hope to add more api to js. I want to be able to do more in js instead of event tables.

  • I'm also eager to get this object bar back. It's so convenient.

  • How to read or store variables in JS? I use localstorage, but I have a lot of variables. Moreover, there are Boolean variables, which are very inconvenient to use. Localstorage can only retrieve strings, and numbers are relatively convenient, but it is very troublesome to read a large number of variables and Boolean types.

  • The built-in savegame feature does not cover any of your own JavaScript variables. You'll need to save them separately.

    How can I save orload them!

  • localVars.func

    See Accessing local variables

    thank you!!!!

  • How can I save and read them !!!!!!

chunchun's avatar

chunchun

Member since 20 Jun, 2019

Twitter
chunchun has 1 followers

Trophy Case

  • 5-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies