Popup
From The Gimkit Wiki
Settings
Tab | Dropdown? | Setting Name | Default | Setting Description (In-Game) | Setting Description |
---|---|---|---|---|---|
Look & Behavior | Yes | Popup Style | Modal | Modal: a large popup the obstructs the center of the screen. Banner: a smaller popup that slides up from the bottom. | |
Look & Behavior | Yes | Content Scope | global | When the content of the popup is updated, who does it apply to? | |
Look & Behavior | No | Background Color | #ffffff | Background color of the popup. The text color will automatically adapt to be readable | |
Look & Behavior | Yes | Font | Rubik | Select a font that fits the style of your popup | |
Call To Action | No | Call To Action Label | Empty | Label shown on call to action button. Leave empty for no call to action. | |
Call To Action | No | Call To Action Channel | Empty | Channel to transmit on when call to action is clicked | |
Call To Action | No | Secondary Call To Action Label | Empty | Label shown on secondary call to action button. Leave empty for no secondary call to action. | |
Call To Action | No | Secondary Call To Action Channel | Empty | Channel to transmit on when secondary call to action is clicked | |
Channels | No | Open popup when receiving on | Empty | Open the popup when the device receives a signal from the selected channel | |
Channels | No | Close popup when receiving on | Empty | Close the popup when the device receives a signal from the selected channel | |
Channels | No | When popup closed, transmit on | Empty | When popup closed, the device sends a signal on the selected channel | |
Featured | No | Header Text | Empty | Content shown in larger text | |
Featured | No | Content Text | Empty | Content shown in smaller text. Use for descriptions & additional info. | |
All Options | No | Icon Image | Empty | Small icon image shown above the header & content. Custom images are not allowed. Refer to the Gimkit Creative documentation for usage of icon images. | |
All Options | Yes | Closable By Player | Yes | Are players allowed to close the popup once opened? |
Wires
The Popup has 3 input actions and 3 output events.
Input Actions:
- Open popup
- Close popup
- Run wire pulse block
Output Events:
- Popup closed
- Primary call to action clicked
- Secondary call to action clicked
Blocks
The Popup has 2 Blocks.
- When receiving on channel...
- On wire pulse...
The Popup has 2 device-specific custom code blocks:
- Set Header
- Set Content