Restart Button (Command R)

Hi,

I want a reload button in my game, to reload all images to the beginning settings jut like command R ( Restarting you simulator). Is it possible to have a button do that ? Do we really need to re position all the images to the beginning settings in one button or is there a short cut?

Thanks a lot :) help is appreciated.

if you are using director 1.3 then you can call director:changeScene("your scene") to restart level if 1.2 then call any other scene and after sort amount of delay again call your scene

Wow didn't know director 1.3 could do that. I use the 2nd method hgvyas123 mentions.

views:1406 update:2011/9/28 9:01:40
corona forums © 2003-2011