Move around in a scrolling cave and avoid falling spikes. Entry for the raylib 5K gamejam.
- Runs on Linux and Web (PC and Mobile)
- Avoid hitting falling spikes and the cave walls
- The cave gets harder to move around in as you progress
- 3 difficulty levels
There are two control modes: keyboard mode and touch mode. Touch mode also works with the mouse, but keyboard is recommended on PC. You can change the control mode in Options.
- Use WASD or arrow keys to move around. Going below the map will kill you.
- In touch mode, tapping on the screen will move you to that position. In a way, this is easier than keyboard controls, so the game is faster to make up for that.
- If the level is impossible (the cave is steeper than the player movement speed, shouldn't happen in most cases), you can press R to generate a new level. This will reset your score and lives.
- Press ESC to go to the main menu.
- Press B in game to open the debug screen. In touch mode, there is a link in Options.
- Press G to quickly toggle low/high graphics.
- Whatever you do, don't press T when in game.
- Download w64devkit:
w64devkit-x.x.x.zip
for 64-bitw64devkit-i686-x.x.x.zip
for 32-bit
- Extract w64devkit and run
w64devkit.exe
. - Inside w64devkit, go to the directory where you cloned cavescroller.
- Run
./setup.sh
to build raylib. - Run
./build.sh
to compile the game.
- Install
mingw-w64
using your package manager. Make surex86_64-w64-mingw32-gcc
is available from your command line. - Run
TARGET=Windows_NT ./setup.sh
to build raylib. - Run
TARGET=Windows_NT ./build.sh
to compile the game.
- Run
./setup.sh
to build raylib. - Run
./build.sh
to compile the game.
Web building has only been tested on Linux. It should work on Windows without any major modifications.
- If you're on Windows, follow the first 3 steps of the Windows building guide.
- Run
TARGET=Web ./setup.sh
to build raylib. - Run
TARGET=Web ./build.sh -r
to compile and run the game. Opening theindex.html
won't work, a web server is needed and-r
launches one.
- Install Java if you haven't already. Make sure
JAVA
in yourandroid/config.sh
points to the Java installation. If you're on Linux and installed Java through the package manager, you don't need to change the config.sh. - Run
TARGET=Android ./setup.sh
to install the SDK/NDK and build raylib. If you already have an SDK/NDK installation, you can set the paths to them inandroid/config.sh
. - Run
TARGET=Android ./build.sh
to compile the game. - If you have a device with USB debugging enabled, it will try to install the APK on it. You can also transfer
cavescroller.apk
to the device and install it from a file manager.
- Font: IBM PC BIOS 8×8, (c) 2016-2020 VileR
- CSS: mandar1jn/planet-clash
- Everything else made by me using GIMP, mtPaint and rFXGen.