You don't need to call it by name in that way (also not sure if possible). You would do on start of layout, set a local variable to choose(1,2,3,4) and then sub events : if var=1, call func1, if var=2, call func2 etc
You do not have permission to view this post
You save tilemap tile layout in a json format, then load it again later.
That looks fine to me
Develop games in your browser. Powerful, performant & highly capable.
'On start of layout' checks the connection status once on start of layout. Are you returning to the start of layout after severing the connection? If not, then the variable won't change. You can also use 'went offline' to check this but you need to be checking it constantly not 'on start of layout'. You're talking about a connection drop during gameplay right?
Do you mean your variable won't change instantly? Because it won't if you've set it to check that 'on start of layout'.
if you are this new I would take a look at the manual and start to create examples yourself. health can be a global variable and you set the width of a sprite to suit.
To create an instance you can hold down ctrl, click on the object and then kind of drag away with the mouse and it creates one. Or you can do copy and paste, that works too. ctrl+c, ctrl+v then click.
correct
Member since 5 Aug, 2013