Commit Graph

7 Commits

Author SHA1 Message Date
cd6abb016f Implement randomized tile textures.
- DungeonGenerator: Selects a random texture from the card definition when finalizing tile placement.
- GameRenderer: Renders the specific chosen texture for each tile instance instead of the default.
2026-01-03 00:19:30 +01:00
dbed4468c5 Fix tile alignment: Enforce strict connection for multi-cell doors and fix exit reference logic 2026-01-03 00:00:36 +01:00
ac536ac96c Implement tile discarding, blocked doors, and correct corridor exits
- Updated TileDefinitions.js: Added 4-way exits to corridor_straight and corridor_steps (N/S y=3,4; E/W x=3,4).
- Updated DungeonGenerator.js: Added cancelPlacement() logic and onDoorBlocked callback.
- Updated GameRenderer.js: Implemented blockDoor() to visualize blocked passages, and improved isPlayerAdjacentToDoor.
- Updated UIManager.js: Added custom showModal/showConfirm and Discard button for tile placement.
- Updated main.js: Handled blocked door clicks and hooked up UI events.
- Updated GameEngine.js: Improved door adjacency checks.
- Updated CameraManager.js: Preserved camera rotation on centerOn.
- Added door1_blocked.png asset.
2026-01-02 23:48:42 +01:00
8bb0dd8780 Clean up logs and fix variant reference error 2026-01-02 23:13:52 +01:00
970ff224c3 Fix tile rendering dimensions and alignment, update tile definitions to use height 2026-01-02 23:06:40 +01:00
fd1708688a Phase 1 Complete: Dungeon Engine & Visuals. Switched to Manual Exploration Plan. 2025-12-31 00:21:07 +01:00
7dbc77e75a versión inicial del juego 2025-12-30 23:24:58 +01:00