Hey,
I'm trying to make a simple button like this :
CCMenuItemImage * play = [CCMenuItemImage itemFromNormalImage:@"play_button.png" selectedImage:@"play_button.png" target:self selector:@selector(play)];
But when I run the app it just crashes..
What's wrong here? it doesn't do me any troubles in 0.99rc or previous.
This it the crash reason from the log:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSInvocation setArgument:atIndex:]: index (2) out of bounds [-1, 1]'