hello,
you touch a sprite and an action begins
you have 2 sprites, each giving an action different
if when you touch one, it is over the other one
which one is going to answer ???
thank you
A fast, easy to use, free, and community supported 2D game engine
hello,
you touch a sprite and an action begins
you have 2 sprites, each giving an action different
if when you touch one, it is over the other one
which one is going to answer ???
thank you
It depends on how you implement touches. If you use the CCTouchDispatcher with a CCTargetedTouchDelegate set to swallow touches, then which ever sprite was added last or has the higher touch delegate priority, will be the only one to receive the touch.
You must log in to post.