[SDL] OpenGL tile based game question
atrix2 at cox.net
Tue Feb 22 10:24:35 PST 2005
I think the easiest would be #2 - changing the texture coordinates to rotate
PS this may be considered off topic for the SDL list since people dont
usualy talk about general game programming techniques here, more like they
talk about the SDL libs, problems they have with them, enhancements they
want made to them etc.
For discussions on OpenGL and game programming techniques you may want to
check out www.gameprogrammer.com and subscribe to that mailing list. Many
people from this list are also on that list as well (me included) so head on
----- Original Message -----
From: "Tobias Langner" <iso8859-1 at gmx.de>
To: <sdl at libsdl.org>
Sent: Tuesday, February 22, 2005 10:08 AM
Subject: [SDL] OpenGL tile based game question
> I want to write a tile based game using SDL/OpenGL. I want to realize
> each field/unit by a texturized quad.
> My question is this - which is the easiest to draw the field:
> - create a OpenGL texture for each of the 4 rotated views of each texture
> - rotate the texture during drawing (can I do that by changing the
> texture coordinates?)
> - rotate the quad?
> Thanks for your help.
> SDL mailing list
> SDL at libsdl.org
More information about the SDL