Created
February 28, 2016 00:09
-
-
Save mcgrue/9970a621839d58af30bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - Each layer needs a uid 'name'. layers[0].name | |
| - Instances of entities should have a location.layer, which references said uid, and exists within the entity instance's location object. | |
| { | |
| "name": "tree", | |
| "filename": "chrs_json/object_tree2.json", | |
| "location": { | |
| "tx": 120, | |
| "ty": 75 | |
| "layer" : "layer_3" //// I DONT EXIST YET | |
| }, | |
| "facing": "Down", | |
| "pays_attention_to_obstructions": false, | |
| "is_an_obstruction": false, | |
| "autofaces": false, | |
| "speed": 100, | |
| "wander": { | |
| "mode": "Scripted", | |
| "delay": 0, | |
| "initial_movestring": "" | |
| }, | |
| "activation_script": "" | |
| } | |
| - Rendering of the sprite in-layer should be as per the location, as per the frame defined in "facing", as per the rstring for that facing in the "filename". | |
| //// | |
| // "chrs_json/object_tree2.json" | |
| { | |
| "animations": { | |
| "Idle Down": [ [ [0, 100] ], "Looping" ], ///////// ME | |
| "Idle Up": [ [ [0, 100] ], "Looping" ], | |
| "Idle Left": [ [ [0, 100] ], "Looping" ], | |
| "Idle Right": [ [ [0, 100] ], "Looping" ], | |
| "Walk Down": [ [ [0, 100] ], "Looping" ], | |
| "Walk Up": [ [ [0, 100] ], "Looping" ], | |
| "Walk Left": [ [ [0, 100] ], "Looping" ], | |
| "Walk Right": [ [ [0, 100] ], "Looping" ] | |
| }, | |
| "dims": [ | |
| 156, | |
| 180 | |
| ], | |
| "hitbox": [63,142,93,38], | |
| "regions": { | |
| "Tall_Redraw": [0, 0, 156, 138], | |
| } | |
| "frames": 1, | |
| "image": "chrs_json/object_tree2_src", | |
| "inner_pad": 1, | |
| "outer_pad": 1, | |
| "per_row": 1 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment