LWJGL Forum
Programming => General Java Game Development => Topic started by: ScottDC on April 17, 2005, 10:38:01
-
I've started development on a 2d tile game, and have all the tiles in one large image - from Tile Studio.
How do I extract each tile from the image?
I'm using and modifying some of classes from Space Invaders, mainly Texture and Sprite
Thanks
-
Either you can use glTexSubImage or you simple use glTexCoord2f and glVertex2i in the appropriate way.
WiESi