logo Allegro Stuff

(home)

Here are some programs written with Allegro, a cross-platform games/graphics library. For more info on Allegro, there's an excellent site here.

Zero Core
Atlantis
Scrabster
Scripting
Tutorials
Terrain
A shooting game in space
Demo; save the failing systems of Atlantis
Stop him nicking your stuff. Its fun.
Demo on how to do scripting with LUA
Some info on load/save and frame rates
Generate height maps

...and some other things on Sourceforge:


Zero Core - a shooting game for DOS

(source)
Title screen

The rules of prospecting:


My best attempt so far at a game. If the graphics look like they were thrown together in a hurry with windows paintbrush, that's because they were, and if the sound effects sound like recordings of items I found on my desk, then maybe there's a logical explanation for that,too.

Scrabster's Sneaky Game

Screenshot

Prevent Scrabster and his henchpersons from helping themselves to your stuff, by blasting him off the screen. Irritated by your boss, colleagues, spouse, partner or relatives? Simply replace my Scrabster graphics with their mug shots, using the Allegro grabber, and gain instant satisfaction. Windows EXE and source included. Download

Atlantis Demo

screenshot

Not much here; it is the beginnings of a graphical adventure game. I realise there is lots of other stuff called Atlantis already, including computer games, so I'll change it when I'm ready. Also includes super Pete-style graphics (I must learn how to do them properly someday)

Terrain Generator

A small program to generate terrain maps by composing functions which have been subjected to affine transformations. Uses the allegro gui, virtual functions, STL, operator() and all that good stuff.
My entry in the pixelate competition.

Frame Rate Demo
A simple explanation of how to use timers in Allegro to set the frame rate for games. Use the link above; you can also download the archive containing the example DOS EXE's here (1MB)

Saving and Loading
A longer explanation of how to implement saving and loading game states.

Installing on Linux
A brief guide to get allegro users up and running on Linux.

Scripting

Screenshot
An article on how to use set up Scripting in your Allegro programs. Starts with a very simple home-made script and moves on to discuss the use of the Lua language. See the article here, or get the source-code, precompiled binaries for Linux, Windows and DOS. You can also download the source-code.



Contact us