How to delete a CCNode in sprite builder through Xcode

248 Views Asked by At

i am making an angry birds game. At the moment i have 3 birds to the side of the screen. Each time i fire a bird i want to delete one of the animations. How do can I delete a CCNode in sprite builder through Xcode?

1

There are 1 best solutions below

0
Ninwinz On BEST ANSWER

If you have code connections to the bird animations, you can simply remove them from the scene when a bird is launched. If self is the scene the animations are in:

[self removeChild:birdAnimation];