Small loderunner clone for the 2024 game jam
Find a file
2024-05-19 19:00:40 +02:00
assets parse from file and ignore empty lines 2024-05-19 19:00:40 +02:00
game parse from file and ignore empty lines 2024-05-19 19:00:40 +02:00
scripts add dthompson game template 2024-05-17 23:49:31 +02:00
.gitignore level data and parser. 2024-05-19 18:48:18 +02:00
bloatrunner.tiled-project level data and parser. 2024-05-19 18:48:18 +02:00
bloatrunner.tiled-session level data and parser. 2024-05-19 18:48:18 +02:00
bootstrap.sh add dthompson game template 2024-05-17 23:49:31 +02:00
bundle.scm add dthompson game template 2024-05-17 23:49:31 +02:00
configure.ac add dthompson game template 2024-05-17 23:49:31 +02:00
guix.scm level data and parser. 2024-05-19 18:48:18 +02:00
LICENSE Initial commit 2024-05-17 15:03:07 +02:00
Makefile.am add dthompson game template 2024-05-17 23:49:31 +02:00
pre-inst-env.in add dthompson game template 2024-05-17 23:49:31 +02:00
README.md added and tested the template 2024-05-18 00:06:36 +02:00

Chickadee Game Template

This repository provides a template to use as a starting point for making a new game using Chickadee! It includes all the autotools boilerplate so you don't have to worry about that nonsense too much.

Using Guix

We highly recommend using Guix to manage your development environment. Once Guix is installed, getting all of the dependencies you need to develop is easy. Just run guix shell from the root directory of this repository and you'll be good to go!

Building from source

Assuming Guile and Chickadee are installed on your system, a fresh project can be built like so:

./boostrap.sh
./configure
make -j$(nproc)

After the build system is initialized, only make needs to be run to recompile the Scheme modules.

Note: On hosted guix the configure script might find the host guile version instead of the guix provided one. This can lead to incompatible bytecode errors. To force to use a consistent guile use

./configure GUILE=$(which guile)

to ensure the right version is configured.

Running the game

To run the game from the source checkout, use the pre-inst-env wrapper script:

./pre-inst-env run-game

REPL-driven development

After the game is launched, a Guile REPL server will be running on port 37146. We recommend using the Geiser Emacs extension for connecting to it using M-x connect-to-guile. Once Geiser connects to the REPL, the game can be modified while it runs!

Bundling

If you are setup to produce redistributable bundles of Chickadee games (see https://dthompson.us/manuals/chickadee/Invoking-chickadee-bundle.html), then you can use chickadee bundle to produce binary release bundles. This is admittedly an area where things really do not "just work" as they should, so do reach out for help if you need it.