summaryrefslogtreecommitdiffstats
path: root/static/resources
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-01-08 12:23:05 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-01-08 12:23:05 +0100
commit8ee24fdbdfb2f64899e68d44e4c4f236c8c34e86 (patch)
treeadd8e6a3d892f2d03bc8602a753b14f55879a2c8 /static/resources
parent4de2a6636a4de682edc5c3bbd4d1f5e940e879a3 (diff)
downloadrpgedit-8ee24fdbdfb2f64899e68d44e4c4f236c8c34e86.tar
rpgedit-8ee24fdbdfb2f64899e68d44e4c4f236c8c34e86.zip
Add support for subtiles
Diffstat (limited to 'static/resources')
-rw-r--r--static/resources/map/test.json6
-rw-r--r--static/resources/sprite/tile/road.pngbin0 -> 329 bytes
2 files changed, 3 insertions, 3 deletions
diff --git a/static/resources/map/test.json b/static/resources/map/test.json
index e76b195..4689076 100644
--- a/static/resources/map/test.json
+++ b/static/resources/map/test.json
@@ -1,8 +1,8 @@
{
"tiles": {
- "G": {"rotate": 0, "file": "grass"},
- "<": {"rotate": 0, "file": "road_left"},
- ">": {"rotate": 0, "file": "road_right"}
+ "G": {"file": "grass"},
+ "<": {"file": "road", "subtile": 0},
+ ">": {"file": "road", "subtile": 1}
},
"collision": [
"00000000000110000000000000000000",
diff --git a/static/resources/sprite/tile/road.png b/static/resources/sprite/tile/road.png
new file mode 100644
index 0000000..93e0a81
--- /dev/null
+++ b/static/resources/sprite/tile/road.png
Binary files differ