views:

55

answers:

0

i am new to iPhone and cocos2d in general, i m reading tutorials and tried to come up with application that contains a menu i m using cocos2d menu items

the problem is that i found while testing my applications that the buttons respond to clicks on some area around the button (not only the button sprite rectangle boundary), and while using multiple buttons (10 menu items) blew each other (not overlapping) : when i click on one of them another button is pressed (the "is-pressed" sprite is used) and the handler is called (the handler of the button that i did not press)

and while i was testing animation on menu (i used "move by" on the menu) i noticed that some buttons (almost all on them in most cases) do not respond to touch after move by (when click the "is-pressed" sprite is not used and handle is not called ----> not click on the button happens).

i tried to test on the iPhone to check if it was a simulator error , but it had the same behavior as the simulator with the same problem.

i tried to place the menu on a separate layer and also tried to place each button in a separate menu and placed all the menus on the same page : and got the same results

i think i m using the latest version on cocos2d for iPhone