The goal of GLAW is to provide a collection of basic functionalities to help developping games.
You can get glaw directly from quicklisp by just doing:
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 try the examples just do:
Get the following required dependencies (and their respective dependencies):
If you want to use the included extension you may need:
glaw-imagofor image based assets loading
- lispbuilder-sdl and lispbuilder-sdl-image:
glaw-sdlfor image based assets loading
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.
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:
- change the
Note that I don't test often with lb-sdl and it may not work/compile properly.
To run an example:
example-name may be one of the following:
In all examples you may use
q to quit and
alt-s to toggle render stats display.