-
Notifications
You must be signed in to change notification settings - Fork 6
Stage JSON
Super edited this page Jul 26, 2021
·
1 revision
This explains the Stage JSON Schema. As of 0.2.0, this is extremely buggy, Stage JSON is very strict at the moment.
Everything is required unless otherwise specified
| Field | Type | Description |
|---|---|---|
| layers | Array of Layers | All of the layers for the stage |
| tags | Array of Strings | All of the tags this stage can match against for characters |
| bf_pos | [Float,Float] | The position of the player |
| dad_pos | [Float,Float] | The position of opponent |
| gf_pos | [Float,Float] | The position of Girlfriend |
| camzoom | Float | Camera zoom |
| no_gf | Bool | Whether to show GF *(Not required) |
| Field | Type | Description |
|---|---|---|
| name | String | The path/name of the layer image |
| pos | [Float, Float] | The position of the layer |
| scroll_factor | [Float, Float] | The factor of which to scroll at, usually used for parallax |
| animated | Bool | Whether to animate *(Currently broken as of 0.2.0, and Not required) |
| animation_name | String | The name of the animation to use *(Not required unless animated is true) |
| fps | Int | The FPS to play this animation at *(Not required unless animated is true) |
| scale | Float | The scale for this layer |
| alpha | Float | The opacity for this layer |
| antialiasing | Bool | Whether to use antialiasing |
| centered | Bool | Whether to center the sprite or not *(Not required) |
| flip_x | Bool | Whether to flip or not *(Not required) |
| song | String | The song to lock this layer to *(Not required) |