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

DricomDragon a8904f78c9 Add control keys %!s(int64=4) %!d(string=hai) anos
Cars 154b12f3d4 Bump box2d version from v2.3.1 to v2.4.1 %!s(int64=4) %!d(string=hai) anos
Niveaux 2560636e53 Import old non versioned project %!s(int64=5) %!d(string=hai) anos
Textures 2560636e53 Import old non versioned project %!s(int64=5) %!d(string=hai) anos
.gitignore 154b12f3d4 Bump box2d version from v2.3.1 to v2.4.1 %!s(int64=4) %!d(string=hai) anos
Car.cpp 9d29bec794 Revert "Make the project compilable" %!s(int64=4) %!d(string=hai) anos
Car.h 154b12f3d4 Bump box2d version from v2.3.1 to v2.4.1 %!s(int64=4) %!d(string=hai) anos
LICENSE b2f652dfaf Fille author name and year %!s(int64=4) %!d(string=hai) anos
README.md a8904f78c9 Add control keys %!s(int64=4) %!d(string=hai) anos
SnapFile.cpp 2560636e53 Import old non versioned project %!s(int64=5) %!d(string=hai) anos
SnapFile.h 2560636e53 Import old non versioned project %!s(int64=5) %!d(string=hai) anos
Terrain.cpp 154b12f3d4 Bump box2d version from v2.3.1 to v2.4.1 %!s(int64=4) %!d(string=hai) anos
Terrain.h 154b12f3d4 Bump box2d version from v2.3.1 to v2.4.1 %!s(int64=4) %!d(string=hai) anos
main.cpp 29cfad1963 Fix the windows title %!s(int64=4) %!d(string=hai) anos
makefile 154b12f3d4 Bump box2d version from v2.3.1 to v2.4.1 %!s(int64=4) %!d(string=hai) anos

README.md

BouncyDriver

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

Build

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

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