main.scene
- .build.state16 B
- .metadata17 B
- README.md2.0 KB
- authoring
- build.luau1.1 KB
- entrypoint.luau6.1 KB
- scene.json736 KB
This package holds more than this page lists. See all of its files in its world.
README.md
main: The Undercroft
The game's one scene. It holds both halves of The Undercroft side by side, so a co-op party never changes scene: the abbey camp where a run starts and ends, and the crypt floors the run descends through.
What is in it
| Part | Made by | What it is |
|---|---|---|
ArpgHealthRules, ArpgRun, ArpgHud, ArpgDamageNumbers | arpgKit Arpg.place | The action RPG setup in roguelite mode: no free "Rise again", a downed pilgrim waits for a partner (revive "ally", 30 s bleed-out), the HUD (health and stamina orbs, skill bar, room tracker, minimap) and floating damage numbers. |
PlayerSetups, Player, body, CameraRig, Spawns, Start | arpgKit | The pilgrim's body with the engine character controller and the high, angled ARPG camera, and the spawn point. |
classKitHost | classKit Classes.place | ClassBearer on the hero body, so every peer sees which pilgrim each player chose. |
camp | the game's camp.AbbeyCamp scene module, at x = -200 | The ruined abbey cloister at night: the bonfire, the class lectern (west), the Star Vault altar under the painted constellations (north), the bell rope for challenges (east) and the crypt stair (south). |
undercroft | the game's game.CampStations component | The prompt cards and Interact handling for the four camp stations. |
The crypt floors are not saved in the scene: on every floor the host builds rooms, corridors, monsters, traps, the secret niche and (on the last floor) the Ossuary Nave and the Hollow Abbot from the run's seed, and every peer builds the same floor from that seed.
How it runs
build.luauplaces the parts above; re-run it withscene.reloadonly once every kit has loaded (modules.diverged()empty), because a reload saves the scene.entrypoint.luaustartsgame.director, which drives title, camp, run, floors, relic picks, the boss and the end screens through runLoopKit, menusKit and the bridges ingame/.
See the world's README for how to play and which kits do what.