diff options
author | Indrajith K L | 2022-03-05 05:44:05 +0530 |
---|---|---|
committer | Indrajith K L | 2022-03-05 05:44:05 +0530 |
commit | 37bf7eab28727f428cf456c61f698e0a3be55bb0 (patch) | |
tree | a7015077b87f334821887020d2f6f70f4a5f9f28 /assets/maps/level1.lua | |
parent | 7683830ed25213c4e444c5587559fe803b480ea7 (diff) | |
download | YEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.tar.gz YEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.tar.bz2 YEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.zip |
* Player/ Enemy Chase
* Pickable Entity
* Enemies
Diffstat (limited to 'assets/maps/level1.lua')
-rw-r--r-- | assets/maps/level1.lua | 80 |
1 files changed, 50 insertions, 30 deletions
diff --git a/assets/maps/level1.lua b/assets/maps/level1.lua index 3681b3e..fc68b04 100644 --- a/assets/maps/level1.lua +++ b/assets/maps/level1.lua @@ -9,7 +9,7 @@ return { tilewidth = 16, tileheight = 16, nextlayerid = 7, - nextobjectid = 33, + nextobjectid = 47, properties = {}, tilesets = { { @@ -233,9 +233,9 @@ return { 0, 0, 0, 0, 97, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, 130, 0, 0, 0, 0, 33, 34, 0, 0, 0, 3, 132, 133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 33, 34, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 37, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 33, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -306,50 +306,70 @@ return { }, { id = 27, - name = "potion", - type = "interactive", + name = "heart", + type = "pickable", shape = "rectangle", - x = 179.969, - y = 117, - width = 8.04438, - height = 11, + x = 166.333, + y = 103, + width = 8, + height = 8, rotation = 0, visible = true, properties = { ["interactive_type"] = "pickable", - ["message"] = "Acquired Potion" + ["message"] = "Health Increased", + ["value"] = "20" } }, { - id = 30, - name = "potion", - type = "interactive", + id = 44, + name = "heart", + type = "pickable", shape = "rectangle", - x = 211.917, - y = 85.0417, - width = 8.04438, - height = 11, + x = 203.038, + y = 83.6818, + width = 8, + height = 8, rotation = 0, visible = true, properties = { ["interactive_type"] = "pickable", - ["message"] = "Acquired Potion" + ["message"] = "Health Increased", + ["value"] = "20" } }, { - id = 31, - name = "potion", - type = "interactive", + id = 45, + name = "heart", + type = "pickable", + shape = "rectangle", + x = 199.288, + y = 117.932, + width = 8, + height = 8, + rotation = 0, + visible = true, + properties = { + ["interactive_type"] = "pickable", + ["message"] = "Health Increased", + ["value"] = "20" + } + }, + { + id = 46, + name = "heart", + type = "pickable", shape = "rectangle", - x = 227.943, - y = 116.965, - width = 8.04438, - height = 11, + x = 158.288, + y = 127.682, + width = 8, + height = 8, rotation = 0, visible = true, properties = { ["interactive_type"] = "pickable", - ["message"] = "Acquired Potion" + ["message"] = "Health Increased", + ["value"] = "20" } }, { @@ -357,10 +377,10 @@ return { name = "", type = "enemy", shape = "rectangle", - x = 128, - y = 48, - width = 16, - height = 16, + x = 23, + y = 18.3333, + width = 8, + height = 8, rotation = 0, visible = true, properties = {} |