Change drum to match Switch, add fullscreen to songsel, fix tutorial

This commit is contained in:
LoveEevee
2018-10-06 16:24:23 +03:00
parent 57632a83e5
commit e1b8b45d88
14 changed files with 121 additions and 175 deletions

View File

@@ -15,7 +15,11 @@ class Titlescreen{
}
})
}
onPressed(){
onPressed(event){
if(event && event.type === "touchstart"){
event.preventDefault()
this.touched = true
}
this.titleScreen.style.cursor = "auto"
this.clean()
assets.sounds["don"].play()
@@ -25,7 +29,7 @@ class Titlescreen{
if(localStorage.getItem("tutorial") !== "true"){
new Tutorial()
}else{
new SongSelect()
new SongSelect(false, false, this.touched)
}
}
clean(){