mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added sound about start-game
This commit is contained in:
BIN
luckydiamond/public/sounds/start-game.mp3
Normal file
BIN
luckydiamond/public/sounds/start-game.mp3
Normal file
Binary file not shown.
@@ -157,3 +157,7 @@ body, html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* /Saper */
|
/* /Saper */
|
||||||
|
|
||||||
|
/* Media */
|
||||||
|
|
||||||
|
/* /Media */
|
||||||
@@ -296,7 +296,6 @@ export default {
|
|||||||
this.gameStart = false
|
this.gameStart = false
|
||||||
this.gamesCircle = 0
|
this.gamesCircle = 0
|
||||||
this.winningAmount = 0
|
this.winningAmount = 0
|
||||||
this.flippedCards = []
|
|
||||||
const SoundCorrect = new Howl({
|
const SoundCorrect = new Howl({
|
||||||
src: ['/sounds/incorrect-sound.mp3'],
|
src: ['/sounds/incorrect-sound.mp3'],
|
||||||
volume: 0.5
|
volume: 0.5
|
||||||
@@ -374,9 +373,18 @@ export default {
|
|||||||
this.errorPlayButton()
|
this.errorPlayButton()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
this.flippedCards = []
|
||||||
|
this.unCorrectClick = []
|
||||||
|
this.CorrectsClick = []
|
||||||
this.playNotification()
|
this.playNotification()
|
||||||
this.gameStart = true
|
this.gameStart = true
|
||||||
this.offEventPointers = true
|
this.offEventPointers = true
|
||||||
|
const soundStartGame = new Howl({
|
||||||
|
src: ['/sounds/start-game.mp3'],
|
||||||
|
volume: 5.0
|
||||||
|
})
|
||||||
|
|
||||||
|
soundStartGame.play()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getBalanceUser() {
|
getBalanceUser() {
|
||||||
|
|||||||
Reference in New Issue
Block a user