Change GameScene to import new png, change map name and add missing png files

This commit is contained in:
NIP 2020-04-13 20:34:19 +02:00
parent f00d10d56a
commit 84f0420694
2 changed files with 3 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -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',