insanity design NeHe lesson 07 port for Android

Started by
-1 comments, last by jbandev 13 years, 3 months ago
I am having problems understanding touch events and screen coordinates.

I.E.
glTranslate.xpos.ypos.0.0f

xpos = event.getX()
ypos = event.getY()

draw.......

Touch event Move

Xpos = oldX


Can someone explain why this doesn't work.... if I set a ortho2d progection would my finger equal my sprite x and y coordinates?

This topic is closed to new replies.

Advertisement