News
GigaSun Jet
Tutorials
C++
Projects
-Beginners
SDL Projects
-SPriG
-NFont
Other Projects
Contact
Outside
Projects
|
SDL Projects:
The Simple DirectMedia Layer
is a cross-platform wrapper for OS-specific hardware functions.
It
allows you to write portable code that can access video, audio, input,
and other devices in a simple and straight-forward way.
Bindings
in many languages exist, though SDL is mainly used in C and C++.
Here are some of my SDL projects that have gotten to a releasable state.
If you use one, send me an email about it (I'd like to know if this
stuff helps anyone).
Most of the stuff I make is free to use for any purpose
whatsoever, but check the license just in case.
In
general, GPL (GNU Public License) disallows commercial applications and
demands release of the source code while the LGPL (Lesser GPL) lets you
use the library to create any (even commercial) programs. The
TSL (Trust Software
License) allows any use, just requiring credit to the author when the
software is shared (modified or not).
SDL Examples:
| Name |
Description |
Dependencies |
Version Info |
License |
| Knight of the Cave Dragon | Take the role of a courageous knight who must save a village from an evil dragon. This original plot
line will take your through dark caves and into the lair of the
fire-breathing villain. This game was made for Ludum Dare 15:
"Caverns". By the way, it's my first game with sound! | SDL,
SDL_image,
SDL_ttf,
SDL_mixer,
Sprig | [Download] [LD Page] | TSL |
Slugs v Salt
|
This is my
Ludum Dare 14
entry for the Advancing Wall of Doom theme. You control a
hotshot
squad of slugs against hordes of salty foes. Use your water
guns
to melt the enemy lines. 'wasd', 'g' to fire, 'h' to jump for
player 1. Arrow keys, 'm' to jump, comma to fire for player 2.
|
SDL,
SDL_image,
SDL_ttf,
Sprig,
GRO_Gui |
See Slug page
|
TSL
|
| Frank the Dinosaur |
Here's
my first submission to the Ludum Dare game competition (actually,
MiniLD). It's a simple game, but there's enough content to
make
it worth a look... And I can't tell you more or I'll spoil it! |
SDL,
SDL_image,
SDL_ttf,
Sprig |
2/9/09
[Download]
[LD
Page] |
TSL |
| Platformer Example |
This
is a complete example of how a game like Super Mario Bros. or Zelda II
might be written. It involves the basics: A
character under
the influence of gravity and flat platforms to jump on. Some
extras are thrown in, such as the many different accelerations that a
character might have (walking, moving in the air, braking, sliding).
If you've always wanted to make a game like this but you
don't
know where to start, then this is your chance! Go ahead and
get
creative! |
SDL,
Sprig |
10/8/08
[Download] |
TSL |
| SDL Starter Code |
A full setup for an SDL program with an event
loop. A few useful things are in there, like window settings
and mouse handling. |
SDL |
5/23/08
[Download] |
TSL |
SDL Libraries/Functions:
| Name |
Description |
Dependencies |
Version Info |
License |
| MixBox | A C++ wrapper and extender of SDL_mixer. It lets you easily add sound and music to your games. | SDL, SDL_mixer, STL vector | v0.2.0 9/27/09 [Download] [Quick Guide] | Boost | | StickyInput | StickyInput is a layer over SDL's joystick handling with several functions and classes. The
main class that it includes is an abstraction over keyboard and
joystick input to make them act the same way with the same interface.
It makes implementing joystick support in a game very clear and
easy. | SDL | v1.0 5/1/09 [Download] | TSL |
| ImageHandler |
ImageHandler is a C++ class that will
clean up your mess of image loading code. It loads, converts,
and
stores images so that you can
load your pictures on demand when you need to or preload them if you
want to, while never worrying about duplicates. Just use
load()
to get a picture, then done() to free it. This class supports
lists of images, too. |
SDL,
SDL_image,
STL map
STL list |
v0.5
7/12/08
[Source] |
TSL |
| SPriG |
SPriG is a graphics
primitive generator for SDL. It supplies a
quick and simple interface for the drawing of primitives (pixels,
lines, polygons), the rotation
and zooming of surfaces, and many useful surface functions.
It
also implements several alpha-blending modes and line thickness
controls. |
SDL |
See SPriG page |
LGPL |
| Jnet |
This is just a repackaging of Fast
Events, NET2,
and Beej's
packing functions, but it makes networking with SDL_net very easy.
All praise should go to those authors! |
SDL_net |
v0.1
4/19/08
[Source]
[Win32 binary]
|
LGPL |
| SDL_ColorDef |
Here
are a bunch of #defined colors for use with SDL. There are
over
200 in total! I even added the set of W3C HTML colors.
If
you have
any
colors you'd like to add, send their RGB values and a name to me. |
SDL |
v0.8
[Download]
[Color Viewer] |
None |
| NFont |
A complete and very
simple
to use C/C++ bitmap font struct/class with text-block alignment, full
newline support, fewer function arguments, font metrics,
extended ASCII support (i.e. international characters) and even color
spawning and animation (optional through NFontAnim). It's a
fully-featured replacement for SFont. |
SDL
|
See NFont page
|
TSL
|
|