Hi,
I am looking for a way to place a click sound when the finger is touching the MenuItem (not leaving or going up).
However I cannot find a callback/selector for that action.
Any ideas?
Cheers!
Hi,
I am looking for a way to place a click sound when the finger is touching the MenuItem (not leaving or going up).
However I cannot find a callback/selector for that action.
Any ideas?
Cheers!
You can call “playEffect()” in the menu item callback function.
To play sound effect on item down, inherit the CCMenuItem and overload the ccTouchBegan() function.
Liu Huang wrote:
To play sound effect on item down, inherit the CCMenuItem and overload the ccTouchBegan() function.
Cheers Thought I had missed something