Tutorials

Anyone know of any tutorials for SDL. The examples are cool, but I am looking for more of a tutorial that starts you from the beginning, and shows you how the palette works, the graphics works, etc. etc.

Eventually making something cool. If anyone knows of any tutorials let me know.

Thanks.

See ya.

Palletes are a basic graphics concept, its doesn’t just have to do with SDL.
You can find information about that all over the web along with lots of other
graphics concepts too.

-Garrett, WPI student majoring in Computer Science.

“He who joyfully marches in rank and file has already earned
my contempt. He has been given a large brain by mistake, since
for him the spinal cord would suffice.” -Albert EinsteinOn Fri, 09 Jul 1999, you wrote:

%_Anyone know of any tutorials for SDL. The examples are cool, but I am looking for more of a tutorial that starts you from the beginning, and shows you how the palette works, the graphics works, etc. etc.

Eventually making something cool. If anyone knows of any tutorials let me know.

Ryan Wahle wrote:

Anyone know of any tutorials for SDL. The examples are cool, but I am
looking for more of a tutorial that starts you from the beginning, and
shows you how the palette works, the graphics works, etc. etc.
Eventually making something cool. If anyone knows of any tutorials let
me know.

http://SparkGL.netpedia.net

Look at the bottom of the page there are some links to the basics of
graphics theory, palettized video modes, packed pixel etc, and some stuff
on surfaces etc…

Paul Lowe
spazz@ulink.net

Right, in order to make SDL even easier to understand, I’m planning a few
tutorials to accompany the new API docs. If anyone has any suggestions or
ideas for what they’d like to see covered then please mail me. Now, I’m
not interested in doing tutorials on purely games related issues, such as
collision detection, tile-based scrolling or how to write a RPG(which
everyone seems to be doing). The topics I have so far are:

Blitting Basics
Pixel Formats
Pixel Level Access
Reading the Mouse
Reading the Keyboard
Reading the Joystick
Playing Sounds
(Plus some stuff about threads that I can’t face atm)

Martin–
Bother! said Pooh, as the Borg pumped bio-chips into him.

Hi,
I’d like to see a tutorial about using SDL with openGL (not on openGL,
just the parts of SDL you have to deal with), and using SDL_image to load
textures. I think the tutorials are a really good idea.

Thanks Martin,

Andrew.On Thu, 24 Aug 2000, Martin Donlon wrote:

Right, in order to make SDL even easier to understand, I’m planning a few
tutorials to accompany the new API docs. If anyone has any suggestions or
ideas for what they’d like to see covered then please mail me. Now, I’m
not interested in doing tutorials on purely games related issues, such as
collision detection, tile-based scrolling or how to write a RPG(which
everyone seems to be doing). The topics I have so far are:

Blitting Basics
Pixel Formats
Pixel Level Access
Reading the Mouse
Reading the Keyboard
Reading the Joystick
Playing Sounds
(Plus some stuff about threads that I can’t face atm)

Martin

Bother! said Pooh, as the Borg pumped bio-chips into him.

I began with some parts in french on the www.progworld.fr.st

But i didn’t do it yet for SDL_Image, SDL_Mixer and others stuffs like
that… but soon I will do that !

But in french so …++
Lawouach

“Andrew Ford” a ?crit dans le message news:
Pine.OSF.3.96.1000824061021.1113A-100000 at daisy.uwaterloo.ca

Hi,
I’d like to see a tutorial about using SDL with openGL (not on openGL,
just the parts of SDL you have to deal with), and using SDL_image to load
textures. I think the tutorials are a really good idea.

Thanks Martin,

Andrew.

On Thu, 24 Aug 2000, Martin Donlon wrote:

Right, in order to make SDL even easier to understand, I’m planning a
few

tutorials to accompany the new API docs. If anyone has any suggestions
or

ideas for what they’d like to see covered then please mail me. Now, I’m
not interested in doing tutorials on purely games related issues, such
as

collision detection, tile-based scrolling or how to write a RPG(which
everyone seems to be doing). The topics I have so far are:

Blitting Basics
Pixel Formats
Pixel Level Access
Reading the Mouse
Reading the Keyboard
Reading the Joystick
Playing Sounds
(Plus some stuff about threads that I can’t face atm)

Martin

Bother! said Pooh, as the Borg pumped bio-chips into him.

Until someone writes a tutorial, check out
http://www.ards.net/Andreas/sdl_textures.html

Btw. This code will break once SDL starts using normal Alpha again.
But the fix is easy, just remove the ‘255 -’ then.

  • AndreasOn Thu, Aug 24, 2000 at 06:13:31AM -0400, Andrew Ford wrote:

Hi,
I’d like to see a tutorial about using SDL with openGL (not on openGL,
just the parts of SDL you have to deal with), and using SDL_image to load
textures. I think the tutorials are a really good idea.

Hello,

I would particularly like to see a good tutorial regarding SDL and sound

E

Martin Donlon wrote in message
news:Pine.LNX.4.10.10008241021450.25212-100000 at skynet.csn.ul.ie…> Right, in order to make SDL even easier to understand, I’m planning a few

tutorials to accompany the new API docs. If anyone has any suggestions or
ideas for what they’d like to see covered then please mail me. Now, I’m
not interested in doing tutorials on purely games related issues, such as
collision detection, tile-based scrolling or how to write a RPG(which
everyone seems to be doing). The topics I have so far are:

Blitting Basics
Pixel Formats
Pixel Level Access
Reading the Mouse
Reading the Keyboard
Reading the Joystick
Playing Sounds
(Plus some stuff about threads that I can’t face atm)

Martin

Bother! said Pooh, as the Borg pumped bio-chips into him.

Btw. This code will break once SDL starts using normal Alpha again.
But the fix is easy, just remove the ‘255 -’ then.

to prepare for the future, use

#ifndef SDL_ALPHA_OPAQUE
#define SDL_ALPHA_OPAQUE 0
#define SDL_ALPHA_TRANSPARENT 255
#endif

and use SDL_ALPHA_OPAQUE, SDL_ALPHA_TRANSPARENT to determine the alpha sense

What about a set of ‘extra’ tutorials on using the additional SDL libraries
like Mixer and Image? Just something small explaining their general purpose
and use.>Right, in order to make SDL even easier to understand, I’m planning a few

tutorials to accompany the new API docs. If anyone has any suggestions or
ideas for what they’d like to see covered then please mail me. Now, I’m
not interested in doing tutorials on purely games related issues, such as
collision detection, tile-based scrolling or how to write a RPG(which
everyone seems to be doing). The topics I have so far are:


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

What about a set of ‘extra’ tutorials on using the additional SDL libraries
like Mixer and Image? Just something small explaining their general purpose
and use.

I talk a little about using SDL_Mixer in a simple SDL talk I’ve done
at a Linux Users’ Group, a game design club, and in a Linux class. :slight_smile:

http://www.lugod.org/presentations/

Click “sdl-talk-1” and “sdl-talk-2” links.

Enjoy!

-bill!

Sam : Anybody want to write a set of tutorials for the SDL documentation
project?

I am working on such a project, but for once it is a french project and it
will be in french !

Unfortunately I haven’t got so much time so it grows up slowly. Anyway you
can find a begining here : www.programmationworld.com

Not many examples but it will come before the end of the year !

Lot’s of courses are based on those made by Stephane Peter, but I didn’t
copy them, anyway if Stephane wants me to change something or whatever else,
i would be glad to do it !

Bye
Lawouach