Ok, so i've been working on a platformer for some time now and i have decided that dying on a level may be a little difficult, so i've decided to make my own little save button, and i was wondering if there was any way to save my exact x and y position on the level or if i can only save the details of my progress (score, and level, etc..)
This is in AS2 and here is my script, (thanks to the help of AS: Main =3
on (release){
savefile.data.health=_root.health;
savefile.data.egg=_root.egg;
savefile.flush();
}
egg is how many easter eggs you have collected if you were wondering.