From 6bd6757583510ba3edf75451309e4b8ec8c9b0f1 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 25 Jun 2023 22:44:23 +0100 Subject: Add entity system, add new enemy (snake) --- data/stage.json | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 113 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/stage.json b/data/stage.json index 2ae131e..9095400 100644 --- a/data/stage.json +++ b/data/stage.json @@ -41,6 +41,118 @@ "width":16, "x":16, "y":128 + }, + { + "height":16, + "id":2, + "name":"Snake", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":216, + "y":128 + }, + { + "height":16, + "id":3, + "name":"Snake", + "properties":[ + { + "name":"dir", + "type":"string", + "value":"left" + }], + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":288, + "y":128 + }, + { + "height":16, + "id":4, + "name":"Snake", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":184, + "y":152 + }, + { + "height":16, + "id":5, + "name":"Snake", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":32, + "y":152 + }, + { + "height":16, + "id":6, + "name":"Snake", + "properties":[ + { + "name":"dir", + "type":"string", + "value":"left" + }], + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":280, + "y":152 + }, + { + "height":16, + "id":7, + "name":"Snake", + "properties":[ + { + "name":"dir", + "type":"string", + "value":"left" + }], + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":112, + "y":152 + }, + { + "height":16, + "id":8, + "name":"Snake", + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":144, + "y":32 + }, + { + "height":16, + "id":9, + "name":"Snake", + "properties":[ + { + "name":"dir", + "type":"string", + "value":"left" + }], + "rotation":0, + "type":"", + "visible":true, + "width":16, + "x":112, + "y":80 }], "opacity":1, "type":"objectgroup", @@ -49,7 +161,7 @@ "y":0 }], "nextlayerid":4, - "nextobjectid":2, + "nextobjectid":10, "orientation":"orthogonal", "renderorder":"right-down", "tiledversion":"1.7.2", -- cgit v1.2.3