|
|
Developers looking to add new buttons, overlays, popups to the game might need to create new UI Elements.
|
|
|
|
|
|
There are two ways of creating UI Elements, through the [[Map Editor]] or through custom cards.
|
|
|
There are two ways of creating UI Elements, through the [Map Editor]or through custom cards.
|
|
|
|
|
|
Elements created in the [[Map Editor]] come in static and card forms.
|
|
|
Elements created in the [Map Editor] come in static and card forms.
|
|
|
|
|
|
[[Card Types]]
|
|
|
[Card Types]
|
|
|
|
|
|
name: "UIElement",
|
|
|
properties: ["value", "buttonText"],
|
|
|
backgroundProperties: ["hoverPreviewOff", "elementType"]
|
|
|
|
|
|
name: "UIElement",
|
|
|
properties: ["value", "buttonText"],
|
|
|
name: "Rule",
|
|
|
properties: ["description", "value", "text", "body"],
|
|
|
backgroundProperties: ["hoverPreviewOff", "elementType"]
|
|
|
|
|
|
Working with |
|
|
\ No newline at end of file |