Add autoplay badge, change game timing to new Date with fallback

This commit is contained in:
LoveEevee
2018-10-03 17:22:40 +03:00
parent d6350a900c
commit 3e84c40184
5 changed files with 41 additions and 15 deletions

View File

@@ -619,6 +619,12 @@ class View{
this.diffX, this.diffY,
this.diffW, this.diffH
)
if(this.controller.autoPlayEnabled){
this.ctx.drawImage(assets.image["badge_auto"],
this.diffX + this.diffW * 0.71, this.diffY + this.diffH * 0.01,
this.diffH * 0.3, this.diffH * 0.3
)
}
this.ctx.drawImage(assets.image.taiko,
this.taikoX, this.taikoY,
this.taikoW, this.taikoH