Add 2-player mode

This commit is contained in:
LoveEevee
2018-09-12 20:10:00 +03:00
parent 7744fdac45
commit 8e99da6aa2
12 changed files with 813 additions and 370 deletions

View File

@@ -51,6 +51,8 @@ class Loader{
}))
})
p2 = new P2Connection()
this.promises.push(ajax("/api/songs").then(songs => {
assets.songs = JSON.parse(songs)
}))
@@ -100,4 +102,5 @@ function promiseLoad(asset){
}
var snd = {}
var p2
new Loader()