Hey guys, I'm at the part of my app where I need some sort of button and potentially small menus that need to move around the screen. (I've just realized the purpose of Menu as more of a centered whole screen menu that maybe exists on its own on the screen.) I figured some of you must have gone through this process before.
As far as I can tell there are two options:
1) UIKit for anything beyond Menu. This doesn't seem that bad, though I've heard of a performance hit when mixing UIKit and OpenGL. This would be very straightforward.
2) CocosNode subclasses. This is nice because it keeps everything in OpenGL, and would allow for some cool effects / integration with the rest of the graphics. The thing that has me lost is touch detection. Since a Layer is not meant to be moved and to have the size of the screen, there's a few options that I can see:
a) Subclass each widget as a Layer and let each widget do touch handling for itself only.
b) Have a ButtonsLayer that does touch handling for all buttons in the scene.
c) Have a GodLayer that does touch handling for at least all types of widgets if not all touch handling for the whole app in its running state.
Anyone have an opinion? Thanks!