Skip to content

Commit

Permalink
Fixes sunny land template.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhaserEditor2D committed Oct 31, 2020
1 parent ade934c commit 8259e2f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ class Level extends Phaser.Scene {
const map = this.add.tilemap("map");
map.addTilesetImage("tileset", "tileset");

// map_1
const map_1 = this.add.tilemap("map");
map_1.addTilesetImage("tileset", "tileset");

// back3
const back3 = this.add.image(0, 0, "back");
back3.setOrigin(0, 0);
Expand Down Expand Up @@ -232,7 +228,6 @@ class Level extends Phaser.Scene {
this.right_button = right_button;
this.jump_button = jump_button;
this.map = map;
this.map_1 = map_1;
this.items = items;
this.enemies = enemies;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,18 +468,6 @@
"imageKey": "tileset"
}
]
},
{
"id": "a1061f1d-0479-4a10-839f-294ee33c167e",
"type": "Tilemap",
"label": "map_1",
"key": "map",
"tilesets": [
{
"name": "tileset",
"imageKey": "tileset"
}
]
}
],
"meta": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ window.addEventListener('load', function () {
});

game.scene.add("Boot", Boot, true);

document.body.addEventListener("pointerdown", () => {

game.scale.startFullscreen();
});
});

class Boot extends Phaser.Scene {
Expand Down

0 comments on commit 8259e2f

Please sign in to comment.