Heard of SDL?

Discuss popular GCS tools like ZZT, Megazeux and Adventure Game Studio, as well as programming and other topics related to game design.
User avatar
CPT Worm
<font color=gold>American Hero</font>
<font color=gold>American Hero</font>
Posts: 1383
Joined: Tue May 25, 2004 12:04 pm
Location: Shiloh, IL
Contact:

Heard of SDL?

Post by CPT Worm »

I'm really digging this language. Just because it's pretty easy. Maybe I'll release something nifty to you guys on Sunday. ^_~

http://www.libsdl.org/index.php

SDL is Simple DirectMedia Layer. It can be compiled on many systems, including the big three (Windows, Mac OS, and Linux).

The tutorials here: http://lazyfooproductions.com/SDL_tutorials/index.php seem to be very focused on a step-by-step approach, ultimately to game creation.

Right now, I've been able to load images from a sprite sheet, print text, and run a simple timer. It's a bit more tricky, because the Mac versions require a bit more prodding, but it works great.

I know some of you were interested in game creation, so I'd highly recommend this for a starting language. =)
Sustinendum Victoriam!
User avatar
Larry Laffer
Admin
Admin
Posts: 4143
Joined: Sun Feb 19, 2006 8:06 am
Location: Romania

Post by Larry Laffer »

Cool, looks nice and I'll think I'll throw a deeper look into it...
Too bad this ain't MY starting language :laugh:
<center>
abyss wrote:I don't even know if starcraft 1 was a windows or dos games.
</center>

ModBot™ - Faster than the speed of spam!(and always taking it to where it belongs!)
User avatar
CPT Worm
<font color=gold>American Hero</font>
<font color=gold>American Hero</font>
Posts: 1383
Joined: Tue May 25, 2004 12:04 pm
Location: Shiloh, IL
Contact:

Post by CPT Worm »

It's not mine either.

But being able to make command-line games isn't really that useful nowadays.
Sustinendum Victoriam!
User avatar
Larry Laffer
Admin
Admin
Posts: 4143
Joined: Sun Feb 19, 2006 8:06 am
Location: Romania

Post by Larry Laffer »

True... but we really shouldn't let them die you know... :(
<center>
abyss wrote:I don't even know if starcraft 1 was a windows or dos games.
</center>

ModBot™ - Faster than the speed of spam!(and always taking it to where it belongs!)
User avatar
CPT Worm
<font color=gold>American Hero</font>
<font color=gold>American Hero</font>
Posts: 1383
Joined: Tue May 25, 2004 12:04 pm
Location: Shiloh, IL
Contact:

Post by CPT Worm »

Only certain *nix things are done through the command line anymore. It's a dying language.

Especially, since you know, Windows doesn't even have full DOS anymore.
Sustinendum Victoriam!
tinman47
Lord of Gaming
Lord of Gaming
Posts: 230
Joined: Sat Feb 24, 2007 1:07 pm

Post by tinman47 »

SDL is Graphically-based,I love command-line games and programming languages,like Qbasic and FreeBASIC. DOS is going to die out someday I admit,but it isn't going to die out now.
User avatar
MiniMax
Expert
Expert
Posts: 149
Joined: Thu Jan 25, 2007 8:03 am
Location: Stockholm, Sweden

Post by MiniMax »

Mr. Worm wrote:Only certain *nix things are done through the command line anymore. It's a dying language.

Especially, since you know, Windows doesn't even have full DOS anymore.
I see... So scripting is dead? That certainly explains why Microsoft has recently released PowerShell ...
DOSBox ReadMe | DOSBox Wiki | DOSBox 60 seconds guide | How to ask questions
_________________
Shuttle SN41G2 | Athlon XP 2600+ | IGP@128 MB | NEC 3520A DVD | Win XP Home/SP2
User avatar
wardrich
"Some Troll"
Posts: 3944
Joined: Sat Sep 14, 2002 9:08 pm
Location: Ontario Canada

Post by wardrich »

Any linux user should know of SDL. lol. It's been around for some time.
User avatar
MiniMax
Expert
Expert
Posts: 149
Joined: Thu Jan 25, 2007 8:03 am
Location: Stockholm, Sweden

Post by MiniMax »

wardrich wrote:Any linux user should know of SDL.
Why?
DOSBox ReadMe | DOSBox Wiki | DOSBox 60 seconds guide | How to ask questions
_________________
Shuttle SN41G2 | Athlon XP 2600+ | IGP@128 MB | NEC 3520A DVD | Win XP Home/SP2
User avatar
wardrich
"Some Troll"
Posts: 3944
Joined: Sat Sep 14, 2002 9:08 pm
Location: Ontario Canada

Post by wardrich »

MiniMax wrote:
wardrich wrote:Any linux user should know of SDL.
Why?
A lot of games/apps are dependent on SDL
User avatar
wardrich
"Some Troll"
Posts: 3944
Joined: Sat Sep 14, 2002 9:08 pm
Location: Ontario Canada

Post by wardrich »

MiniMax wrote:
Mr. Worm wrote:Only certain *nix things are done through the command line anymore. It's a dying language.

Especially, since you know, Windows doesn't even have full DOS anymore.
I see... So scripting is dead? That certainly explains why Microsoft has recently released PowerShell ...
Is PowerShell only for Vista?
User avatar
MiniMax
Expert
Expert
Posts: 149
Joined: Thu Jan 25, 2007 8:03 am
Location: Stockholm, Sweden

Post by MiniMax »

No.
DOSBox ReadMe | DOSBox Wiki | DOSBox 60 seconds guide | How to ask questions
_________________
Shuttle SN41G2 | Athlon XP 2600+ | IGP@128 MB | NEC 3520A DVD | Win XP Home/SP2
User avatar
CPT Worm
<font color=gold>American Hero</font>
<font color=gold>American Hero</font>
Posts: 1383
Joined: Tue May 25, 2004 12:04 pm
Location: Shiloh, IL
Contact:

Post by CPT Worm »

Wow...this thread is old.
MiniMax wrote:
Mr. Worm wrote:Only certain *nix things are done through the command line anymore. It's a dying language.

Especially, since you know, Windows doesn't even have full DOS anymore.
I see... So scripting is dead? That certainly explains why Microsoft has recently released PowerShell ...
I said "dying," not "dead."
And it's essentially dead for gaming anyway.
Sustinendum Victoriam!
User avatar
wardrich
"Some Troll"
Posts: 3944
Joined: Sat Sep 14, 2002 9:08 pm
Location: Ontario Canada

Post by wardrich »

Scripting is still really handy for making CLI shortcuts, so I don't think it will ever die per se... but I agree with you in saying it's dead for gaming.
User avatar
MiniMax
Expert
Expert
Posts: 149
Joined: Thu Jan 25, 2007 8:03 am
Location: Stockholm, Sweden

Post by MiniMax »

wardrich wrote:
MiniMax wrote:
wardrich wrote:Any linux user should know of SDL.
Why?
A lot of games/apps are dependent on SDL
Shouldn't that only be a concern of the programmer, not the user?
DOSBox ReadMe | DOSBox Wiki | DOSBox 60 seconds guide | How to ask questions
_________________
Shuttle SN41G2 | Athlon XP 2600+ | IGP@128 MB | NEC 3520A DVD | Win XP Home/SP2
User avatar
abyss
Moloral Compass
Moloral Compass
Posts: 754
Joined: Mon Nov 06, 2006 6:13 pm

Post by abyss »

It's not dying. Dosbox uses SDL.
<i>Formerly known as Hulk Hogan.</i>
User avatar
dosraider
Admin
Admin
Posts: 9243
Joined: Tue Mar 15, 2005 2:06 pm
Location: ROTFLMAO in Belgium.

Post by dosraider »

Abyss, how many NEW games are released that run in dosbox?

So yes, SDL is dying, not dead yet, but definitively dying.
User avatar
abyss
Moloral Compass
Moloral Compass
Posts: 754
Joined: Mon Nov 06, 2006 6:13 pm

Post by abyss »

People are making new dos games that never go on the market.
<i>Formerly known as Hulk Hogan.</i>
User avatar
Larry Laffer
Admin
Admin
Posts: 4143
Joined: Sun Feb 19, 2006 8:06 am
Location: Romania

Post by Larry Laffer »

Precisely! :P

And why's that? because 9X% of the gaming sector no longer gives a crap about DOS games :laugh:
<center>
abyss wrote:I don't even know if starcraft 1 was a windows or dos games.
</center>

ModBot™ - Faster than the speed of spam!(and always taking it to where it belongs!)
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Post by tienkhoanguyen »

I personally like DOS because it is the only system that is fully compatible with Borland Turbo C 2.01 which is my favorite programming language. I am 40 years old and back in 1996 I learned two years of college programming. So the point is that it took me that long to understand what the heck I am doing enough to make my first game. Even though I do not get paid for it I am happy that I did something to give back to others. I am still learning about my favorite programming language after taking a break since then.
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
Post Reply