Author Topic: What's the best C++ 2D graphics Library?  (Read 14735 times)

0 Members and 1 Guest are viewing this topic.

Ashbad

  • Guest
What's the best C++ 2D graphics Library?
« on: February 03, 2011, 07:54:57 pm »
I'm thinking of allegro to go with Dev-C++, but is there anything better, though just as simple?  I mean, don't say OpenGL; I don't like having to write 20 lines of code to draw a sprite.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: What's the best C++ 2D graphics Library?
« Reply #1 on: February 03, 2011, 08:01:06 pm »
Dark GDK is an OK library if you want to try it. I haven't used it but I've looked at the code it doesn't seem that complicated. Seems to be pretty good also
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Ashbad

  • Guest
Re: What's the best C++ 2D graphics Library?
« Reply #2 on: February 03, 2011, 08:02:35 pm »
What I'm mostly going for is a library like Allegro that supports Sounds and Simple bitmaps and stuff, does Dark support this?

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: What's the best C++ 2D graphics Library?
« Reply #3 on: February 03, 2011, 08:04:00 pm »
I'm not completely sure let me shhow you a link to it. Wait just a second for me to find it please

EDIT: Here you go. It might be 3d though I'm not sure it is supposed to be able to make full out games http://www.thegamecreators.com/?m=view_product&id=2128
« Last Edit: February 03, 2011, 08:05:39 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Ashbad

  • Guest
Re: What's the best C++ 2D graphics Library?
« Reply #4 on: February 03, 2011, 08:15:31 pm »
Thanks :D

EDIT: this actually looks pretty cool... Thanks for mentioning it ;D
« Last Edit: February 03, 2011, 08:17:40 pm by Ashbad »

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: What's the best C++ 2D graphics Library?
« Reply #5 on: February 03, 2011, 08:17:26 pm »
Is that what you wanted I know almost nothing about it it was just a library I had seen downloaded and remembered one day. I've never used it.
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Ashbad

  • Guest
Re: What's the best C++ 2D graphics Library?
« Reply #6 on: February 03, 2011, 08:18:49 pm »
It looks actually pretty great.  I bet it's mostly 3D though, and since I'm *considering* making a 2D game to up my knowledge in C++ to where it was a while ago, I'll use allegro for this first game, but... this will definately be used to make my next game, probably in 3D :D

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: What's the best C++ 2D graphics Library?
« Reply #7 on: February 03, 2011, 08:24:06 pm »
Awesome I'm happy I could help. Just make sure all the features you are wanting to use are in the free version. It would really suck if they were in the pro version.
Can't wait to see your game what will it be about do you think
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Ashbad

  • Guest
Re: What's the best C++ 2D graphics Library?
« Reply #8 on: February 03, 2011, 08:26:01 pm »
More of an RPG, like Trio and Niko: Falling, except more advanced, closer to a real zelda game due to no restraints on mem :)  and speed is like 10 Million times faster too

And again, thanks a lot :D

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: What's the best C++ 2D graphics Library?
« Reply #9 on: February 03, 2011, 08:29:17 pm »
Willl you be starting a thread for your project? I'd like to help out where I can.
(which won't be many places because I know almost no C++ or C and a ot of python) I know I'll help with ideas :hyper:
« Last Edit: February 03, 2011, 08:29:25 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: What's the best C++ 2D graphics Library?
« Reply #10 on: February 04, 2011, 12:20:17 am »
A PC version of TanF or another RPG would be awesome. Maybe you could even port ROL3? ;D

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: What's the best C++ 2D graphics Library?
« Reply #11 on: February 05, 2011, 03:30:02 pm »
If you have the time to fool around with it, SFML is a pretty good one in my opinion. It doesn't have a extremely large user-base but for the most part it has a nice documentation and the community is rather welcome to questions you may have on it. Personally, I've never used Allegro or SDL so I can't tell you if one is better than the other or what the advantages of one over the other are. Although, coming from other opinions I've found on the web, it looks like the general flow of things based on performance is Allegro < SDL < SFML.

If you decide to try it out, yell at me on IRC or something if you run into problems and I'll help you out the best I can.

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: What's the best C++ 2D graphics Library?
« Reply #12 on: February 05, 2011, 04:41:21 pm »
I reccomend using c# and xna game studio.
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to  document it and extend |

~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: What's the best C++ 2D graphics Library?
« Reply #13 on: February 05, 2011, 11:15:39 pm »
Mhmm about XNA one cool thing is that you can make your games for the Xbox 360 in the process, reaching a larger audience. The only issue is that developing for the 360 is not free, unlike for the PC. Does XNA allows for Linux compatibility, by the way? (or at least modifying the source with another software to make it Linux compatible)

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: What's the best C++ 2D graphics Library?
« Reply #14 on: February 05, 2011, 11:28:18 pm »
Mhmm about XNA one cool thing is that you can make your games for the Xbox 360 in the process, reaching a larger audience. The only issue is that developing for the 360 is not free, unlike for the PC. Does XNA allows for Linux compatibility, by the way? (or at least modifying the source with another software to make it Linux compatible)

Through projects like MonoXNA, yes.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).