~2:*~A - ~A


 

Abstract

LISPBUILDER-SDL comprises several of packages that allow game development using Common Lisp. LISPBUILDER-SDL provides a set of bindings and Lispy abstractions for SDL and other graphics, sound, physics, character animation and 3D libraries. LISPBUILDER-SDL core functionality includes window and event management, 2D graphics, 3D graphics using OpenGL and sound support. The goal for the LISPBUILDER-SDL project is to become a useful resource for the development of games in Lisp.

SDL provides the low-level 2D rendering support. LISPBUILDER-SDL adds 2D graphical effects such as rotation, rendering circles, polygons, squares, Bezier and Cuttmull-Rom curves as well as bitmap font support. Additional packages provide native C drawing functions, True Type font rendering, loading of multiple image formats, a sound mixer and networking support. The lispbuilder packages are meant to work together with each package providing a specific core set of functionality. For example, an image that is loaded by lispbuilder-sdl-image may be rotated using lispbuilder-sdl-gfx. Text may be rendered to a surface using lispbuilder-sdl-ttf and finally blitted to the display using lispbuilder-sdl.

The code comes with a MIT-style license so you can basically do with it whatever you want.

Download shortcut: http://lispbuilder.googlecode.com/files/~:*~A.tgz.


 

Simple Example

	Alien Technology
(sdl:with-init ()
  (sdl:window 320 240)
  (sdl:draw-surface (load-image "lisp.bmp"))
  (sdl:update-display)
    (sdl:with-events ()
      (:quit-event () t)
      (:video-expose-event (sdl:update-display))))
      

 

Contents

  1. LISPBUILDER-SDL
    1. Abstract
    2. Download
    3. Support
    4. License
    5. The ~A dictionary
    6. Acknowledgements

     

    Download

    Current Version: The latest stable version of ~2:*~A, together with this documentation can be downloaded from http://lispbuilder.googlecode.com/files/~:*~A.tgz.


     

    Documentation, Support & Mailing Lists

    See the `LISPBUILDER-SDL` documentation at lispbuilder.googlecode.com.
     

    License

    LISPBUILDER-SDL is distributed under the MIT-style license.


     

    The ~A dictionary