States for building on Linux and Mac
This repository is the home of two games: CaveExpress and CavePacker
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 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
Use the nightly builds from github actions or install a stable release:
apt-get install caveexpress cavepacker
Download from github releases
- 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)
How to build projects from sources described on wiki page Compilation.
Tools used for development, included in sources.
The texture atlas is created with TexturePacker 3.9.4, the physical shapes with box2deditor
To convert the tps
files into a texture atlas and the lua sprite definition, you can either use TexturePacker - or the bundled opensource tool textureatlas
.
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-packed/caveexpress*.tps
Converts the box2deditor json output into CaveExpress readable format.
Generate the entitysound.lua file for CaveExpress.
Generate tiled mapeditor tileset definitions.
There is an in-game console (open it with SHIFT+TAB
where you can execute commands and show or change configuration variables)