Created
February 22, 2019 21:38
-
-
Save cobalthex/137c1b28e45497daa010f90332b898fd to your computer and use it in GitHub Desktop.
Dying And More! data file examples
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
| List { | |
| Name: "Entity properties editor"; | |
| IsModal: true; | |
| HorizontalAlignment: Alignment.Middle; | |
| VerticalAlignment: Alignment.Middle; | |
| BackgroundColor: [32 0 128 192]; | |
| Margin: 10; | |
| Padding: 10; | |
| Children: [ | |
| Scrollbox { | |
| Size: 400; | |
| Children: [ | |
| List { | |
| name: "z"; | |
| Direction: Direction.Vertical; | |
| HorizontalAlignment: Alignment.Stretch; | |
| Margin: 10; | |
| Children: [ | |
| Static { Text: "Name"; } | |
| TextInput { | |
| HorizontalAlignment: Alignment.Stretch; | |
| Padding: [4 2]; | |
| Bindings: [ | |
| { | |
| Direction: BindingDirection.TwoWay; | |
| Source: "Name"; | |
| Target: "Text"; | |
| }; | |
| ]; | |
| }; | |
| List { | |
| margin: 10; | |
| Children: [ | |
| Static { Text: "Actor Properties"; }; | |
| Static { Text: "Current Health"; }; | |
| NumericInput { | |
| Name: "helf"; | |
| Bindings: [ | |
| Binding { | |
| Direction: BindingDirection.TwoWay; | |
| Source: "CurrentHealth"; | |
| Target: "Value"; | |
| }; | |
| ]; | |
| Minimum: 0; | |
| Maximum: 2E9; | |
| }; | |
| #weapon | |
| Static { Text: "Weapon"; }; | |
| WeaponSelect { | |
| Bindings: [ | |
| Binding { | |
| Direction: BindingDirection.TwoWay; | |
| Source: "Weapon"; | |
| Target: "Instance"; | |
| } | |
| ]; | |
| }; | |
| #conditions | |
| #actions | |
| Static { Text: "Controller"; }; | |
| ControllerSelect { | |
| Bindings: [ | |
| Binding { | |
| Source: "Controller"; | |
| Target: "Instance"; | |
| Direction: BindingDirection.TwoWay; | |
| } | |
| ]; | |
| }; | |
| Switch { | |
| Bindings: [ | |
| Binding { | |
| Source: "Controller:typename"; | |
| Target: "Value"; | |
| } | |
| ]; | |
| Items: { | |
| ArtilleryController: { | |
| Text: "[Todo Artillery]"; | |
| }; | |
| InputController: { | |
| Text: "[Todo Player]"; | |
| }; | |
| AIController: { | |
| Text: "[Todo AI]"; | |
| }; | |
| } | |
| } | |
| ]; | |
| }; | |
| ]; | |
| }; | |
| ]; | |
| }; | |
| Static { | |
| Padding: [10 5]; | |
| HorizontalAlignment: Alignment.Middle; | |
| Text: "Close"; | |
| EventCommands: { | |
| Click: "CloseModal"; | |
| } | |
| }; | |
| ]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment