If you want to clear memory used by this sprite:
Sprite destroy Wait 0 System unload unused images from memory
If you need to keep the sprite, you can load 1x1 px image into it instead of destroying:
Sprite load image from URL: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
You need to do this for every frame, and then unload imaged.
sleepingpanda Thanks for the info.
Why haven't you removed your game? These scammers are profiting from it and not paying you any money..
I don't know. Did you hit save button 94 times?
Try disabling the undo system temporarily and test without it, maybe it's messing things up.
Thank you, Macbee. I built the apk with min SDK version 17, so you probably won't be able to install it on your phone.
If you want to check if a variable contains any state, you can do this:
If left(CurrentState, 6)="state_"
If you need to check states in a loop:
Repeat 10 times If CurrentState= "state_"&loopindex
It's probably not related, but why do you set IsUndoSave to true in event 124? Remove this action.
Press F12 and open browser console when fps drops and you have problems with saving, see if there are any errors in the console log. Or maybe you'll see that your game is saved many times per second..
Thanks, AllanR, but I need Android 4.2 device. I've already tested on several versions including Android 4.4 and it works. But it doesn't work in 4.2 emulator, so I wanted to test on a physical device.
It can be. But then your game will simply not start, so you don't have to worry about this :)
You are right.. I never noticed that other top-level events can "see" newly created instances.
Develop games in your browser. Powerful, performant & highly capable.
[del]
Text variable base64text Set base64text to Browser.ExecJS("btoa('some text to encode')")
Try changing Windows resolution and you might find that the snapshot file resolution also changes. My guess is that it will be 3840x2160 px only for some users (who happen to have the same screen resolution as yours).
Member since 26 May, 2016