Hi!
How create autosave?
No load and save button...automatic save position...
When restart game I continue with last position.
I have first (main menu) layout with Play button, and second layout is game...
Thanks!
Sry for English language...
Develop games in your browser. Powerful, performant & highly capable.
You didn't tell what's game you are making, i guess it's platform
Add a webstorage.
Create an invisible sprite like a helper could act like checkpoint, place checkpoint sprite on specified place should autosave.
Make an event collision between player and checkpoint sprite, add webstorage value to player position. Then add on start layout with condition webstorage exists, it could load the checkpoint on specified position.
Check this out and download .capx you need to modify it:
http://www.scirra.com/arcade/example/1460/save-load-engine-for-platform-games