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

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

View File

@@ -0,0 +1,2 @@
$1825b6a1-842d-4565-97e0-2005118b2b2b2 ( :+com.bartlomiejpluta.demo.map.ForrestHandler

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,11 @@
package com.bartlomiejpluta.demo.map;
import com.bartlomiejpluta.base.api.context.Context;
import com.bartlomiejpluta.base.api.input.Input;
import com.bartlomiejpluta.base.api.map.model.GameMap;
import com.bartlomiejpluta.base.api.map.handler.MapHandler;
import com.bartlomiejpluta.base.api.screen.Screen;
public class HeroHomeHandler extends BaseMapHandler {
}

View File

@@ -0,0 +1,5 @@
package com.bartlomiejpluta.demo.map;
public class HeroHouse extends BaseMapHandler {
}

View File

@@ -1,5 +0,0 @@
package com.bartlomiejpluta.demo.map;
public class HomeHandler extends BaseMapHandler {
}

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();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB