Commit Graph

20 Commits

Author SHA1 Message Date
5888c59ba4 DEVLOG update: Documenting reversion of GameRenderer refactoring to stable state 2026-01-09 17:04:53 +01:00
009c2a4135 Refine FOW visuals, Turn Skipping logic, and UI Polish 2026-01-09 15:44:04 +01:00
b08a922c00 Implement Initiative Turn System and Fog of War 2026-01-09 14:12:40 +01:00
0685c1249e feat: spell book UI, iron skin spell, buffs system and devlog update 2026-01-08 23:35:01 +01:00
f2f399c296 feat: magic system visuals, audio sfx, and ui polish 2026-01-07 22:42:34 +01:00
5c5cc13903 feat: Implement combat and movement sound effects with looping footsteps 2026-01-07 20:01:58 +01:00
377096c530 fix: Refine LOS wall detection to use connectivity rules (canMoveBetween) 2026-01-06 22:30:01 +01:00
61c7cc3313 feat: Implement 2D tactical view and refine LOS with corner detection 2026-01-06 20:50:46 +01:00
c0a9299dc5 Implement Elf Ranged Combat and Pinned Mechanic
- Added 'Shoot Bow' action for Elf with Ballistic Skill mechanics (1995 rules).
- Implemented strict Line of Sight (LOS) raycasting (Amanatides & Woo) with UI feedback for blockers.
- Added 'Pinned' status: Heroes adjacent to monsters (without intervening walls) cannot move.
- Enhanced UI with visual indicators for blocked shots (red circles) and temporary modals.
- Polished 'End Phase' button layout and hidden it during Monster phase.
2026-01-06 20:05:56 +01:00
7b28fcf1b0 feat: Sistema de combate completo con tarjetas de personajes y animaciones
- Tarjetas de héroes y monstruos con tokens circulares
- Sistema de selección: héroe + monstruo para atacar
- Botón de ATACAR en tarjeta de monstruo
- Animación de muerte: fade-out + hundimiento (1.5s)
- Visualización de estadísticas completas (WS, BS, S, T, W, I, A, Mov)
- Placeholder cuando no hay héroe seleccionado
- Tokens de héroes y monstruos en formato circular
- Deselección correcta de monstruos
- Fix: paso de gameEngine a CombatMechanics para callbacks de muerte
2026-01-06 18:43:09 +01:00
3efbf8d5fb Implement advanced pathfinding and combat visual effects
- Add monster turn visual feedback (green ring on attacker, red ring on victim)
- Implement proper attack sequence with timing and animations
- Add room boundary and height level pathfinding system
- Monsters now respect room walls and can only pass through doors
- Add height level support (1-8) with stairs (9) for level transitions
- Fix attack validation to prevent attacks through walls
- Speed up hero movement animation (300ms per tile)
- Fix exploration phase message to not show on initial tile placement
- Disable hero movement during exploration phase (doors only)
2026-01-06 16:18:46 +01:00
78b7486dd2 fix: allow hero movement in exploration phase (reset moves) 2026-01-05 23:15:07 +01:00
77c0c07a44 feat(game-loop): implement strict phase rules, exploration stops, and hero attacks 2026-01-05 23:11:31 +01:00
b619e4cee4 feat: Implement Event Deck, Monster Spawning, and AI Movement 2026-01-05 00:40:12 +01:00
056217437c Implement Lantern Bearer logic, Phase buttons, and Monster spawning basics 2026-01-04 23:48:53 +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
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