2D Game Question

Problems with Canvas, OpenGL, etc...

2D Game Question

Postby tttcowan » Mon Oct 04, 2010 11:16 am


I'm producing a 3d game and am just getting my head around OpenGL ES. I've managed to get a texture on a square to apear on the screen but I'm wondering about dimensions... For example, how do I know where the edge of the screen is with relation to the positional co-ordinates of the square? Like if the squares left edge is -1 in the x axis, if I moved it left when will it hit the edge of the screen? -2, -3? Forgive my ignoarance as I'm new to working in a 3d space, it used to be simple as it was all done in pixels, now I'm in 3d working out where the edge of the screen is a pain...

Posts: 46
Joined: Mon Jul 19, 2010 11:08 pm


Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 1 guest