Hello, I’m new to cocos2d and I’m trying to handle callbacks of “pressed” event.
That is, when I’ll press on a button, my callback will be invoked until I won’t release button.
I’m trying to implement subclass of
CCMenuItemImage and process
but this is not what I want. This functions called when I only select or unselect button once, not permanently.
How can I achieve this behavior?