Jump to content
  • Advertisement
Sign in to follow this  
spree

2D Graphics

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

Hello, I"m programing with Visual C++ for windows OS. I want to be able to program with 2D graphics for windows. Using GDI with doulbe buffering is too slow for the games I program. Can you please advice me which way to go? like Direct2D? And can anyone explain to me whats SDL and if I can use 2D programing with it? Thanks :)

Share this post


Link to post
Share on other sites
Advertisement
Welll....

For strictly 2D things, i reccomend the SDL API. It is a 2D API, and it's very well documented and put together, plus not that hard to use. It also handles input, timing, threading, to a certain degree sound, and some other little useful things. SDL is what i have learned to do 2D games, and i would highly suggest you try it.

If you are planning on using/learning 3D eventually it is good also because an OpenGL window can be set up using SDL.

My 2.5 cents.

To find out more info on SDL, go to http://www.libsdl.org and start a-readin.

Share this post


Link to post
Share on other sites
Thanks for the pointers.
But can I use all the windows dialogs with SDL?
I do need some sort of API like buttons,windows and etc.,

Share this post


Link to post
Share on other sites
I'm a good c++ programeer. What I ment is that I program with win32 API.
What i wanted to know, if I can use the win32API with the SDL 2D graphics.
Do I need to create my own tools like buttons windows and etc using SDL?

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!