aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-15 15:01:01 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-15 15:01:01 +0100
commitd587895b25408dd904753e24548f4e92eafd1010 (patch)
tree9a3ff15a077bc7893b801894b2a7fdc4f9924f81
parentee52f38cec3762f6aa6ca0cfe6a0ac642c26897c (diff)
downloadgold-mine-run-d587895b25408dd904753e24548f4e92eafd1010.tar.gz
gold-mine-run-d587895b25408dd904753e24548f4e92eafd1010.zip
Level design, stages 1 to 3
-rw-r--r--data/stage01.json96
-rw-r--r--data/stage02.json136
-rw-r--r--src/data.h1
3 files changed, 40 insertions, 193 deletions
diff --git a/data/stage01.json b/data/stage01.json
index bea8cc7..c4667fa 100644
--- a/data/stage01.json
+++ b/data/stage01.json
@@ -3,7 +3,7 @@
"infinite":false,
"layers":[
{
- "data":[41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 61, 62, 41, 42, 3, 4, 5, 6, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 6, 4, 3, 4, 3, 4, 45, 45, 45, 45, 45, 45, 45, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 45, 45, 45, 45, 45, 45, 45, 24, 23, 24, 1, 1, 1, 1, 1, 2, 1, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 1, 2, 1, 1, 1, 2, 1, 4, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 3, 4, 3, 4, 3, 4, 3, 101, 101, 4, 3, 4, 41, 42, 61, 62, 23, 24, 5, 6, 23, 24, 23, 22, 23, 24, 23, 22, 23, 24, 23, 24, 23, 24, 23, 24, 23, 45, 45, 45, 45, 45, 23, 24, 45, 45, 45, 45, 45, 45, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 3, 22, 3, 4, 3, 4, 3, 4, 3, 4, 3, 1, 1, 1, 1, 2, 3, 4, 2, 1, 1, 1, 1, 1, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 23, 22, 23, 24, 23, 22, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 22, 23, 24, 22, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 45, 45, 45, 45, 45, 45, 45, 45, 45, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 45, 45, 45, 45, 45, 3, 4, 5, 6, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 1, 1, 2, 1, 1, 1, 1, 1, 1, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 1, 1, 1, 2, 1, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 4, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 22, 4, 3, 4, 3, 4, 3, 4, 41, 42, 61, 62, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 24, 45, 45, 45, 45, 45, 45, 23, 24, 61, 62, 41, 42, 7, 8, 1, 2, 1, 1, 1, 2, 1, 1, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 1, 1, 2, 1, 1, 1, 3, 4, 41, 42, 61, 62, 27, 28, 23, 22, 23, 24, 23, 22, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 22, 24, 23, 24, 23, 24, 61, 62, 41, 42, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 3, 5, 6, 4, 3, 4, 3, 4, 3, 4, 3, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 41, 42, 61, 62, 1, 1, 1, 2, 1, 1, 1, 2, 46, 47, 1, 1, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 1, 1, 48, 49, 1, 1, 1, 2, 1, 1, 1, 1, 1, 61, 62, 41, 42, 3, 4, 3, 22, 3, 4, 3, 22, 66, 67, 3, 4, 3, 4, 3, 4, 3, 4, 5, 6, 3, 4, 3, 4, 3, 68, 69, 4, 3, 4, 22, 4, 5, 6, 3, 4, 41, 42, 41, 42, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 43, 44, 3, 4, 3, 4, 3, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 41, 42, 101, 101, 101, 101, 101, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62],
+ "data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 61, 62, 23, 5, 6, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 5, 6, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 5, 6, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 45, 45, 45, 45, 45, 45, 45, 45, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 45, 45, 45, 45, 45, 45, 45, 45, 3, 4, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 1, 1, 1, 1, 2, 1, 1, 1, 23, 24, 5, 6, 23, 63, 64, 24, 23, 24, 23, 24, 1, 1, 1, 2, 1, 1, 1, 1, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 5, 6, 3, 4, 3, 4, 22, 4, 3, 4, 3, 4, 3, 4, 3, 41, 42, 4, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 3, 4, 3, 4, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 61, 62, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 4, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 22, 24, 23, 24, 23, 24, 23, 24, 23, 61, 62, 24, 23, 24, 23, 24, 5, 6, 23, 22, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 41, 42, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 3, 4, 3, 4, 41, 42, 61, 62, 7, 8, 23, 24, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 5, 6, 23, 24, 61, 62, 41, 42, 27, 28, 3, 4, 3, 4, 3, 4, 22, 4, 3, 4, 3, 4, 3, 5, 6, 41, 42, 4, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 3, 4, 3, 4, 3, 4, 41, 42, 61, 62, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 61, 62, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 61, 62, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 41, 42, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"height":23,
"id":1,
"name":"Map",
@@ -15,7 +15,7 @@
"y":0
},
{
- "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":23,
"id":2,
"name":"Gold",
@@ -44,52 +44,30 @@
},
{
"height":16,
- "id":5,
- "name":"Time",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":80,
- "y":128
- },
- {
- "height":16,
- "id":13,
- "name":"Pickaxe",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":120,
- "y":152
- },
- {
- "height":16,
- "id":16,
- "name":"GoldKey",
+ "id":24,
+ "name":"Snake",
"rotation":0,
"type":"",
"visible":true,
"width":16,
- "x":40,
+ "x":64,
"y":104
},
{
"height":16,
- "id":12,
- "name":"Bonus",
+ "id":26,
+ "name":"Snake",
"rotation":0,
"type":"",
"visible":true,
"width":16,
- "x":80,
+ "x":184,
"y":80
},
{
"height":16,
- "id":6,
- "name":"Old",
+ "id":25,
+ "name":"Snake",
"properties":[
{
"name":"dir",
@@ -100,46 +78,13 @@
"type":"",
"visible":true,
"width":16,
- "x":192,
- "y":152
- },
- {
- "height":16,
- "id":8,
- "name":"Snake",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":144,
- "y":32
- },
- {
- "height":16,
- "id":19,
- "name":"Snake",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":224,
- "y":128
+ "x":240,
+ "y":104
},
{
"height":16,
- "id":14,
+ "id":27,
"name":"Snake",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":88,
- "y":40
- },
- {
- "height":16,
- "id":9,
- "name":"Bones",
"properties":[
{
"name":"dir",
@@ -150,19 +95,8 @@
"type":"",
"visible":true,
"width":16,
- "x":112,
+ "x":120,
"y":80
- },
- {
- "height":16,
- "id":21,
- "name":"SilverKey",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":72,
- "y":104
}],
"opacity":1,
"type":"objectgroup",
@@ -171,7 +105,7 @@
"y":0
}],
"nextlayerid":4,
- "nextobjectid":22,
+ "nextobjectid":28,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.7.2",
diff --git a/data/stage02.json b/data/stage02.json
index 2c4c2a1..9c9c88d 100644
--- a/data/stage02.json
+++ b/data/stage02.json
@@ -3,7 +3,7 @@
"infinite":false,
"layers":[
{
- "data":[41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 61, 62, 41, 42, 3, 4, 5, 6, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 6, 4, 3, 4, 3, 4, 45, 45, 45, 45, 45, 45, 45, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 45, 45, 45, 45, 45, 45, 45, 24, 23, 24, 1, 1, 1, 1, 1, 2, 1, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 1, 2, 1, 1, 1, 2, 1, 4, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 3, 4, 3, 4, 3, 4, 3, 101, 101, 4, 3, 4, 41, 42, 61, 62, 23, 24, 5, 6, 23, 24, 23, 22, 23, 24, 23, 22, 23, 24, 23, 24, 23, 24, 23, 24, 23, 45, 45, 45, 45, 45, 23, 24, 45, 45, 45, 45, 45, 45, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 3, 22, 3, 4, 3, 4, 3, 4, 3, 4, 3, 1, 1, 1, 1, 2, 3, 4, 2, 1, 1, 1, 1, 1, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 24, 23, 22, 23, 24, 23, 22, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 22, 23, 24, 22, 24, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 45, 45, 45, 45, 45, 45, 45, 45, 45, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 45, 45, 45, 45, 45, 3, 4, 5, 6, 3, 4, 41, 42, 61, 62, 23, 24, 23, 24, 23, 1, 1, 2, 1, 1, 1, 1, 1, 1, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 1, 1, 1, 2, 1, 23, 24, 23, 24, 23, 24, 61, 62, 41, 42, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 22, 4, 3, 4, 3, 4, 3, 4, 41, 42, 61, 62, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 24, 23, 24, 23, 24, 23, 24, 45, 45, 45, 45, 45, 45, 23, 24, 61, 62, 41, 42, 7, 8, 1, 2, 1, 1, 1, 2, 1, 1, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 1, 1, 2, 1, 1, 1, 3, 4, 41, 42, 61, 62, 27, 28, 23, 22, 23, 24, 23, 22, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 22, 24, 23, 24, 23, 24, 61, 62, 41, 42, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 3, 4, 3, 5, 6, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 41, 42, 61, 62, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 5, 6, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 61, 62, 41, 42, 3, 4, 3, 22, 3, 4, 3, 22, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 5, 6, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 22, 4, 5, 6, 3, 4, 41, 42, 41, 42, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 43, 44, 3, 4, 3, 4, 3, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 41, 42, 101, 101, 101, 101, 101, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62],
+ "data":[1, 1, 1, 1, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 5, 6, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 4, 3, 4, 3, 4, 43, 44, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 43, 44, 3, 4, 3, 4, 5, 6, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 4, 3, 4, 3, 4, 41, 42, 3, 4, 5, 6, 3, 4, 3, 4, 3, 4, 3, 4, 41, 42, 3, 4, 3, 4, 3, 4, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 5, 6, 24, 61, 62, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 61, 62, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 4, 3, 4, 3, 4, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 5, 6, 4, 3, 4, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 22, 23, 24, 23, 24, 22, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 4, 3, 4, 3, 4, 43, 44, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 43, 44, 3, 4, 3, 4, 3, 4, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 5, 6, 4, 3, 4, 41, 42, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 6, 4, 41, 42, 3, 4, 3, 4, 3, 4, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 61, 62, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 61, 62, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 4, 3, 4, 3, 4, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 4, 3, 5, 6, 4, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 22, 5, 6, 23, 24, 22, 24, 23, 24, 23, 24, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 4, 3, 4, 3, 4, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 3, 4, 3, 4, 3, 4, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 23, 24, 7, 8, 23, 24, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 23, 24, 23, 24, 23, 24, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 3, 4, 27, 28, 3, 4, 3, 4, 22, 4, 5, 6, 3, 4, 3, 4, 3, 4, 3, 22, 3, 4, 3, 5, 6, 4, 3, 4, 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, 61, 62, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 3, 4, 3, 4, 3, 4, 5, 6, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 61, 62, 1, 1, 1, 1, 1, 1, 1, 1, 41, 42, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 101, 101, 101, 101, 101, 101, 101, 101, 61, 62, 61, 62, 61, 62, 61, 62, 61, 62, 41, 42, 1, 1, 1, 1],
"height":23,
"id":1,
"name":"Map",
@@ -15,7 +15,7 @@
"y":0
},
{
- "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":23,
"id":2,
"name":"Gold",
@@ -39,101 +39,24 @@
"type":"",
"visible":true,
"width":16,
- "x":16,
- "y":128
- },
- {
- "height":16,
- "id":4,
- "name":"Bat",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":160,
- "y":96
- },
- {
- "height":16,
- "id":20,
- "name":"Bat",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":240,
- "y":32
- },
- {
- "height":16,
- "id":17,
- "name":"Bat",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":184,
- "y":104
- },
- {
- "height":16,
- "id":18,
- "name":"Bat",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":152,
- "y":120
- },
- {
- "height":16,
- "id":5,
- "name":"Time",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":80,
- "y":128
- },
- {
- "height":16,
- "id":13,
- "name":"Pickaxe",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":120,
+ "x":64,
"y":152
},
{
"height":16,
- "id":16,
- "name":"Pickaxe",
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
- "x":272,
- "y":128
- },
- {
- "height":16,
- "id":12,
- "name":"Bonus",
+ "id":22,
+ "name":"Snake",
"rotation":0,
"type":"",
"visible":true,
"width":16,
- "x":80,
- "y":80
+ "x":112,
+ "y":104
},
{
"height":16,
- "id":6,
- "name":"Old",
+ "id":27,
+ "name":"Snake",
"properties":[
{
"name":"dir",
@@ -145,55 +68,44 @@
"visible":true,
"width":16,
"x":192,
- "y":152
+ "y":128
},
{
"height":16,
- "id":8,
- "name":"Snake",
+ "id":25,
+ "name":"Bonus",
"rotation":0,
"type":"",
"visible":true,
"width":16,
- "x":144,
+ "x":192,
"y":32
},
{
"height":16,
- "id":19,
+ "id":24,
"name":"Snake",
+ "properties":[
+ {
+ "name":"dir",
+ "type":"string",
+ "value":"left"
+ }],
"rotation":0,
"type":"",
"visible":true,
"width":16,
- "x":224,
- "y":128
+ "x":192,
+ "y":56
},
{
"height":16,
- "id":14,
+ "id":26,
"name":"Snake",
"rotation":0,
"type":"",
"visible":true,
"width":16,
- "x":88,
- "y":40
- },
- {
- "height":16,
- "id":9,
- "name":"Bones",
- "properties":[
- {
- "name":"dir",
- "type":"string",
- "value":"left"
- }],
- "rotation":0,
- "type":"",
- "visible":true,
- "width":16,
"x":112,
"y":80
}],
@@ -204,7 +116,7 @@
"y":0
}],
"nextlayerid":4,
- "nextobjectid":21,
+ "nextobjectid":28,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.7.2",
diff --git a/src/data.h b/src/data.h
index 29377cb..1d9a351 100644
--- a/src/data.h
+++ b/src/data.h
@@ -16,6 +16,7 @@ extern const uint8_t binary_intro_start[];
/* maps */
extern const uint8_t binary_stage01_start[];
extern const uint8_t binary_stage02_start[];
+extern const uint8_t binary_stage03_start[];
/* sound */
extern const uint8_t binary_music_start[];