CanvasDraw: Move vectors to assets

This commit is contained in:
LoveEevee
2019-01-29 19:10:56 +03:00
parent 933217d567
commit 4fdd98789e
7 changed files with 101 additions and 66 deletions

View File

@@ -79,6 +79,10 @@ class Loader{
assets.songs = assets.songsDefault
}))
this.addPromise(this.ajax(gameConfig.assets_baseurl + "img/vectors.json").then(response => {
vectors = JSON.parse(response)
}))
this.afterJSCount =
[assets.audioOgg, "blurPerformance", "P2Connection"].length +
assets.fonts.length +