Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 81
    • Issues 81
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • dulst
  • core
  • Wiki
  • UI Element

UI Element · Changes

Page history
Update UI Element authored Jan 01, 2019 by Kaoru Aoi's avatar Kaoru Aoi
Hide whitespace changes
Inline Side-by-side
UI-Element.md
View page @ b672f78a
Developers looking to add new buttons, overlays, popups to the game might need to create new UI Elements. 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]]
## Static
Static elements do not have built in interactions with the effect builder other than placing and taking cards out of them.
### Row of cards
A board location where cards may be moved. Expressed as an array of ciids. Row of cards may be horizontal or vertical.
### Stack of cards
A board location where cards may be moved. Expressed as an array of ciids. Stack of cards can be clickable to show the cards within in a popup or not clickable.
## Card
UIElements such as button and information display automatically create a regular card within of a card type with these properties:
name: "UIElement", name: "UIElement",
properties: ["value", "buttonText"], properties: ["value", "buttonText"],
backgroundProperties: ["hoverPreviewOff", "elementType"] backgroundProperties: ["hoverPreviewOff", "elementType"]
This lets you interact with that element the same as any other card.
## Rule Card
The rule card type have these properties by default.
name: "Rule", name: "Rule",
properties: ["description", "value", "text", "body"], properties: ["description", "value", "text", "body"],
backgroundProperties: ["hoverPreviewOff", "elementType"] backgroundProperties: ["hoverPreviewOff", "elementType"]
Working with Basic UI elements like tooltips or overlays can be created with visible rule cards.
\ No newline at end of file \ No newline at end of file
Clone repository
  • Analytics Events
  • Animations
  • Basic Effect Building
  • Change Log v13
  • Change Log v14
  • Change Log v15
  • Change Log v16.1
  • Change Log v16.2
  • Change Log v16.3
  • Change Log v16.4
  • Change Log v16.5
  • Change Log v16.6
  • Change Log v16.7
  • Change Log v16.8
  • Change Log v16
View All Pages