Scoresheet: Add counting up animation

This commit is contained in:
LoveEevee
2018-10-03 12:48:18 +03:00
parent 57f1419e49
commit d6350a900c
13 changed files with 277 additions and 134 deletions

View File

@@ -177,9 +177,9 @@ class Keyboard{
&& circle.getType() === "balloon"
&& circle.requiredHits - circle.timesHit <= 1
){
assets.sounds["balloon"].play()
this.controller.playSound("balloon")
}else{
assets.sounds["note_" + sound].play()
this.controller.playSound("note_" + sound)
}
this.keyTime[sound] = this.keyTime[keyCode]
})