diff options
author | Indrajith K L | 2022-03-02 03:36:05 +0530 |
---|---|---|
committer | Indrajith K L | 2022-03-02 03:36:05 +0530 |
commit | 6322712259d46fc7af82ae6271852a236f66ba6e (patch) | |
tree | 3b38362efa04e97cae6ee934242705fbd5f947c8 /assets/maps | |
parent | 384dda3616c7007da1c88a67ff2daebd6037baa7 (diff) | |
download | YEAD-6322712259d46fc7af82ae6271852a236f66ba6e.tar.gz YEAD-6322712259d46fc7af82ae6271852a236f66ba6e.tar.bz2 YEAD-6322712259d46fc7af82ae6271852a236f66ba6e.zip |
* Test Enemy Added
* Basic Hacky Enemy AI
Diffstat (limited to 'assets/maps')
-rw-r--r-- | assets/maps/level1.lua | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/assets/maps/level1.lua b/assets/maps/level1.lua index 423becc..3681b3e 100644 --- a/assets/maps/level1.lua +++ b/assets/maps/level1.lua @@ -9,7 +9,7 @@ return { tilewidth = 16, tileheight = 16, nextlayerid = 7, - nextobjectid = 32, + nextobjectid = 33, properties = {}, tilesets = { { @@ -300,8 +300,8 @@ return { rotation = 0, visible = true, properties = { - ["data"] = "Beware of the Alien Monster", - ["interactive_type"] = "message_notification" + ["interactive_type"] = "message_notification", + ["talker_data"] = "Beware of the Alien Monster" } }, { @@ -316,8 +316,8 @@ return { rotation = 0, visible = true, properties = { - ["data"] = "Acquired Potion", - ["interactive_type"] = "pickable" + ["interactive_type"] = "pickable", + ["message"] = "Acquired Potion" } }, { @@ -332,8 +332,8 @@ return { rotation = 0, visible = true, properties = { - ["data"] = "Acquired Potion", - ["interactive_type"] = "pickable" + ["interactive_type"] = "pickable", + ["message"] = "Acquired Potion" } }, { @@ -348,9 +348,22 @@ return { rotation = 0, visible = true, properties = { - ["data"] = "Acquired Potion", - ["interactive_type"] = "pickable" + ["interactive_type"] = "pickable", + ["message"] = "Acquired Potion" } + }, + { + id = 32, + name = "", + type = "enemy", + shape = "rectangle", + x = 128, + y = 48, + width = 16, + height = 16, + rotation = 0, + visible = true, + properties = {} } } }, |