Commit Graph

14 Commits

Author SHA1 Message Date
3bfe9e4809 Update DEVLOG for Session 5 2026-01-03 00:30:32 +01:00
2f63e54d13 Fix camera panning logic to update target position.
Previously, panning only moved the camera, causing orbital rotation issues when changing views or centering because the target reference point wasn't updated. Now both camera and target move in sync.
2026-01-03 00:28:52 +01:00
46b5466701 Adjust zoom settings and sync slider with mouse wheel.
- Changed default zoom from 2.5 to 6.0 (further away).
- Reduced max zoom distance from 30 to 15.
- Fixed slider not updating when using mouse wheel zoom.
2026-01-03 00:27:09 +01:00
019e527441 Fix duplicate room_objective definition in TileDefinitions.js 2026-01-03 00:21:45 +01:00
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
7462dd7fed Implement manual player movement planning (steps) and hopping animation
- GameEngine: Added path planning logic (click to add step, re-click to undo).
- GameRenderer: Added path visualization (numbered yellow squares).
- GameRenderer: Updated animation to include 'hopping' effect and clear path markers on visit.
- UIManager: Replaced alerts with modals.
- Main: Wired right-click to execute movement.
2026-01-03 00:15:28 +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
9234a2e3a0 feat: Implement door interaction system and UI improvements
- Add interactive door system with click detection on door meshes
- Create custom DoorModal component replacing browser confirm()
- Implement door opening with texture change to door1_open.png
- Add additive door rendering to preserve opened doors
- Remove exploration button and requestExploration method
- Implement camera orbit controls with smooth animations
- Add active view indicator (yellow highlight) on camera buttons
- Add vertical zoom slider with label
- Fix camera to maintain isometric perspective while rotating
- Integrate all systems into main game loop
2026-01-01 17:16:58 +01:00
fd1708688a Phase 1 Complete: Dungeon Engine & Visuals. Switched to Manual Exploration Plan. 2025-12-31 00:21:07 +01:00
e90cfe3664 Versión inicial: Motor funcional con visualización de texturas corregida 2025-12-30 23:40:39 +01:00
7dbc77e75a versión inicial del juego 2025-12-30 23:24:58 +01:00