Fork it up! _Cakefoot_ is a challenging, single-button dodge ’em up on rails. Pilot a walking cake – hold to accelerate, let go to drift back – and survive against all odds. Featuring 22 epic levels, arcade mode, unlockables, and high scores, _Cakefoot_ is endlessly replayable, and impossible to defeat.
_Cakefoot_ is one of the first games made with the open-source [SPACE🪐BOX](https://open.shampoo.ooo/shampoo/spacebox) engine and is free to [play online](https://cakefoot.dank.game). It is the first game available for the [dank.game](https://dank.game) web games portal.
Asset swaps and some style edits, such as colors and fonts, are the easiest mods to do. Change the relevant values in [config.json](config.json). In some cases, the values can even be changed while the game is running just by saving the file changes.
Levels in [levels.json](resource/levels.json) are also easy to add and mod using JSON, but the syntax is not documented yet. The shape of the curve, checkpoints, and enemies are all definable in the level syntax.
Clone both the game code and the [SPACE🪐BOX](https://open.shampoo.ooo/shampoo/spacebox) engine code using `--recursive`. The engine code will be in `lib/sb/` along with documentation and demos.
Each platform has a corresponding target in the [Makefile](Makefile). There is some documentation in the Makefile itself that should be checked. The current supported platforms are web browsers, Linux, Windows, and MacOS.
Until further documentation is added, one way to get started building for a platform is to first build the [box demo](https://open.shampoo.ooo/shampoo/spacebox/src/branch/main/demo/box) for the desired platform in a separate project.
Once the box demo is confirmed to build, try making a build of Cakefoot, for example the Linux version
There is a [press kit](Press_kit.md) included in Markdown format in the root of the repository. This can be converted into an HTML page using the conversion tool [Pandoc](https://pandoc.org/). Once Pandoc is installed, run the make target from the terminal to generate a file `press.html` in the root folder.
The generated page will look like [this](https://cakefoot.dank.game/press.html). To edit the press kit, for example if this repository is being used for a mod or another game, edit the [markdown file](Press_kit.md), [CSS rules](src/Press_kit_style.html), [metadata](src/Press_kit_metadata.yml), and optionally the [template](src/Press_kit_template.html), and re-run the make target.
The code is open source under the zlib license, and the assets are released under the Creative Commons BY 4.0 license. This means the game can be legally copied, modified, and used commercially, as long as appropriate credit is given.
Contact me with questions or [raise an issue](https://open.shampoo.ooo/shampoo/cakefoot/issues) on the repository page. Documentation or any other [pull requests](https://open.shampoo.ooo/shampoo/cakefoot/pulls) are welcome 🙂