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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

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

c++ - Convert big endian to little endian when reading from a binary file -