iphone - resetting to initial value -


can please tell me how reset multiplexlayer scene in cocos2d want position, score , time reset intial value. can please tell me how

you can remove , add scene or layer again.

if take @ examples comes cocos2d distribution, can see scenes or layers removed , replaced.

but achieve have keep "volatile" variables inside layer definition, so, when re add again, values starting ones.

cheers,
vfn


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -