Would it make a difference on performance creating a button using CCSprite and handling touch detection or just using CCMenu objects?
Creating buttons which one is faster?
(3 posts) (3 voices)-
Posted 1 year ago #
-
CCSprite is not a CCLayer so doesn't get touch events.
Posted 1 year ago # -
Depends on how many "buttons". If you want to capture touch events on many or moving sprites then use touch handler.
Posted 1 year ago #
Reply
You must log in to post.