Change GameScene to import new png, change map name and add missing png files
This commit is contained in:
parent
f00d10d56a
commit
84f0420694
BIN
front/dist/maps/tilesets_deviant_milkian_1.png
vendored
Normal file
BIN
front/dist/maps/tilesets_deviant_milkian_1.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
@ -41,8 +41,9 @@ export class GameScene extends Phaser.Scene implements GameSceneInterface{
|
|||||||
|
|
||||||
//hook preload scene
|
//hook preload scene
|
||||||
preload(): void {
|
preload(): void {
|
||||||
this.load.image(Textures.Tiles, 'maps/tiles.png');
|
this.load.image(Textures.Tiles, 'maps/floortileset.png');
|
||||||
this.load.tilemapTiledJSON(Textures.Map, 'maps/map2.json');
|
this.load.image(Textures.Tiles, 'maps/tilesets_deviant_milkian_1.png');
|
||||||
|
this.load.tilemapTiledJSON(Textures.Map, 'maps/map.json');
|
||||||
this.load.image(Textures.Rock, 'resources/objects/rockSprite.png');
|
this.load.image(Textures.Rock, 'resources/objects/rockSprite.png');
|
||||||
this.load.spritesheet(Textures.Player,
|
this.load.spritesheet(Textures.Player,
|
||||||
'resources/characters/pipoya/Male 01-1.png',
|
'resources/characters/pipoya/Male 01-1.png',
|
||||||
|
Loading…
Reference in New Issue
Block a user