From 5cbad4be539224068d34504df692974b17f49fa0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 11 Jun 2022 18:17:06 +0200 Subject: a --- doc/atlas.json | 18 ------------------ doc/atlas.json.example | 36 ++++++++++++++++++------------------ 2 files changed, 18 insertions(+), 36 deletions(-) delete mode 100644 doc/atlas.json (limited to 'doc') 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 -- cgit v1.2.3