Blackthorn: Lisp Game Engine
Blackthorn is a framework for writing 2D games in Common Lisp. Blackthorn is attempt to write an efficient, dynamic, persistent 2D game engine in an expressive language which makes it easy to write games.
Games are hard to write. The effort needed to write a usable game engine from scratch, especially when dealing with the low-level details of languages like C, make the cost of writing games prohibitive. Libraries like SDL get many of the driver-level graphics details out of the way, but still leave the user writing in C. Libraries like PyGame and LISPBUILDER-SDL wrap more of these low-level details, but still don’t provide a full game engine needed for writing substantial games.
There are, of course, game engines which provide this functionality to the user. Game Maker, for example, is an engine which provides everything needed to make a basic game, and an extention language for writing more complex behavior. Using Game Maker, an experienced user can write a basic game in five minutes. However, Game Maker (and similar programs the authors have tried) have some substantial flaws. Problems with Game Maker, specifically, include:
Blackthorn attempts to fix many of the problems above. Blackthorn provides:
Blackthorn uses LISPBUILDER-SDL for graphics support (which internally uses SDL and SDL_image), and CL-STORE as an internal database for object persistence.
Blackthorn currently runs on Windows, Linux, and Mac OS X, under Allegro CL, CLISP, Clozure CL, and SBCL. Blackthorn has been tested successfully on the following OS/Lisp combinations:
|Windows||Linux||Mac OS X|
Among the compatible compilers, SBCL is suggested because it is (a) free and open source, (b) compatible with Windows, Linux and Mac, and (c) has the best performance of the compilers listed. Allegro CL is also a good choice, but is commercial software (although a free version is available).
Download the source using darcs
darcs get http://common-lisp.net/~eslaughter/darcs/blackthorn
To start Blackthorn from the shell, merely call make
Optionally, use parameters to specify the build environment, e.g.
make cl=sbcl db=nodb driver=load.lisp system=bunnyslayer
If instead you prefer to start Blackthorn interactively, start your Lisp and
Binary distributions are made semi-frequently and are available for download at http://elliottslaughter.net/bunnyslayer/download. License
Blackthorn is free and open source software, see the COPYRIGHT file for details.
This document was translated from LATEX by HEVEA.