/
Depends on
- box2d (libbox2d-dev)
- cmake (cmake)
- googletest (libgtest-dev)
- imgui (libimgui-dev)
- libsdl2-image (libsdl2-image-dev)
- libsdl2-mixer (libsdl2-mixer-dev)
- libsdl2-net (libsdl2-net-dev)
- lua5.4 (liblua5.4-dev, lua5.4)
- ncurses (libncurses-dev)
- pkgconf (pkgconf)
- sdl2-compat (libsdl2-dev)
- sqlite3 (libsqlite3-dev)
- yajl (libyajl-dev)
- zlib (zlib1g-dev)
- debhelper-compat, libglm-dev, libtinyxml2-dev
README (full)
States for building on Linux and Mac
About
This repository is the home of two games: CaveExpress and CavePacker
CaveExpress

CaveExpress is a classic 2D platformer with physics-based gameplay and dozens of levels. Master your pedal-powered flying machine to pick up packages from your cave-dwelling clients and drop them off at the collection point. But beware! Mighty mastodons, terrifying pterodactyls and others would rather see you extinct.
Features:
- Multiplayer
- Built-in mapeditor
- Physics-based gameplay
Online version: caveexpress
CavePacker

CavePacker is a sokoban game. It is a puzzle game where you have to move the packages onto their targets without getting stuck. The lesser steps you made for solving a level, the better. You may only push but not pull packages.
The maps are taken from XSokoban, KSokoban - the author of sasquatch and microban maps is David W. Skinner and the maps gri* are made by GRIGoRusha.
Btw.: Did I mention that this is a sokoban game that even supports network based multiplayer gaming. Check it out.
The multiplayer maps were all created by me and are released in the Public Domain or CC0.
Features:
- Multiplayer
- Built-in mapeditor
CavePacker includes a map editor. You can start it by executing it via cavepacker -ui_push editor
Online version: cavepacker
Installation
Use the nightly builds from github actions or install a stable release:
Debian
apt-get install caveexpress cavepacker
Other
Download from github releases
Development
Dependencies
- cmake >= 2.8.7
- gcc, clang or msvc as compiler (C++11 support is needed)
- SDL2 >= 2.0.3
- SDL2_mixer >= 2.0.0
- SDL2_net >= 2.0.0
- SDL2_image >= 2.0.0
- sqlite3
- glm
- lua >= 5.2
- Box2D >= 2.4.1
- yajl (only if you compile tools)
Compilation
How to build projects from sources described on wiki page Compilation.
Tools
Tools used for development, included in sources.
TextureAtlas
The physical shapes with box2deditor
To convert the tps files into a texture atlas you can use the bundled tool textureatlas. The tps files can get created with Texturepacker 3.9.4.
The tool can read tps files (to some extent) and generate the needed texture atlas and lua sprite definitions that are needed for cavepacker and caveexpress. Call the tool with -h as parameter to get an overview of the command line options.
To generate e.g. all needed images and lua scripts for caveexpress, you can do this:
./textureatlas contrib/assets/png/caveexpress*.tps
jsonconvert
Converts the box2deditor json output into CaveExpress readable format.
soundmapper
Generate the entitysound.lua file for CaveExpress.
tiledgenerator
Generate tiled mapeditor tileset definitions.
CVARs
There is an in-game console (open it with SHIFT+TAB where you can execute commands and show or change configuration variables)
| dir | base/ |
| dir | cmake/ |
| dir | contrib/ |
| dir | debian/ |
| dir | docs/ |
| dir | src/ |
| file | .editorconfig |
| file | CMakeLists.txt |
| file | Doxyfile |
| file | LICENSE |
| file | Makefile |
| file | README.md |
| file | gpl-3.0.txt |