A 2D driving game made with C++ and Box2D

DricomDragon c2c280bbe0 Add icon in README 3 سال پیش
Editor 3769bb6ecf Symlink level folder 4 سال پیش
Game 096b5534ea Create jump first level 4 سال پیش
.gitignore 154b12f3d4 Bump box2d version from v2.3.1 to v2.4.1 4 سال پیش
LICENSE.txt ed0d2103fc Mention license GPLv3 in README 3 سال پیش
README.md c2c280bbe0 Add icon in README 3 سال پیش
icon.jpg c2c280bbe0 Add icon in README 3 سال پیش

README.md

BouncyDriver

A 2D driving game made with C++ and Box2D

Boncy Driver logo

Repository structure

Game contains the desktop game app which relies on Box2D and SDL.

Editor contains the level editor which relies on SDL only.

Build

Each folder has its own makefile.

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

Example on Ubuntu :

$ sudo apt install make g++ libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-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

Game controls

  • A, Q : air control, rotate left
  • D : air control, rotate right
  • P : pause
  • Arrow right : go forward
  • Arrow left : go backward
  • Arrow down : break
  • L : choose level

Editor controls

Displayed on screen when app is running.

License

GNU GPLv3, see LICENSE.txt.