There might be a possible bug with the CCMenuItemSprite, scaling, and how the touch delegate interacts with the CCMenuItemSprite object.
Steps to recreate:
1.) Create the unselected CCSprite using CCSprite::spriteWithSpriteFrameName(NameOfSprite); //This is a 200 by 200 image
2.) Set scale using
>setScale; //The image is scaled to a 40x40 image>setScale( ) //The selected image is scaled to 60x60
3.) Create the selected CCSprite using CCSprite::spriteWithSpriteFrameName; //This is the same 200 by 200 image used in step 1 loaded as another CCSprite
4.) Set the scale of the selected sprite using
5.) Create a CCMenuItemSprite using CCMenuItemSprite::itemFromNormalSprite(UnselectedSprite, SelectedSprite, Selector, Callback);
6.) Add CCMenuItemSprite to a CCMenu object
7.) Add CCMenu object to parent for displaying to screen
The image is scaled properly on the screen, but when the user clicks on the CCMenuItemSprite created in step 5, the button responds to touch inputs as if it were a 200x200 button instead of the scaled down version.