Jump to content
  • Advertisement
Sign in to follow this  
CuddleBunniezzz12

which Library should I use?

This topic is 3496 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 work in C++ right now, currently, I'm still learning it and creating simple text line games. But soon enough, I want to create my own video game. I'm looking for a good library/engine. The two I have heard most about are Allegoro and DarkGDK. I might have a little more experience with DarkGDK because I've coded in DarkBasicPro before. Any helps is appreciated.

Share this post


Link to post
Share on other sites
Advertisement
DarkGDK is Windows-specific. Allegro is cross-platform and works with Linux and Mac also.

Another one that is written in C++ and that is cross-platform is SFML. It is mainly a 2d wrapper for OpenGL and OpenAL using the SOIL image loader. It's fast and fairly easy to use also.

Share this post


Link to post
Share on other sites
I'd recommend using SDL. It's cross-platform and very clean and easy to use.

I used to code for Windows specifically, and I have to say I greatly prefer not having to handle any windows APIs, since it distracts from the actual game with many function calls and data structures.

SDL is LGPL and is really community oriented, in that there are lots of open source projects released using it, which is something I greatly prefer. You can find all of that here: http://www.libsdl.org

And if you're already familiar with the basic concepts of game programming, here is a guide that helped me learn how to use SDL to solve common problems: http://www.lazyfoo.net/SDL_tutorials/

I suppose it all depends on your priorities as a developer. I just found SDL very intuitive and capable of doing what I need and I've been using it for some time. Personally, I wouldn't use DarkGDK because it seems to basically be Windows specific.

Good luck CuddleBunniezzz <3 [pig]

Share this post


Link to post
Share on other sites
I'm interested in creating 2D right now, 3D down the road, but not anytime soon (I personally think 2D can look better then 3D most of the time).

I might check into SDL because it's cross platform (I'm a Mac and Windows user, so I know what it's like to only have one thing work for one OS).

I'll also check a bit more into DarkGDK, unfortunately, there are basically no tutorials for it right now, except for the MSND webcast:
http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032394161&EventCategory=5&culture=en-US&CountryCode=US

O well, thanks anyways.

Share this post


Link to post
Share on other sites
I use SDL because it doesn't push anything on you like Allegro does, but you can easily find libraries that do just about anything from the SDL website: www.libsdl.org

Plus, SDL 1.3 is on the horizon... It's in SVN at the moment, as the API is still evolving, but it will mean a very simple way to use OpenGL or DirectX to accelerate your 2D (among many other features: Multiple windows, multiple mice, etc.).

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!