Import some assets and create maps in new format

This commit is contained in:
2022-08-30 21:22:32 +02:00
parent c86f042cf8
commit 5cf94454cf
26 changed files with 21 additions and 8 deletions

View File

@@ -82,9 +82,9 @@ public class DemoRunner implements GameRunner {
menu.closeAll();
menu.enableGameMenu();
resetPlayer();
// context.openMap(A.maps.home.uid);
// context.getMap().getObjectLayer(A.maps.home.layers.main).addEntity(this.player);
player.setCoordinates(17, 9);
context.openMap(A.maps.hero_home.uid);
context.getMap().getObjectLayer(A.maps.hero_home.layers.main).addEntity(this.player);
player.setCoordinates(11, 14);
context.resume();
hud.show();
}