Moving maps to their own container

This commit is contained in:
David Négrier 2020-07-23 18:43:51 +02:00
parent ed146226cf
commit 2484e4f1df
25 changed files with 140 additions and 4 deletions

View file

@ -42,7 +42,7 @@ class MySprite extends Sprite {
export default {
preload: (loader: Phaser.Loader.LoaderPlugin) => {
loader.atlas('computer', 'http://maps.workadventure.localhost/computer/computer.png', 'http://maps.workadventure.localhost/computer/computer_atlas.json');
loader.atlas('computer', '/resources/items/computer/computer.png', '/resources/items/computer/computer_atlas.json');
},
create: (scene: Scene) => {