40 lines
1.2 KiB
Markdown
40 lines
1.2 KiB
Markdown
# catch-phase
|
|
|
|
Lisp game jam autumn 2026 entry
|
|
|
|
# Build
|
|
Currently only Linux and macOS are supported
|
|
|
|
1. You will need to obtain Sex: https://git.kotobank.ch/alex-eg/sex.
|
|
Also available via riru overlay for Gentoo Linux. You will also need
|
|
a C compiler
|
|
2. For web build, you'll need emscripten. For serving it locally, python3
|
|
is needed.
|
|
|
|
`make` builds native executable
|
|
`make web serve` builds emscripten and runs local python server
|
|
|
|
## Maps
|
|
|
|
raytmx only supports finite Tiled maps. Infinite maps use `<chunk>`
|
|
elements that the bundled loader cannot read and can crash it. The game
|
|
currently loads `res/tilemaps/start.tmx`, which is finite.
|
|
|
|
If you have an infinite map, convert it with:
|
|
|
|
`tools/tmx_to_finite.py <input.tmx> -o <output.tmx>`
|
|
|
|
Keep your edited finite map in Tiled; re-run the converter only when you
|
|
want to flatten a newer infinite source map.
|
|
|
|
## Settings and saves
|
|
|
|
Native builds keep settings in
|
|
`$XDG_CONFIG_HOME/catch-phase/settings.conf`, falling back to
|
|
`$HOME/.config/catch-phase/settings.conf`. Save files should use the same
|
|
directory.
|
|
|
|
Web builds mount an IndexedDB-backed filesystem at `/persist` and keep
|
|
`/persist/settings.conf` there, so it survives a page reload. Future save
|
|
files should go under `/persist` as well.
|