Smart UI for Construct 3
Pixel Perfect Studio
  • Smart UI for Construct 3
  • Getting Started
    • Smart UI Framework
      • Framework Initialization
      • Document Flow
      • Using Smart UI Components
      • Release Notes
        • Build v1.4ed2c828
        • Build v1.3710335f
        • Build v1.595dac53
        • Build v1.143edbbc
      • Basic Setup Tutorials
      • GitHub Repository
      • Dev Discord Server
      • Gamepad Demo
      • Guandows Demo
  • FRAMEWORK ADDONS
    • Smart UI Plugin
    • Container Behavior
    • Button Behavior
    • Checkbox Behavior
    • Radio Buttons
    • Progress Bar
    • Discrete Progress
    • Scroll Bar
    • Dialogs
    • Scroll View
      • Basic Examples
    • Grid Layout
      • Basic Examples
    • Data Listener
  • MISCELLANEOUS ADDONS
    • Legends of Learning Plugin
      • Getting Started
      • Local Testing
      • Using the Test Harness
    • Newgrounds.IO Plugin
      • Getting Started
      • Login Tutorial
    • Parabolic Tween
      • Getting Started
      • Live Demo 1
      • Live Demo 2
    • Finite State Machine Plugin and Behavior
    • Antisuspend Plugin
      • Live Demo
    • Google Analytics 4
      • Getting Started
Powered by GitBook
On this page
  • Properties
  • Smart UI Plugin ACEs
  • Smart UI
  • Actions
  • Close All Dialogs
  • Trigger Default Action
  • Left Element
  • Lower Element
  • Next Container
  • Next Element
  • Open Dialog
  • Pointer Touch
  • Previous Container
  • Previous Element
  • Right Element
  • Set Enabled
  • Set Focus
  • Set Navigation Type
  • Set Pointer
  • Track Pointer
  • Hover Component
  • Stop Hovering Component
  • Upper Element
  • Conditions
  • Is Dialog Open
  • Is Dialog Open By Name
  • Is Dialog Open By Object
  • Is Enabled
  • Is Modal Open
  • Is Tracking Pointer
  • Expressions
  • FocusedUID

Was this helpful?

  1. FRAMEWORK ADDONS

Smart UI Plugin

The SmartUI framework plugin, capabilities and features.

PreviousFRAMEWORK ADDONSNextContainer Behavior

Last updated 2 months ago

Was this helpful?

The SmartUI plugin contains all the libraries needed by all the addons to operate. It lives separated from the construct's runtime but within it. It's a runtime script that operates in a separate context, but can be minified and embeded in the runtime, working isolated.

Unlike many addons, the framework takes as input parameters the runtime ands suscribes to event triggers, and also loads all the model, views and controller classes to the memory. Because of this, in case your curiosity pushes you to dive into the source code of the addons, you will find only interface methods that are being called by the addons that live within the framework.

Recomended Smart UI Frameworkgetting started guide.

SmartUI is not an open-source framework; it is an intellectual property (I.P.) of . Details can be disclosed upon request by the developer to enrich the Construct community's experience, but the source code will not be available. Please consider intellectual property laws and developers' rights. Each addon includes an embedded copy of the End User Licensing Agreement (EULA) that all users must adhere to.

Properties

Property

Description

Tutorial

Visit the getting started guide, understand how SmartUI works and how components integrate with each other.

Enabled

Enables or Disables the framework.

Default Controls

Allows the default controls to cycle the focus over the different components and containers. Arrow keys and tab are the common navigation controls. Beware that in preview mode, Tab key may work differently that when the game is exported.

Prevent Defaults

Prevents arrow and space keys to be propagated to the top window. Useful to keep the interactions within your game.

Navigation Type

Sets the default navigation type for the keyboard.

Buttons Behavior

Indicates whether the button press animations should complete before playing the release animation, or if the animation should be interrupted when the button state changes. This feature is especially useful in mobile exports, where button animations typically play without interruptions for a better visual experience.

Send usage data

Share SmartUI usage data with the developer to improve the tool

Usage Analytics

Help the dev providing usage statistics information.

Privacy Policy

Read the privacy policy available to understand how we treat collected data.

License

Information about your SmartUI license.

Status

Indicates if your license has been validated.

Latest Version

We'll let you know whenever a new plugin version is published. You can download the latest version from your account page.

Change Log

New features, bug fixes and changges about the newest releas.

Seat Management (Commercial Version)

Releases the license assigned to this browser. You can manage your licenses at Your Account page.

Instance (Commercial Version)

Unique identifier for this installation of SmartUI.

Smart UI Plugin. Framework to handle UI components.

Download

Smart UI

Smart UI Plugin. Framework to handle UI components.

Actions


Close All Dialogs

Closes all the dialogs in the scene.

Trigger Default Action

Triggers the component default action when pressing/clicking on it.

Parameter

Description

Object

Object instance that uses a SmartUI Behavior

Left Element

Moves the focus to the nearest UI element on the left the current focused element within the container (EXPERIMENTAL)

Lower Element

Moves the focus to the nearest UI element below the current focused element within the container (EXPERIMENTAL)

Next Container

Moves the focus to the next container in the layout.

Next Element

Moves the focus to the next UI element within the container

Open Dialog

Creates an instance of the object and triggers the dialog initialization and animations. Object MUST use the Smart UI Dialog behavior.

Parameter

Description

Dialog Object

An object that uses the Smart UI Dialog behavior

Layer

Layer to place the dialog

X

X-Coordinate

Y

Y-Coordinate

Auto-center

Centers the dialog in the layer and viewport rect visible.

Template

Hierarchy template name

Pointer Touch

Triggers a touch event at the location of the pointer.

Previous Container

Moves the focus to the previous container in the layout.

Previous Element

Moves the focus to the previous UI element within the container

Right Element

Moves the focus to the nearest UI element on the right the current focused element within the container. (EXPERIMENTAL)

Set Enabled

Disable/Enable the Smart UI. No more interactions, animations, nor inputs are processed when it's disabled.

Parameter

Description

Enabled

Enabled/Disabled

Set Focus

Sets the focus on the indicated component.

Parameter

Description

Object

Object instance that uses a SmartUI Behavior

Set Navigation Type

Sets the default navigation type for the keyboard.

Parameter

Description

Type

Navigation type

Set Pointer

Sets the object that will be act as screen pointer/arrow. Use this action when using gamepads. All interactions will be evaluated against the object coordinates

Parameter

Description

Object

Any world instance object

Track Pointer

Disable/Enable tracking the pointer object to trigger UI interactions.

Parameter

Description

Enabled

Enabled/Disabled

Hover Component

Triggers the component hovering state.

Parameter

Description

Object

Object instance that uses a SmartUI Behavior

Stop Hovering Component

Finishes the component hovering state.

Parameter

Description

Object

Object instance that uses a SmartUI Behavior

Upper Element

Moves the focus to the nearest UI element above the current focused element within the container (EXPERIMENTAL)

Conditions


Is Dialog Open

Returns true if any dialog is open

Is Dialog Open By Name

Returns true if any dialog matching the component's name is open

Parameter

Description

Name

Component Name

Is Dialog Open By Object

Returns true if any dialog matching the component's name and object type is open

Parameter

Description

Object

Object Type

Name

Component Name

Is Enabled

Returns true if the Plugin is enabled

Is Modal Open

Indicates if any modal dialog is open

Is Tracking Pointer

Returns true SmartUI is currently tracking the pointer object assigned, to interact with the UI components.

Expressions


FocusedUID

Returns the UID of the focused component. If none, the value is -1

(c) Pixel Perfect Studio 2024

Smart UI Plugin ACEs

https://store.pixelperfectstudio.mx/product/smart-ui-ncbeta/
Pixel Perfect Studio