Jump to content
  • Advertisement
Sign in to follow this  
pulpfist

2d sprites in open GL

This topic is 4856 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!