SDL or Allegro

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
calkiot
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 3
Joined: Mon Jul 19, 2010 9:12 pm

SDL or Allegro

Post by calkiot »

Hey every one. I'm new here, know the basics of C++ and is learning about game development. But what what library should i use. Simplicity helps, all I care about doing is making 2d rpg's. Screw the rest. So which one should i use? Allegro or SDL
And any helpfull tutorials concerning what I want to make will be greatly appreciated.
wearymemory
Chaos Rift Junior
Chaos Rift Junior
Posts: 209
Joined: Thu Feb 12, 2009 8:46 pm

Re: SDL or Allegro

Post by wearymemory »

calkiot wrote: But what what library should i use. Simplicity helps, all I care about doing is making 2d rpg's.
That doesn't rule out OpenGL, SFML, Direct3D, and many others. Some of these libraries are well known for their 3D capabilities, but they also support 2D computer graphics.
calkiot wrote: Screw the rest.
Don't do that! Increasing your knowledge of different API's increases your employability, and is beneficial to any aspiring programmer, so try to learn each of them as best you can, but use the one you're most comfortable with, or whichever one fits your project's needs best.
calkiot wrote: So which one should i use? Allegro or SDL
Many before you, have asked.

At this point, you're better off flipping a coin. Do some research, and make sure the one you're choosing is right for you.
Last edited by wearymemory on Mon Jul 19, 2010 9:44 pm, edited 1 time in total.
User avatar
isamgray
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 11
Joined: Mon Jul 19, 2010 11:24 am
Current Project: Boxy Engine
Favorite Gaming Platforms: Xbox360
Programming Language of Choice: C/++ and Objective-C
Location: Dallas, TX
Contact:

Re: SDL or Allegro

Post by isamgray »

calkiot wrote:Hey every one. I'm new here, know the basics of C++ and is learning about game development. But what what library should i use. Simplicity helps, all I care about doing is making 2d rpg's. Screw the rest. So which one should i use? Allegro or SDL
And any helpfull tutorials concerning what I want to make will be greatly appreciated.
I've used both, and I'm only going to be saying what I'm saying from my personal experiences and opinion.(I don't want to start a flame war by my first post on these forums. lol) I found SDL with OpenGL to be best, and easiest. Allegro seemed a bit...obtrusive, I guess is the best word, to me. I like how SDL gets out of the way and lets me do exactly what I want to do, and exactly how I want to do it.

Also, just a suggestion, but you should probably change your "screw the rest" mind set. That won't get you far, and definitely won't let you get things done very well.
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: SDL or Allegro

Post by dandymcgee »

Search bar, top right corner of the web page, it's a valuable tool. It seems as if someone new is asking this question every other day. There is a wealth of information on these very forums regarding this topic, let alone that information one might find spread across the internet. Search first, ask second. Abide by this one rule and you'll be all set.

Aside from the usual lecture, welcome to the forums! 8-)
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
calkiot
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 3
Joined: Mon Jul 19, 2010 9:12 pm

Re: SDL or Allegro

Post by calkiot »

oh, im sorry, when i said "screw the rest"
i was talking about different game types. I only want to make 2d rpgs right now. When I get more into it. Then ill go further, and thanks for the help. :)
User avatar
epicasian
Chaos Rift Junior
Chaos Rift Junior
Posts: 232
Joined: Mon Feb 22, 2010 10:32 pm
Current Project: Gigazilla Engine
Favorite Gaming Platforms: Dreamcast, SNES, PS2, PC
Programming Language of Choice: C/++
Location: WoFo, KY

Re: SDL or Allegro

Post by epicasian »

Not trying to be a douche, calkiot, but RPGs are the most difficult games to create. If you do decide to make your first game an RPG, split everything into sections, like EdBoon did, with his Zombie RPG called Jejunun.

Good luck,
~Asian
Tevex
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 1
Joined: Sun Jul 18, 2010 5:07 pm

Re: SDL or Allegro

Post by Tevex »

Hey calkiot, I'm new here too,

Your post reminded me of this useful blog post made by a well known indie developer who makes RPGs for a living.

http://rampantgames.com/blog/?p=696

He just helps people see what makes RPGs hard to make.
Certainly not suggesting not to do the, but to be aware, and why.

You could start off with some smaller well known games that have been made before, so you can focus on the technical side rather than the game design stuff.
A simpler game like Snake would be useful because a lot of what you do in it, like tile based levels/screens with walls, player input and displaying/animating game characters etc. Since the scope is small you can finish it, and you know when you're finished because you know Snake.

You could then take what you learn from doing snake and do a slightly more complex game, like Theseus and the Minotaur, which has aspects of an RPG, like simple AI and can have procedural generation or designed levels etc.
http://www.logicmazes.com/theseus.html

It can be quite demoralizing working on a really big project, and then failing because you're trying to learn too many different aspects at one time.

"Thomson's Rule for First-Time Telescope Makers: "It is faster to make a four-inch mirror then a six-inch mirror than to make a six-inch mirror." "
http://c2.com/cgi/wiki?TelescopeRule

Best of luck!
calkiot
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 3
Joined: Mon Jul 19, 2010 9:12 pm

Re: SDL or Allegro

Post by calkiot »

Best answer ive heard yet, even though not related to the subject. I guess i just didnt know what to ask. Thank you very much!
User avatar
WSPSNIPER
Chaos Rift Regular
Chaos Rift Regular
Posts: 145
Joined: Sun Jan 03, 2010 6:19 pm
Current Project: top down shooter
Favorite Gaming Platforms: ps3
Programming Language of Choice: c++

Re: SDL or Allegro

Post by WSPSNIPER »

Allegro < SDL < SFML

so im saying go SFML but i still love SDL but you would eventually need to learn opengl to do some optimizations because software rendering is not the fastest
Post Reply