Glaw

The goal of GLAW is to provide a collection of basic functionalities to help developping games.

Basic ideas are:

Quickstart

Using Quicklisp

You can get glaw directly from quicklisp by just doing:

(ql:quickload "glaw")

This may not be the latest git version depending on when I pushed changes.

If you want the latest git version first clone this repository:

git clone git://github.com/patzy/glaw.git

Then change to the new glaw directory and issue the quickload call from here.

If you want to use the examples just do:

(ql:quickload "glaw-examples")

Manual install

Get the following required dependencies (and their respective dependencies):

If you want to use the included extension you may need:

Get ASDF and configure it so glaw's .asd are in the search path and then run:

(asdf:operate 'asdf:load-op :glaw)

for the lib itself, or:

(asdf:operate 'asdf:load-op :glaw-examples)

for the examples.

Examples

A few examples are provided in the examples/ directory, they depend on:

It is possible to use the examples with lispbuilder-sdl and lispbuilder-sdl-image instead of glop and imago. To do so:

Note that I don't test often with lb-sdl and it may not work/compile properly.

To run an example:

 (glaw-examples:run-example 'glaw-examples:example-name)

Where example-name may be one of the following:

There's also a simple breakout game using glaw here, and a more polished asteroid clone here.