aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorIndrajith K L2022-03-02 03:36:05 +0530
committerIndrajith K L2022-03-02 03:36:05 +0530
commit6322712259d46fc7af82ae6271852a236f66ba6e (patch)
tree3b38362efa04e97cae6ee934242705fbd5f947c8 /assets
parent384dda3616c7007da1c88a67ff2daebd6037baa7 (diff)
downloadYEAD-6322712259d46fc7af82ae6271852a236f66ba6e.tar.gz
YEAD-6322712259d46fc7af82ae6271852a236f66ba6e.tar.bz2
YEAD-6322712259d46fc7af82ae6271852a236f66ba6e.zip
* Test Enemy Added
* Basic Hacky Enemy AI
Diffstat (limited to 'assets')
-rw-r--r--assets/maps/level1.lua31
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 = {}
}
}
},