summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-06-11 18:17:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-06-11 18:17:06 +0200
commit5cbad4be539224068d34504df692974b17f49fa0 (patch)
tree4f3d63807a6b6616210564a8a160c3f815effe73 /doc
parent0e0efba4ff04570f7a52255999352c64484e1e9f (diff)
a
Diffstat (limited to 'doc')
-rw-r--r--doc/atlas.json18
-rw-r--r--doc/atlas.json.example36
2 files changed, 18 insertions, 36 deletions
diff --git a/doc/atlas.json b/doc/atlas.json
deleted file mode 100644
index c5b05b15..00000000
--- a/doc/atlas.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "name": "character",
- "nframes": 24,
- "actionframe": 0,
- "fps": 24,
- "groups": [
- { "name": "n", "frames": [], "ground": {"x":484, "y":488} },
- { "name": "ne", "frames": [], "ground": {"x": 0, "y": 0} },
- { "name": "e", "frames": [], "ground": {"x": 0, "y": 0} },
- { "name": "se", "frames": [], "ground": {"x": 0, "y": 0} },
- { "name": "s", "frames": [], "ground": {"x": 0, "y": 0} },
- { "name": "sw", "frames": [], "ground": {"x": 0, "y": 0} },
- { "name": "w", "frames": [], "ground": {"x": 0, "y": 0} },
- { "name": "nw", "frames": [], "ground": {"x": 0, "y": 0} }
- ]
-}
-
-// vim: ft=javascript
diff --git a/doc/atlas.json.example b/doc/atlas.json.example
index 9d54b5be..bbb2796f 100644
--- a/doc/atlas.json.example
+++ b/doc/atlas.json.example
@@ -1,18 +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
+{
+ "name": "test",
+ "width": 0, "height": 0,
+ "nframes": 0, "fps": 24,
+ "actionframe": 0,
+
+ "groups": [
+ { "frames": [], "ground": "0 x 0", "name": "n" },
+ { "frames": [], "ground": "0 x 0", "name": "ne" },
+ { "frames": [], "ground": "0 x 0", "name": "e" },
+ { "frames": [], "ground": "0 x 0", "name": "se" },
+ { "frames": [], "ground": "0 x 0", "name": "s" },
+ { "frames": [], "ground": "0 x 0", "name": "sw" },
+ { "frames": [], "ground": "0 x 0", "name": "w" },
+ { "frames": [], "ground": "0 x 0", "name": "nw" }
+ ]
+}
+// vim: ft=javascript