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?
insanity design NeHe lesson 07 port for Android
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement