diff --git a/projects/flixel/rpg-tutorial/assets/data/room-001.json b/projects/flixel/rpg-tutorial/assets/data/room-001.json index 5bb62caf..8a2b192e 100644 --- a/projects/flixel/rpg-tutorial/assets/data/room-001.json +++ b/projects/flixel/rpg-tutorial/assets/data/room-001.json @@ -31,7 +31,12 @@ {"name": "coin", "id": 13, "_eid": "72607845", "x": 272, "y": 112, "originX": 0, "originY": 0}, {"name": "coin", "id": 14, "_eid": "72607845", "x": 208, "y": 96, "originX": 0, "originY": 0}, {"name": "coin", "id": 15, "_eid": "72607845", "x": 176, "y": 128, "originX": 0, "originY": 0}, - {"name": "coin", "id": 16, "_eid": "72607845", "x": 352, "y": 80, "originX": 0, "originY": 0} + {"name": "coin", "id": 16, "_eid": "72607845", "x": 352, "y": 80, "originX": 0, "originY": 0}, + {"name": "enemy", "id": 17, "_eid": "23281894", "x": 384, "y": 256, "originX": 0, "originY": 0}, + {"name": "enemy", "id": 18, "_eid": "23281894", "x": 272, "y": 192, "originX": 0, "originY": 0}, + {"name": "enemy", "id": 19, "_eid": "23281894", "x": 352, "y": 112, "originX": 0, "originY": 0}, + {"name": "boss", "id": 20, "_eid": "23280424", "x": 192, "y": 112, "originX": 0, "originY": 0}, + {"name": "enemy", "id": 21, "_eid": "23281894", "x": 384, "y": 32, "originX": 0, "originY": 0} ] }, { diff --git a/projects/flixel/rpg-tutorial/assets/data/turnBasedRPG.ogmo b/projects/flixel/rpg-tutorial/assets/data/turnBasedRPG.ogmo index 03a920c1..9b816a6a 100644 --- a/projects/flixel/rpg-tutorial/assets/data/turnBasedRPG.ogmo +++ b/projects/flixel/rpg-tutorial/assets/data/turnBasedRPG.ogmo @@ -54,7 +54,7 @@ {"x": 1, "y": 1} ] }, - "color": "#ff0000ff", + "color": "#32ff00ff", "tileX": false, "tileY": false, "tileSize": {"x": 16, "y": 16}, @@ -107,6 +107,78 @@ "nodeGhost": true, "tags": [], "values": [] + }, + { + "exportID": "23281894", + "name": "enemy", + "limit": -1, + "size": {"x": 16, "y": 16}, + "origin": {"x": 0, "y": 0}, + "originAnchored": true, + "shape": { + "label": "Rectangle", + "points": [ + {"x": -1, "y": -1}, + {"x": 1, "y": -1}, + {"x": -1, "y": 1}, + {"x": 1, "y": -1}, + {"x": -1, "y": 1}, + {"x": 1, "y": 1} + ] + }, + "color": "#ff6700ff", + "tileX": false, + "tileY": false, + "tileSize": {"x": 16, "y": 16}, + "resizeableX": false, + "resizeableY": false, + "rotatable": false, + "rotationDegrees": 360, + "canFlipX": false, + "canFlipY": false, + "canSetColor": false, + "hasNodes": false, + "nodeLimit": 0, + "nodeDisplay": 0, + "nodeGhost": true, + "tags": [], + "values": [] + }, + { + "exportID": "23280424", + "name": "boss", + "limit": -1, + "size": {"x": 16, "y": 16}, + "origin": {"x": 0, "y": 0}, + "originAnchored": true, + "shape": { + "label": "Rectangle", + "points": [ + {"x": -1, "y": -1}, + {"x": 1, "y": -1}, + {"x": -1, "y": 1}, + {"x": 1, "y": -1}, + {"x": -1, "y": 1}, + {"x": 1, "y": 1} + ] + }, + "color": "#ff0000ff", + "tileX": false, + "tileY": false, + "tileSize": {"x": 16, "y": 16}, + "resizeableX": false, + "resizeableY": false, + "rotatable": false, + "rotationDegrees": 360, + "canFlipX": false, + "canFlipY": false, + "canSetColor": false, + "hasNodes": false, + "nodeLimit": 0, + "nodeDisplay": 0, + "nodeGhost": true, + "tags": [], + "values": [] } ], "tilesets": [ diff --git a/projects/flixel/rpg-tutorial/assets/images/boss.png b/projects/flixel/rpg-tutorial/assets/images/boss.png new file mode 100644 index 00000000..5e346d49 Binary files /dev/null and b/projects/flixel/rpg-tutorial/assets/images/boss.png differ diff --git a/projects/flixel/rpg-tutorial/assets/images/enemy.png b/projects/flixel/rpg-tutorial/assets/images/enemy.png new file mode 100644 index 00000000..7672375f Binary files /dev/null and b/projects/flixel/rpg-tutorial/assets/images/enemy.png differ