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;
Develop games in your browser. Powerful, performant & highly capable.
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
Math.atan2()
Math.hypot()
angleOfMotion
Set or get the current angle of movement in radians.
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/behavior-interfaces/bullet
szabesz hello, can i contact you somehow?
Member since 23 Nov, 2021