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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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