Menu:
Main/News
About Me

Tutorials:
Grounds Up!
GFX with SDL
OpenGL
Math

Resources:
Links
Forum
Demos
Code Pile
Downloads
Image Gallery
Resist Banners

Misc:
The TalkBOX

Submit:
Submit News.
Submit Links
Submit Pic

Counter:



Hosted by
Gamedev.net
GFX with SDL

I've had some request for graphics tutorials with C/C++. So I started this tutorial series. We will be using SDL as the main GFX library here. I will assume that you have a good knowledege of C/C++. If you need to freshen up on the C/C++ part, try reading the Grounds Up! tutorials.

If you can't find something here, try searching the SDL website.
Lesson 1 Lesson 1: Getting started with SDL [PDF] [Korean]
This tutorial will get you started in using SDL for graphics in your programs/games. It also talks about how to use SDL with Dev-C++ and Microsoft Visual C++ 6.0
Lesson 2 Lesson 2: Loading and displaying images [PDF] [Korean]
This lesson will teach you to load and display bitmap (.bmp) images inside your SDL proggy.
Lesson 3 Lesson 3: Sprites [PDF]
This lesson is all about the things most used in 2D games - sprites. NOTE: Make sure you understand C++ classes and the previous SDL lessons before reading this
Lesson 4 Lesson 4: Bitmap Fonts [PDF]
This lesson covers a little technique you can use to draw bitmap fonts on to the screen or any other surface in SDL!

More fonts can be found here!
Lesson 5 Lesson 5: Clickomania [PDF]
In this lesson we will build a little game called Clickomania.
Lesson 6 Lesson 6: Space Shooter [PDF]
This lesson covers a scrolling background, simple collision detection, time based movement and sounds and music using the SDL_mixer library.

You can thank Devin Watson for the PDF versions of the tutorials.
  © Marius Andra 2001-2002