2026-03-20 08:11:31 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
|
|
All notable changes to this project will be documented here.
|
|
|
|
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## [Unreleased]
|
|
|
|
|
|
2026-03-20 12:19:57 +00:00
|
|
|
### Fixed
|
2026-03-20 18:54:58 +00:00
|
|
|
- Nisse now clear the FOREST/ROCK tile after harvesting, opening paths to deeper resources
|
2026-03-20 17:07:34 +00:00
|
|
|
- Nisse no longer get stuck idle after depositing items at the stockpile
|
|
|
|
|
- Working Nisse now reset to idle on game load (like walking ones), preventing stale AI state
|
|
|
|
|
- Stale jobs with empty carry are now cleared after work completes, avoiding a false "haul to stockpile" loop
|
2026-03-20 12:19:57 +00:00
|
|
|
- UI elements (stockpile panel, controls hint) now reposition correctly after window resize
|
|
|
|
|
- Centered overlay panels (build menu, villager panel) close on resize so they reopen at the correct position
|
|
|
|
|
- Mouse world coordinates now use `ptr.worldX`/`ptr.worldY` in BuildingSystem and FarmingSystem, fixing misalignment after resize or zoom
|
|
|
|
|
|
2026-03-20 17:07:34 +00:00
|
|
|
### Changed
|
|
|
|
|
- Villagers are now called **Nisse** throughout the UI (panel, controls hint, stockpile display, context menu, spawn message)
|
|
|
|
|
|
2026-03-20 08:11:31 +00:00
|
|
|
### Added
|
2026-03-20 19:19:53 +00:00
|
|
|
- Scroll wheel now zooms toward the mouse cursor position instead of the screen center
|
|
|
|
|
- Middle mouse button held: pan the camera by dragging
|
2026-03-20 17:07:34 +00:00
|
|
|
- Right-click context menu: suppresses browser default, shows Build and Nisse actions in the game world
|
2026-03-20 08:11:31 +00:00
|
|
|
- Initial project setup: Phaser 3 + TypeScript + Vite
|
|
|
|
|
- Core scenes: `BootScene`, `GameScene`, `UIScene`
|
|
|
|
|
- Systems: `BuildingSystem`, `CameraSystem`, `FarmingSystem`, `PlayerSystem`,
|
|
|
|
|
`ResourceSystem`, `VillagerSystem`, `WorldSystem`
|
|
|
|
|
- Utilities: simplex-noise wrapper, pathfinding
|
|
|
|
|
- `StateManager` for central game state
|
|
|
|
|
- `NetworkAdapter` for multiplayer/sync layer
|
|
|
|
|
|
|
|
|
|
---
|