Change note timing

This commit is contained in:
LoveEevee
2018-09-21 23:31:35 +03:00
parent cd694b39c2
commit 01d0a8104f
11 changed files with 161 additions and 120 deletions

View File

@@ -0,0 +1,23 @@
class GameRules{
constructor(game){
this.difficulty = game.controller.selectedSong.difficulty
var frame = 1000 / 60
switch(this.difficulty){
case "easy":
case "normal":
this.good = 5 / 2 * frame
this.ok = 13 / 2 * frame
this.bad = 15 / 2 * frame
break
case "hard":
case "oni":
this.good = 3 / 2 * frame
this.ok = 9 / 2 * frame
this.bad = 13 / 2 * frame
break
}
this.daiLeniency = 2 * frame
}
}