Commit Graph

14 Commits

Author SHA1 Message Date
531e28409a Improve maze start/end placement with dead-end detection
Refactored PlaceStartAndEnd to intelligently place start and end points at dead ends using random selection and distance-based fallbacks. Added EnforceSingleConnection to ensure start/end points have exactly one connection, compatible with U-turn prefabs. Improved MazeReworkSpawner with object hierarchy grouping (Floors, Categories) and made RefreshSingleCell public. Updated maze config and cleaned up scene hierarchy.
2026-07-04 06:51:32 +07:00
6b4a5a8e12 save 2026-07-04 06:29:20 +07:00
bdbb76a42a Add maze generation visualization with 2-phase animation
Enhance maze generation animation system with visual feedback during algorithm execution and a two-phase rendering approach:

- Phase 1: Preview mode displays simple blocks while algorithms run, with real-time feedback for path checking (valid/invalid/evaluating states)
- Phase 2: Sweep 3D modular pieces into place with pop-in animations

Updates:
- New MazeCellHighlight states (EvaluatingValid, EvaluatingInvalid) for algorithm feedback
- Modified all maze algorithms (DFS, Kruskal's, Prim's) to emit visual feedback when checking adjacent cells
- New animation components: HighlightLinger (self-destruct highlights) and PopInAnimation (juicy pop-in effect)
- Refactored MazeReworkSpawner to support preview prefabs and track spawned object state
- New prefabs: Stair room and MazeVisualize variants
- Added stepDelay and isPreviewMode controls to MazeAnimator for flexible pacing
- Reduced default maze size and adjusted material colors for testing
2026-07-04 05:01:00 +07:00
a3359cf7e1 commit 2026-07-04 03:57:58 +07:00
e0d2b83bd1 update 2026-06-26 02:04:50 +07:00
81a6798e96 update 2026-06-18 03:04:52 +07:00
97ae65f446 update 2026-06-11 21:18:57 +07:00
466a9fac10 update 2026-06-09 00:38:54 +07:00
c14d3c3a95 Update 2026-06-05 22:54:37 +07:00
91183760fb npc talk 2026-06-05 18:46:19 +07:00
9499efe518 Update 2026-06-05 12:22:00 +07:00
9be2242378 Update 2026-06-04 10:42:23 +07:00
a48cd962e1 update 2026-06-02 08:27:03 +07:00
Lucastaa
966642bdcd update 2026-04-26 00:27:56 +07:00