Jump to content
  • Advertisement
Sign in to follow this  
shadowmark

Graphics Library

This topic is 4846 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 heard some things of graphics librarys like SDL and allegro, and i was wondering what are Graphic Librarys? Do they allow you to create moving acting graphics or is it just a list of graphics? and is it free to get? I'm verry new at this lol.

Share this post


Link to post
Share on other sites
Advertisement
Well I know that in the case of allegro the graphics library is the C lib that allows you to draw sprites to the screen and many other things. (But mainly blitting things to the screen easily).
Just google allegro lib and you'll find it.

Share this post


Link to post
Share on other sites
Let's go a bit more in depth on your original question.

A "graphics library" such as Allegro or SDL (or a "game library"), is an extension to a specific programming language. These two libraries are both extensions to the C or C++ programming languages. They are written in C, and provide functions that you can call from C or C++ to do things that you can't do as a basic part of the language.

The graphics sections of the Allegro and SDL libraries are useful to game programming in that they allow you to load graphics from files on the hard drive, or create new graphics in memory, and show them just about any way you like on the screen. They don't provide you with graphics to use; you have to create your own or get them somewhere else. But they do provide you with fast and (relatively) easy ways of displaying graphics as a game. (Both of these libraries also provide you with ways of handling input from keyboard and joystick, timing, sound, and other things.)

Both libraries are free for you to download and use as you like.

Share this post


Link to post
Share on other sites
Here are links to the respective websites of SDL and Allegro. They are both free to download but I personally recommend SDL since it supports multithreading to support the new multicore processors.

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!