summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rw-r--r--dist/resources/entity/water.json12
-rw-r--r--dist/resources/map/test.json34
-rw-r--r--dist/resources/sprite/entity/water.pngbin0 -> 1718 bytes
-rw-r--r--dist/resources/sprite/tile/water.pngbin778 -> 0 bytes
4 files changed, 29 insertions, 17 deletions
diff --git a/dist/resources/entity/water.json b/dist/resources/entity/water.json
new file mode 100644
index 0000000..79c7780
--- /dev/null
+++ b/dist/resources/entity/water.json
@@ -0,0 +1,12 @@
+{
+ "sprite": "water",
+ "frames": 4,
+ "animation": {
+ "sequence": [
+ [500, 0],
+ [500, 1],
+ [500, 2],
+ [500, 3]
+ ]
+ }
+}
diff --git a/dist/resources/map/test.json b/dist/resources/map/test.json
index ec3b3fb..91efc19 100644
--- a/dist/resources/map/test.json
+++ b/dist/resources/map/test.json
@@ -1,22 +1,22 @@
{
"tiles": [
- "stone/floor",
- "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",
- "water",
- "stone/border/bottom_right",
- "stone/border/bottom_left"
+ "-stone/floor",
+ "-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",
+ "@water",
+ "-stone/border/bottom_right",
+ "-stone/border/bottom_left"
],
"layers": [
{
diff --git a/dist/resources/sprite/entity/water.png b/dist/resources/sprite/entity/water.png
new file mode 100644
index 0000000..61c2d4f
--- /dev/null
+++ b/dist/resources/sprite/entity/water.png
Binary files differ
diff --git a/dist/resources/sprite/tile/water.png b/dist/resources/sprite/tile/water.png
deleted file mode 100644
index 4a96543..0000000
--- a/dist/resources/sprite/tile/water.png
+++ /dev/null
Binary files differ