Official SDL Programming Resources and Discussion

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
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Official SDL Programming Resources and Discussion

Post by Falco Girgis »

Okay, first off, I'm sure JS Lemming has the most goods. PLEASE post links to some awesome SDL tutorials.

This is where the magic starts boys. Together in this topic, we'll learn it together.

Edit: This is mostly dead and mostly useless =); copied JSL's tutorial links to SDL Tutorials sticky and unstickied this. --Mar
Last edited by Falco Girgis on Thu Sep 23, 2004 8:53 pm, edited 1 time in total.
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Official SDL Programming Resources and Discussion

Post by JS Lemming »

There is a bad side to sdl. Its still quite new so there are very few tutorials on it. But I will do some searching and bring home some goodz.

Here are a few:

// Click on Lesson 1 to learn how to set up SDL with Dev C++
http://cone3d.gamedev.net/cgi-bin/index ... xsdl/index

// You can learn how to work with music and such here. But Fmod might be better?
http://kekkai.org/roger/sdl/

// This is a pretty cool effect made with SDL. Check it out.
http://www.libsdl.org/projects/bump/
Last edited by JS Lemming on Thu Sep 23, 2004 9:04 pm, edited 2 times in total.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

okay, thanks. Please check out NEStix chaotix in the PC dev forum.
User avatar
Don Pwnious
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 833
Joined: Tue Jun 15, 2004 5:32 pm
Location: on the streets wit my j23
Contact:

Post by Don Pwnious »

To Get a full SDL tutorial that is downloadable e-mail me for a request.
1/8th time- 14secs
1/8th speed - 110mph
User avatar
Ryu Hayabusa
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 39
Joined: Fri Dec 10, 2004 5:50 pm
Location: in the recesses of my intestines(hungry)
Contact:

Post by Ryu Hayabusa »

okey dokey i did that cone3d tutorial since it seemed like the easiest to start with but im getting linking errors out the ass... what shall i ever do?
oh yeah im using dev c++
If u cut off your left arm...
wouldnt your right arm be left?
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Did you link to the libs in the project options?
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Don Pwnious
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 833
Joined: Tue Jun 15, 2004 5:32 pm
Location: on the streets wit my j23
Contact:

Post by Don Pwnious »

Make sure you put it in the right folders!!
1/8th time- 14secs
1/8th speed - 110mph
User avatar
Ryu Hayabusa
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 39
Joined: Fri Dec 10, 2004 5:50 pm
Location: in the recesses of my intestines(hungry)
Contact:

Post by Ryu Hayabusa »

ok this is what the tutorial said..."Now in Dev-C++ start a new console project. Now go to the project options dialog (found in the menu Project). The thing we need to set here is the field that says "Further object files or linker options:". Type in "-lmingw32 -lSDLmain -lSDL" (w/o the quotes) inside it. Now click OK."

but my project options dont have "Further object files or linker options" where should i type in the above? and also i did put the files in the right folders so.... that shouldnt be the case...
If u cut off your left arm...
wouldnt your right arm be left?
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Ahh. I see you have the newer version of Dev-C++. Try going to "project options", then clicking the directories tab. From there you can type the include libs INDIVIDUALLY into the smaller box and "add" them in. See if that works.
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Ryu Hayabusa
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 39
Joined: Fri Dec 10, 2004 5:50 pm
Location: in the recesses of my intestines(hungry)
Contact:

Post by Ryu Hayabusa »

howd u know... it came in that crap for a book lol... do i type in that ex"-"
b4 the file or do i have to type in the whole frickin directory?
If u cut off your left arm...
wouldnt your right arm be left?
Post Reply