Moving maps to their own container
This commit is contained in:
parent
ed146226cf
commit
2484e4f1df
25 changed files with 140 additions and 4 deletions
|
@ -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) => {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue