I have a cclayer class with invisible button that is the size of the iphone 320x480 screen.
I've set it to have the visible property so that when the user taps on any part of the screen, it'll set itself to invisible and set the rest of my ccmenuitems to be visible.
I noticed that when the transparentbutton is 'visible' my fps drops to 30. When it toggles to be invisible and brings up the other 'visible' ccmenuitems, my fps goes back to 60fps.
Why does my app do this when there is a full screen transparent button and how do i work around this to maintain 60 fps?