buttons and menu items in cocos2d/objective-c
        Posted  
        
            by peter61
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by peter61
        
        
        
        Published on 2010-05-22T18:57:28Z
        Indexed on 
            2010/05/22
            19:00 UTC
        
        
        Read the original article
        Hit count: 195
        
In my app, I'd like a method called whenever the user taps the screen (anywhere on the screen). Normally, I'd make a transparent UIButton that covers the whole screen.
If I'm using the cocos2d framework, what's the best way to do this? Is it good practice to still use UIButtons? I've been reading about MenuItems but haven't found an easy way to make one giant fully transparent menu item?
Thanks.
© Stack Overflow or respective owner