Jump to content
  • Advertisement
Sign in to follow this  
Link66

Fastest 2D graphic-api?

This topic is 4705 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

I'm currently working on a 2D-game. And I'm using Open Gl as a graphic API and having some problems. So, I was wondering, except OpenGl, wich graphic library is the fastest, most compatible with PC's, when working with 2D and TGA-images? Suggestions, anyone? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
unless you are writing a cross-platform game - I'd suggest the ID3DXSprite interface, it is very fast and very easy to use - the only drawback that the sprite are transformed so they will not be affected by vertex- and pixelshaders. (i suppose post-effects will work though)

Share this post


Link to post
Share on other sites
SDL with SDLimage will do the trick. But you said you wanted the fastest. That brings up a few issues.

SDL's software blitting gets the job done. But is no match in speed to something like SDL with OpenGL, or the hacked SDLGL stuff.

OpenGL and Direct3D are fast, very fast. But now you are saying in order to play my game you MUST have a 3D accelerated graphics card. Depending on your game you may not want to limit your audience in such a way.


In Conclusion.
Software SDL should be fast *enough* and allow for a wider audience, and multiple platforms.
OpenGL/Direct3D will be insane fast, but it is limiting your user base.
Consider the type of game you are making.

Share this post


Link to post
Share on other sites
i make my little 2d games in win32 api. no additional fancy libs or whatever. i have no idea if it's any fast but it appears to work fine.

btw, have someone tried measuring the performance od win32?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I like the popcap framework. It's easy and harware accelerated if your users have the hardware and falls back to software rendering if not. Considering how many games popcap has put out it is about as stable a platform for 2D PC development as you are going to find.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!