Good library to use for 2d game development with c
#1 Members - Reputation: 196
Posted 30 October 2012 - 05:09 PM
#2 Members - Reputation: 808
Posted 30 October 2012 - 05:34 PM
Edited by RulerOfNothing, 30 October 2012 - 05:34 PM.
#5 Crossbones+ - Reputation: 1140
Posted 31 October 2012 - 06:31 AM
Did some searching, Cairo might also be a good candidate.
Do note however that Cairo is a Vector Graphics library, which makes it inefficient for bitmap based graphical processing (if that is what is wanted). Also, if used for game programming, you will need to use additional libraries for audio and input, or anything else that gaming libraries usually provide.
#6 Staff - Reputation: 8896
Posted 01 November 2012 - 02:03 AM
Allegro is also a really good library with a very helpful community, but outside of the official documentation I haven't seen as much in the way of tutorials and reference materials.
You can probably also find some good information in the RPi wiki.
Hope that's helpful!
- Jason Astle-Adams.
From my blog: 20 ways to advertise your game | What next? Intermediate to advanced C++
How to make games WITHOUT programming | 4 reasons you aren't a successful indie developer
#7 Crossbones+ - Reputation: 1140
Posted 01 November 2012 - 07:31 AM
Allegro is also a really good library with a very helpful community, but outside of the official documentation I haven't seen as much in the way of tutorials and reference materials.
There aren't quite as many, no, which is a shame. There are a few gems out there though. Unfortunately, most of the good ones I could think of were for Allegro 4, which is a bit outdated now. There was a thread start here on GDNet about an Allegro Tutorial series though, which looks promising: http://www.gamedev.net/topic/633675-great-tutorial-for-those-who-want-to-make-a-2d-game/
#8 Members - Reputation: 175
Posted 01 November 2012 - 12:14 PM
Unless you do something unusual you'll be working with a Linux distro on the Raspberry Pi. Someone shared some tips for getting SDL working here if it helps -- they're using C++, but the SDL parts are the same. Lazy Foo's tutorials should help with using SDL itself.
Allegro is also a really good library with a very helpful community, but outside of the official documentation I haven't seen as much in the way of tutorials and reference materials.
You can probably also find some good information in the RPi wiki.
Hope that's helpful!
You can find a great video tutorial on Allegro here.
http://www.osrebel.com <-- En Français
L'information libre et la joie d'apprendre
http://www.osrebel.com/english <-- English Version
Free information and the joy of learning
#9 Members - Reputation: 994
Posted 01 November 2012 - 12:24 PM
(Wow, I can remember using Allegro "1" back in its DJGPP days)Another suggestion is Allegro. It's similar to SDL, but gets updated more frequently and has a (IMO) more supportive community.
If you decide to use SDL, it's worth nothing SDL 2.0 gets updated almost daily if you get it from the repository.
#10 Members - Reputation: 175
Posted 01 November 2012 - 06:17 PM
(Wow, I can remember using Allegro "1" back in its DJGPP days)
Another suggestion is Allegro. It's similar to SDL, but gets updated more frequently and has a (IMO) more supportive community.
If you decide to use SDL, it's worth nothing SDL 2.0 gets updated almost daily if you get it from the repository.
Hey, I started with DJGPP too... and with RHIDE (Old Borland text GUI IDE clone) for an IDE
Those were the days...
http://www.osrebel.com <-- En Français
L'information libre et la joie d'apprendre
http://www.osrebel.com/english <-- English Version
Free information and the joy of learning






