Commit Graph

4 Commits

Author SHA1 Message Date
Brian Fertig d30c018100 Implement dynamic stage video system with transition sequences and victory animations
This commit introduces a comprehensive stage video system that dynamically updates based on game progress:
- Added loading of all stage videos (1-6) and transition videos (adjacent pairs) in BootScene
- Implemented victory video loading for both lord and sin winners
- Replaced character state management with a proper stage-based video system
- Added _computeStage() method to determine current stage based on fund differences
- Implemented _setVideo() and _playSequence() helper methods for video management
- Created _handleStageChange() method that plays transition videos when stage changes
- Added game over state handling to prevent further video transitions
- Integrated stage changes with spin results to update video display automatically
- Maintained backward compatibility while adding rich visual feedback for game progression
2026-02-28 12:06:14 -07:00
Brian Fertig 5c02fd291e Add character video panel with animated transitions and video assets
This commit introduces a character video panel on the left side of the game scene with the following features:
- Added loading of multiple video assets (god-idle, god-sin-enters, sin-idle) in BootScene
- Implemented a video panel with gradient background and border at the left side of the screen
- Added character state management with automatic transitions based on game funds
- Created _checkCharacterState() method that triggers video transitions when sin total exceeds lord funds by 200
- Implemented smooth video transitions from god-idle to sin-entering to sin-idle states
- Maintained existing game functionality while adding dynamic character animations
2026-02-27 22:16:32 -07:00
Brian Fertig bf4bfdfad8 Replace star background with gates image and reposition UI elements for improved layout
This commit replaces the custom star background with a gates image asset for a more thematic appearance. The UI elements have been repositioned to improve visual alignment and spacing:
- Added loading of the new 'bg-gates' image asset
- Replaced star background with stretched gates image
- Adjusted title text positioning to be left-aligned with padding
- Centered the slot machine vertically to match the Reckoning panel
- Updated text origins to maintain proper alignment
- Maintained all existing functionality while improving visual presentation
2026-02-27 19:29:35 -07:00
Brian Fertig 2b6943c319 initial commit 2026-02-26 19:58:56 -07:00