hkactivity
05-02-2009, 09:34 AM
Hey guys
basically I have a platform game and I am having a slight problem with getting the replay button to work. Whenever my character dies, a replay button will appear and I inserted the following code which works fine.
on (release) {
_root.gotoAndPlay(1);
but then say if I move further on into the platform game. When I press the replay button again then nothing will show up. I've read something about some quit to frame function or something along those line to avoid this problem but cannot find it. Anyone can help me?
basically I have a platform game and I am having a slight problem with getting the replay button to work. Whenever my character dies, a replay button will appear and I inserted the following code which works fine.
on (release) {
_root.gotoAndPlay(1);
but then say if I move further on into the platform game. When I press the replay button again then nothing will show up. I've read something about some quit to frame function or something along those line to avoid this problem but cannot find it. Anyone can help me?