A Box2D sandbox where you try to escape bullets shot by several artillery.

DricomDragon 3c0e291515 License project under GNU GPLv3 3 سال پیش
.gitignore 3710ab5fba Modernize build system by using a makefile 4 سال پیش
LICENSE.txt 3c0e291515 License project under GNU GPLv3 3 سال پیش
Missiles.cpp bb0a5776bd Fix type icompabilities 4 سال پیش
Missiles.h 7e32f23b1c Fix include for box2d 4 سال پیش
README.md 3c0e291515 License project under GNU GPLv3 3 سال پیش
icon.png 2b942e76a8 Add logo in README 3 سال پیش
main.cpp 14d0027325 Add direct number keys 4 سال پیش
makefile a5460af3a8 Fix distclean 4 سال پیش

README.md

Bullet Auto Pilots

A Box2D sandbox where you try to escape bullets shot by several artillery.

Bullet Auto Pilots logo

Build

You need make, SDL1 and Box2D to build this project.

Example on Ubuntu :

$ sudo apt install make g++ libsdl-dev libsdl-gfx1.2-dev libbox2d-dev
$ make

Warning about Box2D : you need at least version 2.4.1 in order to compile this project. If your package manager is out of date, please build Box2D and install it from source.

To execute :

$ make exec

Controls

  • Arrow keys : move ship
  • Mouse clic : build a tourel at cursor
  • Space : pause
  • Number keys 1, 2, 3, 4 : change tourel type
  • A : toggle visual effects
  • Z : increase shoot delay of next tourel
  • S : decrease shoot delay of next tourel
  • E : restore life points to maximum
  • R : toggle tourel position prediction
  • Escape : quit
  • Backspace : destroy tourels

License

GNU GPLv3, see LICENSE.txt.