You do not have permission to view this post
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/object-interfaces/iworldinstance
const instance = runtime.objects.Sprite.getFirstInstance(); instance.isVisible = false;
You don't have to wait for a response to a feature request, you can already do it using JS.
https://www.dropbox.com/s/pbz3e5ihrbe6gyz/sorted_advanced.c3p?dl=1
Check out this template
Develop games in your browser. Powerful, performant & highly capable.
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/layout-interfaces/ilayout/ilayer
https://www.construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/behavior-interfaces/tile-movement
But this won't work in advanced minification. Global variable names will be obfuscated. To get around this - name your global variables with a 0 prefix.
construct.net/en/make-games/manuals/construct-3/scripting/guides/advanced-minification
const variable = `${localVars.Letter}TEST`; runtime.globalVars[variable] = 50;
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/object-interfaces/iinstance
const instance = runtime.objects.Sprite.createInstance(0, 0, 0); instance.addEventListener("destroy", e => console.log('destroy'));
This has already been implemented. But you need to open the project as a folder. When you edit a script, press F9 in Construct to reload the scripts.
I could help you figure it out. Do you have a Discord?
function is_touch_exist(runtime) { try { runtime.touch; return true; } catch { return false; } }
"On created" fires before the "On start of layout" event to create the instances present on the layout. This is necessary so that you can refer to them in the "On start of layout" event.
runtime.setReturnValue()
github.com/Scirra/Construct-3-bugs/issues/5083