mirror of
https://github.com/cmclark00/mintris.git
synced 2025-05-18 10:25:19 +01:00
Enhanced game over experience: Added louder game over sound, improved game over animation, and added haptic feedback
This commit is contained in:
parent
ce19427cca
commit
292ea656f8
6 changed files with 134 additions and 2 deletions
|
@ -366,6 +366,12 @@ class MainActivity : AppCompatActivity() {
|
|||
// Flag to track if high score screen will be shown
|
||||
var showingHighScore = false
|
||||
|
||||
// Play game over sound and trigger animation
|
||||
if (isSoundEnabled) {
|
||||
gameMusic.playGameOver()
|
||||
}
|
||||
gameView.startGameOverAnimation()
|
||||
|
||||
// Show progression screen first with XP animation
|
||||
showProgressionScreen(xpGained, newRewards)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue