Skip to main content
gamedev.net
🔒 Locked

How do you use SDL?

Started by Xamusel Jun 16, 2007 at 4:57 PM 8 replies 1.5k views
Original Post
Xamusel
Xamusel
I happen to have a copy of Python, PyGame, and SDL for going to make a game with the three... only I have a few problems. 1. I don't have my computer at home, I'm using the town library's computer (one of them, anyway). 2. I have yet to learn Python. 3. I ABSOLUTELY (correct me for misspelling if wrong) don't know how to use libraries like SDL in the FIRST place!! Now that the three problems are out of the way for mentioning, I would like a way to use SDL for 2D games, and then would like to learn how to use OpenGL after that. Thanks for your time for this. See you when I can!!
Most likely the n00biest programmer out there. I need a website soon so that I can share my projects with you (when done with my projects).
esrix
esrix
Uh, read the tutorials, maybe? Not being mean, but there are several tutorials online at the PyGame website and even the Cone3d tutorials (those use C++, though) on using SDL. Google can be your best friend. Does the library charge for printing? If not, print out the tutorials and study them at home. And you should post on the boards when you encounter a concept you don't understand.
itsdbest
itsdbest
I can second those tutorials... after having just created my first game in C++ with SDL...

Use those tuts to get u up and running.
coding penguin
coding penguin
personally i have grown on cone3d tuts, it was fun because you are actually making games in these tutorials, but lazyfoo tuts are also great ;)
samuraicrow
samuraicrow
In order to learn Python, there is a freely downloadable textbook at Green Tea Press. If you scroll down the window, you can download the PDF version and print it wherever possible. It will teach you the basics of Python finishing with a text-based version of Old Maid.

The reason I recommend this book even though there are others more up-to-date is that there is a C++ version and Java version of the same book so you can learn all 3 languages fairly easily with them.
speewave2012
speewave2012
Quote:
Original post by Jaiminho
No Cone3d for ya. This is the ultimate beginner's SDL tutorial: Lazy Foo's Productions.


These helped me setup SDL on my Windows and Linux PC's Recommended for beginners
he does'nt cover Python in SDL but if you use C++ this is good. i think he has something with OpenGL

google a fewthings:

PyGame Examples
Python Examples

oh and this should help you a lot:

google:

DELL XP PC's
DELL N SERIES (if you want an ubuntu PC)

=Dell Has good prices for XP Computers.. dont bother with vista. i heard if you use MinGW (GCC on Windows) it causes problems not sure with Python

The N Series are PC's with Non-Windows OS's so far you can get FreeDOS or Ubuntu Linux) =

Hope it helps you oh and aw

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.