I usually use CCMenuItemImage when I want to handle simple sprites:
Use the following method to create a menu item:
itemFromNormalImage:selectedImage:target:selector:
As you can see, you can pass the image of the menu item (for example, a sprite image), pass the target (usually the āIā that implements the action) and, of course, the method (selector) that is called when the menu item has been touched.
If you need more help with this, let me know ...
source share