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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -