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

@ -8,7 +8,7 @@ import {ActionableItem} from "../ActionableItem";
export default {
preload: (loader: Phaser.Loader.LoaderPlugin): void => {
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: GameScene): void => {