aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorIndrajith K L2022-03-05 05:44:05 +0530
committerIndrajith K L2022-03-05 05:44:05 +0530
commit37bf7eab28727f428cf456c61f698e0a3be55bb0 (patch)
treea7015077b87f334821887020d2f6f70f4a5f9f28 /assets
parent7683830ed25213c4e444c5587559fe803b480ea7 (diff)
downloadYEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.tar.gz
YEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.tar.bz2
YEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.zip
* Player/ Enemy Chase
* Pickable Entity * Enemies
Diffstat (limited to 'assets')
-rw-r--r--assets/images/heart.pngbin0 -> 143 bytes
-rw-r--r--assets/images/tileset.pngbin3024 -> 3011 bytes
-rw-r--r--assets/maps/level1.lua80
-rw-r--r--assets/sfx/heart.wavbin0 -> 31062 bytes
4 files changed, 50 insertions, 30 deletions
diff --git a/assets/images/heart.png b/assets/images/heart.png
new file mode 100644
index 0000000..f7d9baf
--- /dev/null
+++ b/assets/images/heart.png
Binary files differ
diff --git a/assets/images/tileset.png b/assets/images/tileset.png
index cd90a99..3d95459 100644
--- a/assets/images/tileset.png
+++ b/assets/images/tileset.png
Binary files differ
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 = {}
diff --git a/assets/sfx/heart.wav b/assets/sfx/heart.wav
new file mode 100644
index 0000000..6233a23
--- /dev/null
+++ b/assets/sfx/heart.wav
Binary files differ