0

I have added some sprites to a page and I am adding new sprites to the same page removing all previous sprites based on the touch action. After every touch it needs to be refreshed. So, how to do this refreshing task? TIA...

Manjunath
  • 2,063
  • 2
  • 29
  • 60
  • I got this... It's very simple, I just removed all sprites using removeAllChildren(true) and reloaded the page using CCDirector.sharedDirector().runWithScene(scene). Now, it's working fine.... – Manjunath Apr 16 '12 at 05:47

1 Answers1

0

I just removed all sprites using removeAllChildren(true) and reloaded the page using CCDirector.sharedDirector().runWithScene(scene). Now, it's working fine

Manjunath
  • 2,063
  • 2
  • 29
  • 60