diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/atlas.json | 18 | ||||
| -rw-r--r-- | doc/atlas.json.example | 36 |
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
|
