summaryrefslogtreecommitdiffstats
path: root/static/resources/entity/square.json
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-12-08 12:39:18 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-12-08 12:39:18 +0100
commitb3950330e3351437f153c6c1debb3821d6e28864 (patch)
tree0b381b523045bd59cd679825a11976a45813fc24 /static/resources/entity/square.json
parent439dcf391784ea3abb61473c74b9c27fcd9fdc2d (diff)
downloadrpgedit-b3950330e3351437f153c6c1debb3821d6e28864.tar
rpgedit-b3950330e3351437f153c6c1debb3821d6e28864.zip
Create Electron app
Diffstat (limited to 'static/resources/entity/square.json')
-rw-r--r--static/resources/entity/square.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/static/resources/entity/square.json b/static/resources/entity/square.json
new file mode 100644
index 0000000..643cfb6
--- /dev/null
+++ b/static/resources/entity/square.json
@@ -0,0 +1,23 @@
+{
+ "sprite": "square",
+ "collision": [
+ {
+ "type": "polygon",
+ "vertices": [
+ [-0.46875, -0.46875],
+ [-0.46875, 0.46875],
+ [0.46875, 0.46875],
+ [0.46875, -0.46875]
+ ]
+ }
+ ],
+ "frames": 4,
+ "animation": {
+ "sequence": [
+ [500, 0],
+ [500, 1],
+ [500, 2],
+ [500, 3]
+ ]
+ }
+}