summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-06-10 19:56:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-06-10 19:56:33 +0200
commit4fdc7abb291e871fa7606a5d3c51672508249f0f (patch)
treec9e97269abb05539baad611c34d4e8db5c1a19a7 /doc
parent9fa9dda6052d584326a68ed69fa8e8619f13b99b (diff)
.
Diffstat (limited to 'doc')
-rw-r--r--doc/atlas.json18
-rw-r--r--doc/atlas.json.example18
2 files changed, 36 insertions, 0 deletions
diff --git a/doc/atlas.json b/doc/atlas.json
new file mode 100644
index 00000000..53f9722c
--- /dev/null
+++ b/doc/atlas.json
@@ -0,0 +1,18 @@
+{
+ "name": "character",
+ "nframes": 24,
+ "actionframe": 0,
+ "fps": 1,
+ "groups": [
+ { "direction": "N", "frames": [], "ground": {"x":484, "y":488} },
+ { "direction": "NE", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "E", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "SE", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "S", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "SW", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "W", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "NW", "frames": [], "ground": {"x": 0, "y": 0} }
+ ]
+}
+
+// vim: ft=javascript
diff --git a/doc/atlas.json.example b/doc/atlas.json.example
new file mode 100644
index 00000000..9d54b5be
--- /dev/null
+++ b/doc/atlas.json.example
@@ -0,0 +1,18 @@
+{
+ "name": "character",
+ "nframes": 24,
+ "actionframe": 0,
+ "fps": 24,
+ "directions": [
+ { "direction": "N", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "NE", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "E", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "SE", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "S", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "SW", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "W", "frames": [], "ground": {"x": 0, "y": 0} },
+ { "direction": "NW", "frames": [], "ground": {"x": 0, "y": 0} }
+ ]
+}
+
+// vim: ft=javascript