/o2

Operation 'Operation' is 2D shooter about war behind enemy lines.

Primary LanguageCommon LispMIT LicenseMIT

Operation “Operation”

https://github.com/pkulev/o2/blob/master/res/gfx/logo.png

Dependencies

You will need the following libraries installed:

  • sdl2
  • sdl2-image
  • sdl2-ttf
  • libffi
  • chipmunk

Installation for development

You will need installed and working quicklisp for it.

  • Clone our patched cl-sdl2-ttf wrapper:
    git clone https://github.com/pkulev/cl-sdl2-ttf.git ~/quicklisp/local-projects/cl-sdl2-ttf
        
  • Clone our chipmunk wrapper:
    git clone https://github.com/vaartis/cl-chipmunk.git ~/quicklisp/local-projects/cl-chipmunk
        
  • Let quicklisp know about o2 system:
    # clone directly to local-projects
    git clone https://github.com/pkulev/o2.git ~/quicklisp/local-projects/o2
    # or create symlink
    ln -s /path/to/o2 ~/quicklisp/local-projects/o2
        
  • Load system into the running REPL and run the game:
    (ql:quickload :o2-game)
    (o2-game:main)  ; run the game
        

Running examples

(ql:quickload :o2/examples)
(o2/examples::main)

Licensing

The source code is provided under the MIT license, you can find a copy in LICENSE.

The assets are provided under the CC-BY-SA-4.0 license, you can find a copy in CC-BY-SA-4.0.