One button action game, a living cake, wow the sweet taste of victory! https://cakefoot.dank.game
Go to file
ohsqueezy 8b90e708a2 link to the source code from the press kit 2024-03-21 14:32:25 -04:00
doc move press kit to root 2024-03-20 21:53:39 -04:00
lib add demo mode 2024-03-06 21:22:54 -05:00
resource add demo mode 2024-03-06 21:22:54 -05:00
src link to the source code from the press kit 2024-03-21 14:32:25 -04:00
www - add sound effects and background music 2023-10-09 23:54:47 -04:00
.gitignore added README, LICENSE, press kit, and logos 2024-03-20 20:23:13 -04:00
.gitmodules ic 2023-05-23 15:35:29 -04:00
LICENSE.txt added README, LICENSE, press kit, and logos 2024-03-20 20:23:13 -04:00
Makefile move press kit to root 2024-03-20 21:53:39 -04:00
Press_Kit.md link to the source code from the press kit 2024-03-21 14:32:25 -04:00
README.md link to the source code from the press kit 2024-03-21 14:32:25 -04:00
clang_sanitize_ignorelist.txt update gitignore 2023-06-19 20:43:07 -04:00
config.json added README, LICENSE, press kit, and logos 2024-03-20 20:23:13 -04:00
favicon.ico - add coins to ending 2023-12-04 21:55:11 -05:00
index.html added README, LICENSE, press kit, and logos 2024-03-20 20:23:13 -04:00

README.md

Cakefoot is an ultra-hard, single-button, minimalist avoid 'em up with natural physics. The cake moves on a rail -- hold to go forward, let go to fall back, avoiding enemy patterns. With an epic 22-level quest, arcade mode, unlockables, and local high scores, Cakefoot is endlessly replayable, and impossible to defeat.

Cakefoot is one of the first games made with the open-source SPACE🪐BOX engine and is free to play online. It is the first game available for the 💫dank.game💫 web games portal. The code is open-source, moddable, and modifications can be used commercially.

Modding

It is possible to edit or add levels, sprites, and some design parameters without needing to rebuild the game.

Config and assets

Asset swaps and some style edits, such as colors and fonts, are the easiest mods to do. Change the relevant values in config.json. In some cases, the values can even be changed while the game is running just by saving the file changes.

Levels

Levels in 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.

Code

Anything not in the config or the levels file will have to be changed in code, so they will require compiling the code.

Building

Clone both the game code and the SPACE🪐BOX engine code using --recursive. The engine code will be in lib/sb/ with documentation and demos to be compiled.

$ git clone --recursive https://open.shampoo.ooo/shampoo/cakefoot/

Each platform has its own target in the Makefile. There is some documentation in the Makefile itself that should be checked. The current supported platforms are web browsers, Linux, and Windows. Until further documentation is added, the best way to get started on building for a platform is by installing the prerequisites for SPACE🪐BOX, compiling the box demo for the desired platform, and attempting to build the game's target in the Makefile.

To build on Linux, for example, once SPACE🪐BOX is confirmed to be working, run

$ make Cakefoot-linux_debug.x86_64

Press kit

There is a press kit included in Markdown format in the root of the repository. This can be converted into an HTML page using the conversion tool Pandoc. Once Pandoc is installed, run the make target from the terminal to generate a file press.html in the root folder.

$ make press

The generated page will look like this. To edit the press kit, for example if this repository is being used as a skeleton for another game or a mod, edit the markdown file, CSS rules, and metadata, and re-run the make target.

License

The code is open source under the zlib license. The images and sound effects are released as CC BY 4.0, meaning they can be used commercially, but credit must be given. The background music is copyrighted and cannot be used commercially.

See LICENSE.txt for details.

Contact

Email or DM questions or raise an issue. Documentation and any other pull requests are welcome.

Method Contact information
E-mail cocktail.frank@dank.game
Web https://dank.game
X https://x.com/diskmem