Jump to content
  • Advertisement
Sign in to follow this  
horizon981

Game Library?

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

With due respect to OpenGL fans( coz Im one of them!) , here's my question: What does a Game Programming Library like Allegro has to offer over a Graphics Library like OpenGL? I may be wrong here, but doesn't allegro use OpenGL for its rendering?

Share this post


Link to post
Share on other sites
Advertisement
At the very least, game libraries like Allegro will provide functions that make drawing easier. They also tend to have other functions that aren't related to graphics but make game development easier. Note, for example, this snippet from the unofficial Alternative Game Libraries FAQ:

Quote:
From the AGL FAQ
[Allegro] provides many functions for graphics, sounds, player input (keyboard, mouse and joystick) and timers. It also provides fixed and floating point mathematical functions, 3d functions, file management functions, compressed datafile and a GUI.


Also note that OpenGL or Direct3D can be used with Allegro, along with a host of other options as mentioned on the Allegro introduction page.

Share this post


Link to post
Share on other sites
Quote:
What does a Game Programming Library like Allegro has to offer over a Graphics Library like OpenGL?

OpenGL won't help you play music or read from the keyboard.

Quote:
I may be wrong here, but doesn't allegro use OpenGL for its rendering?

No, under Windows it uses DirectX. But AllegroGL does, as its name implies, use OpenGL for rendering.

The main thing that a library like Allegro gives you is a cross platform way to easily access hardware commonly needed in creating games.

Share this post


Link to post
Share on other sites
Allegro uses OpenGL (probably DX as well when compiled on a windows machine like SDL) for its rendering. This doesnt mean you can simply use OpenGL and have all functionality of Allegro!

Allegro offers much more than just graphics (like sound and input), and is also much easier to use. Have fun learning how to use OpenGL for your game while you can also use some game engine that will do the job 10 times faster!

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!