summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-11-11 20:32:11 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-11-11 20:32:11 +0100
commit31299e79130fe75219cd0e2b821d524d999c332a (patch)
tree82e0c0299ad8d5b7a14218c545cb07c0d7b9340e
parentec0e51231f95b4d847e4e94eb7146d3a0c159512 (diff)
downloadrpgedit-31299e79130fe75219cd0e2b821d524d999c332a.tar
rpgedit-31299e79130fe75219cd0e2b821d524d999c332a.zip
resources: more test level elements
-rw-r--r--dist/resources/map/test.json61
-rw-r--r--dist/resources/sprite/tile/stone/border/bottom_left.pngbin0 -> 930 bytes
-rw-r--r--dist/resources/sprite/tile/stone/border/bottom_right.pngbin0 -> 927 bytes
-rw-r--r--dist/resources/sprite/tile/water.pngbin0 -> 778 bytes
4 files changed, 34 insertions, 27 deletions
diff --git a/dist/resources/map/test.json b/dist/resources/map/test.json
index c4f4f22..ec3b3fb 100644
--- a/dist/resources/map/test.json
+++ b/dist/resources/map/test.json
@@ -13,41 +13,44 @@
"stone/wall/top_left_inner",
"stone/wall/top_right_inner",
"stone/wall/bottom_right_inner",
- "stone/wall/bottom_left_inner"
+ "stone/wall/bottom_left_inner",
+ "water",
+ "stone/border/bottom_right",
+ "stone/border/bottom_left"
],
"layers": [
{
"tiles": [
- [0, 7, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 8, 0],
- [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
- [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
- [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0],
- [3, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 3],
- [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],
- [5, 14, 1, 1, 1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1],
+ [ 6, 1],
+ [ 6, 2],
+ [ 8, 2],
+ [ 8, 1],
[12, 1],
[12, 5],
[14, 5],
diff --git a/dist/resources/sprite/tile/stone/border/bottom_left.png b/dist/resources/sprite/tile/stone/border/bottom_left.png
new file mode 100644
index 0000000..ed9be55
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/border/bottom_left.png
Binary files differ
diff --git a/dist/resources/sprite/tile/stone/border/bottom_right.png b/dist/resources/sprite/tile/stone/border/bottom_right.png
new file mode 100644
index 0000000..71782d2
--- /dev/null
+++ b/dist/resources/sprite/tile/stone/border/bottom_right.png
Binary files differ
diff --git a/dist/resources/sprite/tile/water.png b/dist/resources/sprite/tile/water.png
new file mode 100644
index 0000000..4a96543
--- /dev/null
+++ b/dist/resources/sprite/tile/water.png
Binary files differ