Index of /~eslaughter/darcs/blackthorn-0.2

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[DIR]_darcs/2009-11-25 23:48 -  
[DIR]disp/2009-11-25 06:54 -  
[DIR]macosx/2009-11-25 06:54 -  
[DIR]src/2009-11-25 06:54 -  
[DIR]unix/2009-11-25 06:54 -  
[DIR]windows/2009-11-25 06:54 -  
[   ]COPYRIGHT2009-11-25 06:54 1.3K 
[   ]load.lisp2009-11-25 06:54 1.6K 
[   ]test.lisp2009-11-25 06:54 1.8K 
[   ]property.lisp2009-11-25 06:54 1.8K 
[   ]bunnyslayer.asd2009-11-25 06:54 2.0K 
[   ]blackthorn-test.asd2009-11-25 06:54 2.1K 
[   ]blackthorn-stress-test.asd2009-11-25 06:54 2.1K 
[   ]profile.lisp2009-11-25 06:54 2.2K 
[   ]atdoc.lisp2009-11-25 06:54 2.4K 
[   ]blackthorn.asd2009-11-25 06:54 2.6K 
[   ]dist.lisp2009-11-25 06:54 5.2K 
[   ]Makefile2009-11-25 06:54 7.6K 
[TXT]README.tex2009-11-25 06:54 7.6K 
[TXT]README.html2009-11-25 06:54 11K 
[   ]README.pdf2009-11-25 06:54 68K 

Blackthorn: Lisp Game Engine

Blackthorn: Lisp Game Engine

Elliott Slaughter

Contents

1  What is Blackthorn?

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.

2  Why another game engine?

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:

3  What does Blackthorn provide?

Blackthorn attempts to fix many of the problems above. Blackthorn provides:

4  Technical details

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:

 WindowsLinuxMac OS X
Allegro CLYes????
CLISPYesYesYes
Clozure CLYesYesNo
SBCLYesYesYes

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).

4.1  Direct dependencies

4.2  Windows only (optional)

5  Installation

Download the source using darcs

darcs get http://common-lisp.net/~eslaughter/darcs/blackthorn

To start Blackthorn from the shell, merely call make

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

(load "load")

6  Download

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.