Add autoplay mode

This commit is contained in:
LoveEevee
2018-08-28 02:56:31 +03:00
parent 97eee0e27a
commit 2f717614fb
9 changed files with 100 additions and 16 deletions

View File

@@ -118,6 +118,10 @@ function Game(controller, selectedSong, songData){
if(circle){
if(controller.autoPlay(circle)){
return
}
if(controller.getKeys()[86]){
if(!circle.getPlayed() && !controller.isWaitingForKeyup(86, "score") && circle.getStatus()!=-1){
var score = _this.checkScore(circle);