2d sprites in open GL

Started by
8 comments, last by AAAP 18 years, 4 months ago
Does OpenGL have sprites for 2d rendering?
Advertisement
You can use a set of textures on a quad as a sprite, but I don't think OpenGL has any built in notion of sprites.
You can also use SDL for your sprites, 2D, audio, input, fish, ect. and OpenGL for your 3D stuff. If you just need sprites for your game, then OpenGL isn't really necessary, and you'll only need like SDL or any 2D engine/wrapper.
____________________________________Spazuh- Because I've had too much coffee
How about getting a pointer to the back buffer or something?
Yea, SDL looks interresting... =)
In OpenGL/SDL/other?
____________________________________Spazuh- Because I've had too much coffee
OpenGL
There are alot of good reasons for going with a 3d API, the #1 being speed on most cards. You get alot of things for free, such as alpha blending , rotation, transformations, etc. If you want a good, free wrapper for 2d over a 3d API, try clanlib.
Those look nice, Thanks
you can do, as they said, textured quads. its the same way they did 2D stuff on the sony playstation, and you can probably keep track of a lot more sprites on screen than direct draw, tho i dont know o_O.
|aaap.penopticon.com| My website, including game projects. Collaboration/comments are welcome, please visit :)

This topic is closed to new replies.

Advertisement