Jump to content
  • Advertisement
Sign in to follow this  
Fukushuusha

Best and simplest 2D graphics library for a simulation?

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

Hey all, As the topic says I would like to ask you guys to propose what would the simplest to 2D graphics library to use be? I intend to use it in a simulation and want to generate 2D graphics with it. My language of choice is C++. I have SDL in mind. Any other choice I should try? Thanks in advance for any answer.

Share this post


Link to post
Share on other sites
Advertisement
Could you specify exactly what you mean by "generate 2D graphics"? SDL is good for blitting non-transparent rectangular images to the screen, but not so good at semi-transparent images, or non-rectangular images such as arbitrary polygons or other primitives.

Share this post


Link to post
Share on other sites
You might also want to try Allegro if SDL doesn't work out for you since it's another popular 2D graphics API.

Share this post


Link to post
Share on other sites
If by generate graphics you mean put down pixels, lines, circles, etc. then Allegro would probably be best.

However, if you don't mind being limited to Windows, I found HGE to be much more straightforward and flexible to use. It is also hardware accelerated but it's not designed for primitives (though it draws lines).

Share this post


Link to post
Share on other sites
Hi,

I think that, for simulations, you are going to need graphics primitives
wich are suitable and very flexible to solve a lot of needs you'll be facing
for the nature itself of a simulation!

That's why I'm suggesting to you to use OpenGL maybe with 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!