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

DricomDragon 2afe24b070 Explain repository structure преди 4 години
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 b2f652dfaf Fille author name and year преди 4 години
README.md 2afe24b070 Explain repository structure преди 4 години

README.md

BouncyDriver

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

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.