Log inGet started
World

Campaign Trail: Title Screen, Level Select, Story Beats and Results for Level-Based Games

README.md

events

campaignKit's local signals for the rest of a game (mood, HUD, tests): on("state", fn) with { state, level } (title, select, sendoff, playing, results, finale, credits), on("level", fn) when a level's story beat starts, on("finish", fn) with the run's result after progress is saved, on("unlock", fn) when a level opens, on("*", fn), and current() for the last state. Everything is this machine's player only.