I'm having trouble implementing a virtual D-pad in an EAGLView (OpenGL ES). I thought this would be simple but it is not. It is not so straightforward to determine whether a touch is on a certain portion of the D-Pad at any given time. Does anyone know of some good (relevant, please) resources online or could maybe post some source?
+1
A:
You can take a look at the iPhone Quake 3 port.
The relevant file is here.
One of the authors has a blog post describing that technique.
weichsel
2009-09-29 10:23:27
Cool, Thanks dude!
RexOnRoids
2009-10-01 13:10:23