The persist behaviour itself saves the sprite's status when you go between layouts, that's what it is for. If you want to save the sprite after you close the game and load it again then you use system save/load.
Not got time to check the file but in general terms you would say if ns greater than 40, set ns to 40.
What specific data are you trying to save?
Probably the sound is set to play on 'key is down' ? This keep running constantly, you can use 'On jump' from the platform behaviour to play the sound.
If you use 'system : save' this will save the game, and you can use 'system : load' action later to load it.
Yeah I didn't see anywhere you set the variable to true but with that event disabled it all works fine for some reason. Not really sure on what the deal is with that UI layout tbh but since the event is 'every tick' it has a change of going wrong without you noticing, to me it looks like it could get stuck in a loop going from UI back to the main layout, or it is going to the same layout continuously.
The cause is that condition XHas UI on Game Sheet. Looks like it is caught in a loop going between one layout and the UI layout or something.
Heya, by default it works with the arrow keys, but you can change these later on to WASD or something custom.
Gonna need more info than that, do you mean the bullets? Anything that disappears you have done with your own events.
Develop games in your browser. Powerful, performant & highly capable.
You do not have permission to view this post
Looks like the origin point is moving, you can set it to the middle of the image and apply to all frames of an animation in the image editor. Look at the image points and see their position for each individual frame, probably one is way off.
You could use a variable to determine when the menu is open, something like this :
On object clicked : set menuopen to 1, show menu.
On any click, mouse cursor is not over menu, and menuopen = 1 : set menuopen to 0, hide menu.
Member since 5 Aug, 2013