Source code for Freezing Knights, a light co-op turn-based RPG made in Pico-8.
Playable on itch.io, Lexaloffle BBS and Newgrounds. You can also run load #freezing_knights on Pico-8 to load the game.
Soundtrack by OhCurtains available on Bandcamp.
- Game by tinyevilwizard
- Music and OhCurtains intro by OhCurtains
Run the carts from the src folder instead of root. That way, the carts can find each others.
Load start.p8 to start from the main menu. Starting from other carts will prevent the game from working properly.
The src/helpers.lua file has a global variable named load_mode, which changes the way the different carts will be loaded based on its value.
load_mode=1: The game will use the name of the cart files. Use this if playing via the.p8files or for exporting to web or executable.load_mode=2: The game will use the Lexaloffle BBS IDs of the carts. Use this for exporting game to Lexaloffle BBS via PNG cart format.
All game cards share assets such as sprites, maps and the SFXs 53 to 63, so any changes to these assets must be applied to all game carts. To modify that data without having to update each carts individually:
- Load
asset_manager.p8 - Apply and save changes to sprites, sounds, and map
- Open
asset_manager.luain an external code editor and verify parameters for each carts are set correctly - Reload / start
asset_manager.p8cart - Follow instructions to automatically copy data to all carts
Music and SFXs 0 to 52 are not shared between carts, as they each contain a different music track.
- Create new empty cart
- Add cart header content from
BATTLE_CART_HEADER.md, change cart name at top of file and edit loaded enemies - Add new cart to
asset_manager.lua - Follow instructions in
Modifying shared assets (sprites, maps and sounds)
- Go to the
srcfolder - Load
start.p8 - Run
export freezing_knights.bin map.p8 rest.p8 ending.p8 battle1.p8 battle2.p8 battle3.p8 boss1.p8 boss2.p8 boss3.p8 boss4.p8 boss5.p8 boss6.p8 boss7.p8
- Go to the
srcfolder - Load
start.p8 - Run
export -f freezing_knights.html map.p8 rest.p8 ending.p8 battle1.p8 battle2.p8 battle3.p8 boss1.p8 boss2.p8 boss3.p8 boss4.p8 boss5.p8 boss6.p8 boss7.p8
- Go to the
srcfolder - Load each cart and type
save freezing_knights_[cart name].png
