studio notes Dec 15 2025
Dungeon Mode Kit - Development Log (no version number yet)
Turn Engine, Shadows, and Core Systems
- Turn Engine
Implemented a turn-based system using ROT.js Scheduler.Simple. All actors with a personality or controlled attribute are added to the scheduler and take turns in sequence. Player-controlled actors lock the engine while waiting for input; AI actors execute their personality behaviors automatically.
personality
controlled
Observer Mode: When no player-controlled actors exist (or when the player dies), the game enters observer mode. Turns auto-advance at a configurable speed (turn_speed in prototype.json, default 50ms). Press Space to play/pause, Escape to reload.
turn_speed
- Shadow Rendering
Added addBaseAndShadows() to draw diagonal shadows beneath floor tiles when the darkness mechanic is disabled. This is based on the previous roguelike prototype and the tile drawings I’ve been doing.
addBaseAndShadows()
- Void and Death
When an actor moves onto a tile with no floor the actor’s fall() method is called.
fall()
Added getValidMoveDirections() for sighted actors to avoid void tiles when pathfinding.
getValidMoveDirections()
- Item Pickup and Inventory
Refactored