Commit Graph

10 Commits

Author SHA1 Message Date
Brian Fertig c3eba35be7 Add sound effects and music to slot machine game with victory animations and stage transitions 2026-02-28 15:24:39 -07:00
Brian Fertig 1ca2579b64 Changes to disabled Spin feature 2026-02-28 12:57:34 -07:00
Brian Fertig 5ed7efabd9 Add comprehensive shatter animations for vial destruction with evil and holy effects
This commit implements detailed shatter animations for both vial destruction effects:
- Added evil shatter animation (sin vial implodes with dark, decaying explosion) for when The Lord wins
- Added holy shatter animation (lord vial ascends with divine golden explosion) for when Sin wins
- Implemented comprehensive visual effects including explosions, particle systems, smoke, rays, and text animations
- Integrated shatter animations with victory video playback in GameScene
- Added proper timing and sequencing for dramatic victory presentation
- Maintained existing functionality while adding rich visual feedback for game endings
- Created reusable animation helper methods in VialDisplay class for consistent effects
2026-02-28 12:30:17 -07:00
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 94e631ecba Adjusted background 2026-02-27 19:51:34 -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 5739a4b8b1 Adjust slot machine layout and fund tracking logic for improved visual alignment and game flow 2026-02-26 21:19:32 -07:00
Brian Fertig 2f518e5165 Add Virtue Slots game with Christian theme, including slot machine mechanics, vial-based economy system, and win/loss animations 2026-02-26 20:59:57 -07:00
Brian Fertig 2b6943c319 initial commit 2026-02-26 19:58:56 -07:00