summaryrefslogtreecommitdiffstats
path: root/dist/resources
diff options
context:
space:
mode:
Diffstat (limited to 'dist/resources')
-rw-r--r--dist/resources/map/test.json110
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom.pngbin0 -> 1399 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom_left.pngbin0 -> 1643 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom_left_inner.pngbin0 -> 1458 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom_right.pngbin0 -> 1676 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom_right_inner.pngbin0 -> 1478 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/left.pngbin0 -> 1505 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/right.pngbin0 -> 1498 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top.pngbin0 -> 1374 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top_left.pngbin0 -> 1680 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top_left_inner.pngbin0 -> 1459 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top_right.pngbin0 -> 1640 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top_right_inner.pngbin0 -> 1459 bytes
13 files changed, 55 insertions, 55 deletions
diff --git a/dist/resources/map/test.json b/dist/resources/map/test.json
index 0fede44..57e5a23 100644
--- a/dist/resources/map/test.json
+++ b/dist/resources/map/test.json
@@ -1,72 +1,72 @@
{
"tiles": [
"stone/floor",
- "stone/plate"
+ "stone/plate",
+ "stone/wall/top",
+ "stone/wall/right",
+ "stone/wall/bottom",
+ "stone/wall/left",
+ "stone/wall/top_left",
+ "stone/wall/top_right",
+ "stone/wall/bottom_right",
+ "stone/wall/bottom_left",
+ "stone/wall/top_left_inner",
+ "stone/wall/top_right_inner",
+ "stone/wall/bottom_right_inner",
+ "stone/wall/bottom_left_inner"
],
"layers": [
[
- [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],
+ [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
+ [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
+ [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0],
+ [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0],
+ [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0],
+ [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0],
+ [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0],
+ [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0]
]
],
"collision": [
{
"type": "polygon",
"vertices": [
- [1, 1],
- [11, 1],
- [11, 5],
- [12, 5],
- [12, 7],
- [11, 7],
- [11, 11],
- [7, 11],
- [7, 12],
- [5, 12],
- [5, 11],
- [1, 11],
- [1, 7],
- [0, 7],
- [0, 5],
- [1, 5]
+ [ 2, 1],
+ [12, 1],
+ [12, 5],
+ [14, 5],
+ [14, 7],
+ [12, 7],
+ [12, 11],
+ [ 8, 11],
+ [ 8, 13],
+ [ 6, 13],
+ [ 6, 11],
+ [ 2, 11],
+ [ 2, 7],
+ [ 0, 7],
+ [ 0, 5],
+ [ 2, 5]
]
}
]
diff --git a/dist/resources/sprite/tile/stone/wall/bottom.png b/dist/resources/sprite/tile/stone/wall/bottom.png
new file mode 100644
index 0000000..13d0928
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/bottom.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/bottom_left.png b/dist/resources/sprite/tile/stone/wall/bottom_left.png
new file mode 100644
index 0000000..861565a
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/bottom_left.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png b/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png
new file mode 100644
index 0000000..348821c
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/bottom_right.png b/dist/resources/sprite/tile/stone/wall/bottom_right.png
new file mode 100644
index 0000000..4290010
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/bottom_right.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png b/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png
new file mode 100644
index 0000000..2c235ea
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/left.png b/dist/resources/sprite/tile/stone/wall/left.png
new file mode 100644
index 0000000..a7791ec
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/left.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/right.png b/dist/resources/sprite/tile/stone/wall/right.png
new file mode 100644
index 0000000..5f78ced
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/right.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/top.png b/dist/resources/sprite/tile/stone/wall/top.png
new file mode 100644
index 0000000..6ecad42
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/top.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/top_left.png b/dist/resources/sprite/tile/stone/wall/top_left.png
new file mode 100644
index 0000000..3a0c4fa
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/top_left.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/top_left_inner.png b/dist/resources/sprite/tile/stone/wall/top_left_inner.png
new file mode 100644
index 0000000..60d4b68
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/top_left_inner.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/top_right.png b/dist/resources/sprite/tile/stone/wall/top_right.png
new file mode 100644
index 0000000..9d06f10
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/top_right.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/wall/top_right_inner.png b/dist/resources/sprite/tile/stone/wall/top_right_inner.png
new file mode 100644
index 0000000..20cb074
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/wall/top_right_inner.png
Binary files differ