Skip to content

bcmpinc/block-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

block-game

A minimalistic 3D platform game.

Codacy Badge Build Status License: GPL v3

The goal is to get to the crystal as fast as possible. The game records how you play, such that the second time you have someone to race against.

Dependencies

This game requires the following libraries.

  • GLM
  • OpenGL
  • SDL 1.2
  • Lua 5.2 or 5.3
  • PhysFS

Building and running the game

Execute the following commands:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
./blockgame

When starting the game you can also specify the level you want to start with, for example: ./blockgame 5.

Note: while you can use a different directory to build and run from, the binary expects to find the maps in ../maps/.

Movement

  • wasd-keys: walking around.
  • space: jump.
  • ctrl: reverse time.
  • esc: quit.

If you want to change the keybindings, you have to edit keymap.h. A dvorak layout can be selected by replacing

#define KEYBOARD QWERTY 

with

#define KEYBOARD DVORAK

About

A minimalistic 3D platform game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published