Skip to content

UI PRO ​

UI PRO is a full-screen interface designer built like a professional editor (in the spirit of Photoshop or Noesis Studio): every screen is a view made of real layout panels, buttons, texts and images. It is 100 % yours: no fixed templates, and what you see while designing is what gets played.

What you can do today

With UI PRO you can replace every game screen: intro, main menu, pause, saves, options, credits, the in-game interface (HUD) and dialogues. Animations, lists, game data, gestures and fonts already work. The reference always reflects what works now.

Turning it on ​

  1. Plugins › UI PRO. While the plugin is still off, the page already shows your game's screen map (intro, main menu, game, pause, saves, options, credits and dialogue, with arrows showing how you go from one to another): those are the screens UI PRO can change. Turn on and choose a kit enables it and opens the kit gallery; you can also enable it with the switch. UI PRO appears in the sidebar: clicking it opens the editor full-screen (the arrow at the top left goes back to the normal editor).

The editor ​

UI PRO full-screen retro HUD editor

The layout is fixed and simple (like other interface editors): there are no loose or docked windows.

  • Three places, in the top bar {#espacios}: Whole game (what applies to every view: the game map, Interactivity, Styles and Data, plus the entrance to the kits), View (where you build a view; next to its name, the ▾ arrow switches to another one from any place) and Test (the real game). On the right, undo and redo, Layout (only in the View), Ask the AI, ? (the UI PRO guide, the keyboard shortcuts and showing or hiding the step guide) and ▶ Play. Below the bar, a quiet guide says what is done in each place in three steps; it hides with its X and comes back from ? or Layout. What belongs to the whole game and does not need the canvas (styles, data, gestures) is in Whole game, without the canvas in front. The first time you come in with views already made, the studio starts in Whole game › Game map; after that, where you left it.
  • The View: four zones that do not move. On the left, at the top, Views (all the views of the game) and, below, Layers (the elements of the open view); in the middle, the canvas; on the right, the panel of whatever you pick, at full height; and at the bottom, the bottom panel (see below), which runs under the left column and the canvas. With the guide on, each zone carries the number of its step (① pick a view, ② pick or add an element, ③ change how it looks, its states and what it does). Nothing takes turns: opening one thing does not hide another.
  • Dividers and floating windows: the lines between zones are always visible and can be dragged to share out the height or width (they are remembered). The ⧉ icon of each zone (Pop out as a floating window; it shows when the mouse is over its header) turns it into a window that you move by its header and resize by its corner; Dock back in its place returns it. With no zones on the left, the canvas takes that space. The Layout button of the bar saves how you have the columns, the windows and the open tab of the bottom panel, and goes back to it.
  • Layers (left, below Views): the element tree of the open view (its name shows in grey in the header). Drag to reorder or move. Each row carries its marks: ⚡ n if the element has triggers (a click opens the Triggers tab of its panel) and ◷ if it appears in an animation (a click opens it below). Drag the line between Views and Layers to share out the height.

Hierarchical view element navigator

  • The panel (right, always): whatever you pick is edited there, always in the same place, in three tabs. Properties: all its properties, grouped (Layout, Appearance, Text, Transform), with editors for colour, gradient, corners and margins; under its name, ◷ Appears in “…” › opens the animation it appears in. States: how it changes with the pointer over it, pressed… or with its own states. Triggers: what it does when something happens, edited right there. With nothing selected it shows the view properties: its warnings on top, what it does in the game, its size, other devices and one line Animations: n · Open below ›. While Auto key is recording, a red notice shows on top: what you change goes to the animation as a keyframe, not to the element.

Design, appearance, and typography properties panel

  • Stage (center): the view at its size on an endless gray. Above it sits the Preview bar, with everything that changes how you see the view and nothing that changes your game: seeing it In the game or View only, the test screen (computer or portrait phone), the test background, the zoom and Test the view. The size of the view is only shown there; you change it in the view Properties.
  • Loose views, over the game {#en-el-juego}: an overlay view that does not replace any part of the game (the verb coin, the inventory) is shown In the game: over your whole game screen, at its real size and where it appears, with the test scene dimmed around it. If it opens at the cursor, there is a sample cursor: it is the player’s mouse. Drag the cursor to decide from which point of the mouse the view appears (the view stays put), or drag the view by its label to move it relative to the cursor; both change the same thing. With Shift, the cursor drags the view along: use it to see the view somewhere else (near an edge, for example); it changes nothing in the game. In both cases: while you drag you see the measure (“↑ 180 px”), and what changes is “up” and “right” of the gesture row or trigger that opens it, the same numbers as in Interactivity (Ctrl+Z brings it back). If several things open it, the bar lets you choose which one is shown. View only leaves it large and alone, to work up close; each view remembers how you left it. Wheel to zoom, middle button to pan. Select, drag and resize with the mouse; elements respect their container's layout (grid, stack or canvas).
  • Grid on the stage: when you pick a Grid, the lines between its rows and columns are drawn with each track's size (top and left); drag a divider to share the space between the two neighboring tracks (proportional 2* tracks stay proportional; auto ones become pixels). What is written is the Rows and Columns list in Properties.
  • Add element (the + Add button in Layers): opens the catalog as an accordion by category (Panels and layout, Buttons, Text, Collections, Ranges, Shapes, Media, Miscellaneous and the project components) with a search box, and an Images tab with the ones in your project. A click adds it to the selected element; drag to the canvas (where you drop) or to Layers (at the exact spot in the tree, with a line showing where it goes). It closes when you add; with the pin it stays. Rectangle, Ellipse, Line and Separator are a ready-made Border.

Element catalog and ready-made adventure parts

  • Align and distribute: when you pick elements a bar appears over the stage. In a canvas it moves their position; in other containers it changes their alignment. Moving an element in a canvas snaps to the edges and centers of its neighbors and of the canvas (magenta lines; Alt turns snapping off).
  • The bottom panel {#panel-abajo}: collapsed, it is a strip with three tabs, Animations (with how many there are), Warnings & log (with how many warnings and errors: those of this view or of the whole project, the test log and its filters) and Performance, and on the right what the status bar used to say: the test values (they lead to Whole game › Data), the language, the theme (it is your game's theme: changing it there changes the game) and the canvas keys. A click on a tab opens the panel on it; another click on the active one collapses it. One tab shows at a time and each remembers its height (drag its edge).
  • Test the view and ▶ Play: Test the view is in the canvas Preview bar and ▶ Play at the top right (the only filled button). Test the view tests the open view (buttons run their commands and states show live); ▶ Play opens the whole game, with its main menu, on top of UI PRO without leaving it (also with Ctrl+Enter; close it with the X or Ctrl+Esc and you are back where you were). The Test place is something else: the real game with its setup, its events and its journeys (below).
  • Back where you were: reloading the page (F5) keeps you in UI PRO, in the same place and the same Whole game section, with the same view, the same selected element, the same tab of the panel, the bottom panel open on its tab and at its height, the same animation and the same layout.
  • Keyboard: Layers works with the arrows (↑↓ move, → expands, ← collapses or goes to the parent, Home and End), Enter selects, F2 renames and Delete deletes. Esc leaves the tool, then clears the selection and, with nothing selected, leaves the studio (as in Minigames; with a dialog or a menu open, Esc is theirs). Fit places the view in the space left by the floating toolbox, without it covering the view.

Keyboard shortcuts ​

They open from ? › Keyboard shortcuts. None is required: everything can also be done with the mouse.

WhereKeys
The whole studioCtrl+Z undoes and Ctrl+Y redoes; Ctrl+Enter plays the whole game and Ctrl+Esc closes it
CanvasEach tool's letter (shown on its button: V select, T text, I image…); Del deletes; Ctrl+C, Ctrl+X, Ctrl+V and Ctrl+D copy, cut, paste and duplicate; the arrows move; Esc drops the tool and then the selection; Alt measures (and turns snapping off); Shift keeps the proportion; the wheel zooms and the pressed wheel pans
Layers↑ ↓ walk the tree, → expands, ← collapses or goes up to the parent, Home and End; Enter selects, F2 renames and Del deletes
PanelCtrl+F searches a property
TimelineSpace plays or pauses; Home and End go to the start and the end; the arrows move the playhead or the chosen keyframes; L removes the loop range

The game map ​

The game map: the screens, how the game moves between them and the views that open on top

The Game map is the first section of Whole game (you also get there from the view menu of the top bar): all your views at a glance. On top, the game screens and how you move from one to another (intro → main menu → game ⇄ pause…), each with its thumbnail, or “the usual one” if it uses the built-in interface; below, the views that open on top (the verb coin, the inventory…), painted over your game's screen where they show up and with what opens them; and then those for another device, the unused ones and the components. A click on any of them opens it for editing, and + New view creates another. The map only shows and takes you there: it changes nothing. It is a page, not a window: reloading brings you back to it. The first time you enter the studio with views already made, you start here.

The inventory in a view of its own ​

If your inventory is a loose view (for example, the one that opens with the right button) and no view is the Game interface (HUD), the game still draws its built-in inventory bar at the bottom left: the inventory would appear in both places. The properties of that view warn you and carry, in What it does in the game, the Hide the built-in inventory bar switch. It is the same option as in Project settings: changing it in one place changes it in the other. With the classic verb bar it only removes the inventory: the verbs stay.

The frame of a loose view ​

A view clips whatever falls outside its frame, in the editor and in the game: if the name of the action goes below the coin and the frame is just the coin, the text is not shown. On the canvas the frame is drawn with a dotted line and has handles on its edges: drag the bottom or the right one to make it taller or wider; what you had already drawn does not move and still appears at the same spot relative to the mouse. You can also drag the left and top edges without the content moving: if the root of the view is a Border, it gains that room as padding; if it is a Canvas with its elements placed by numbers (a kit's coin), its elements shift by that much. With any other root (a Grid, a Stack) you can only drag the right and bottom edges. One drag is a single undo step, and you can still type the exact size in Properties → Size in the game.

If an element falls outside the frame, the editor warns you in the view's properties and in Warnings & log: it says which one and how many pixels it sticks out on each side, and Select it selects it on the canvas. It checks what is placed by numbers inside a Canvas; what places itself (stacks, grids) or is placed by a formula is not judged.

If you set an image as the background of the view (the coin, for example), that image fills the whole frame and grows with it. Size in the game shows a note with the Keep it at its size button: it turns the background into an Image element of the view’s current size, behind everything else. It looks the same, and from then on you can enlarge the frame without the image changing.

Earlier versions of a view ​

Earlier versions of a view in its properties, each with its thumbnail and the "Recover" button

Ctrl+Z lives in the tab: if you reload the editor or close it, you can no longer undo. That is why the editor keeps how each view was: one version when you open the project (as soon as you change the view) and, while you keep changing it, another every ten minutes, up to twenty per view. They are in View properties → Earlier versions, each with its time, its size and a thumbnail. Recover puts the view back as it was then; it is one more undo step (Ctrl+Z reverts it) and the one you had is kept as another version, so nothing is lost.

If you delete a view, it is kept for a month: at the foot of the Views list a Deleted views entry appears, and from there it comes back to the project (if it took a part of the game, tell it again in What it does in the game).

Versions are stored in this browser, apart from the project: they do not travel in the backup or in the project folder, and if the browser runs out of space they are the first thing dropped. To keep a whole project as it is, download a backup.

Elements ​

Layout panels: Grid, StackPanel, Canvas, DockPanel, WrapPanel, UniformGrid, RadialPanel, Viewbox, ScrollViewer and Border. Content: TextBlock, Image and Button. Each one with its properties in the reference.

Data, formulas and lists ​

Game data, formulas, and variables panel

A text, a visibility or an opacity can be bound to a game value (for example Game.Title) or to a formula (Vars.Vida / Vars.VidaMax * 100), with a converter (invert, how many, uppercase…), a format and a fallback value. The Data section (in Whole game) is a screen of its own, without the canvas in front. On the left it lists everything you can bind, in groups (verbs, inventory, what is pointed at, a Vars.<name> for every variable of your project…), with a search box and three filters: All, In use (the ones some view shows) and With a test value. In the center you see the value of the selected data and give it a test value to see your views with other data (for a list, a table with its test data); it is not saved in the project. On the right, Who uses it: the elements bound to it and the trigger and gesture conditions that read it, one click away. From the panel, the ↗ arrow next to a bound property brings you to its data. In the game the data comes from the running game and the view updates by itself when it changes.

The List element repeats its template once for each element of a data list (Inventory.Items, Verbs.List): inside the template you bind to Item.Name, Item.Icon, Index… The when conditions of triggers use the same formulas.

Also, a button (or any element) can run game commands on click (Game.NewGame, Game.Continue, Game.Options…). Available data and commands are in the reference.

Text effect ​

A Text can appear with an effect in the game: the same one as the subtitles (typewriter, word by word, fade, decrypt, wave, shake, glitch or your own @keyframes). Choose it in Properties › Text › Text effect, with its preview.

  • It shows in the game and in Test; while you design, the text shows whole. It only moves on while the Text is visible: a hidden one (a window not shown yet, a collapsed or hidden element) starts or goes on when it is shown. A transparent Text (opacity 0, for example while the view comes in) counts as visible.
  • It goes at the game's reading speed and the player's setting. With Instant text (Settings.InstantText) or the system's "reduce motion", it shows whole and still; ticking Instant text completes the texts that are appearing.
  • It plays again only when the shown text changes (a bound value, the language), not every time the view is redrawn nor when a list rebuilds its copies with the same text (it goes by position: if the items change order, the copies whose text changes play it again).
  • The box measures from the start what the whole text will measure: it does not jump while the text appears, and If it doesn’t fit: Ellipsis and Max lines cut it as without the effect. With the letter-by-letter CSS effects (fade, wave, shake, glitch and your own), the “…” removes whole words.
  • With Emphasis on the element, the effect is not used, because both change the text (also when it is bound to a formula that is false right now). Properties and the view check warn about it.
  • While paused, what you see in the pause keeps going: the screens (main menu, pause, options, saves and credits), windows that freeze the game or only show in the pause, and views opened while the game is paused. The game interface, the dialogue and views opened during play pause with the game.
  • A click does not complete it: it is not a line to skip. A screen reader reads the whole text.

Styles: colors & sizes, themes, styles and fonts ​

Styles panel: shared colors & sizes, styles and color themes

The Styles section (in Whole game) keeps what is shared between views. It is a screen of its own, without the canvas in front, in three parts: on the left the index (the Theme and, below, Colors & sizes, Styles and Fonts, with a search box and, next to each item, how many places use it or “unused”); in the center, the editor of what you pick; and on the right, Where it is used: every view and element that has it, one click away. Before deleting something it tells you how many places use it. Right-click a row of the index for its menu: Rename (it is renamed in everything that uses it too), Duplicate, Copy the name and Delete; on the theme, create one, rename it or delete it; and in the Data section, copy the path of a piece of data or remove its test value. From the panel, the ↗ arrow next to a property that uses a resource (or next to the element’s style) brings you here with it selected, and a button above the index takes you back to the element.

What is kept here:

  • Colors & sizes: named values (a color Accent, a gradient, a measure, a shadow…). In Properties, a property’s ◇ button binds it to one of those values. Each resource can have another value per theme (Dark, Light…) and the Theme selector changes everything at once, in the editor and in the game.
  • Styles: the look of an element type, also for hover, pressed… A style can be based on another (inheritance). Apply them from Properties › Style, or use + to create one from an element you already designed. Priority: own state › style state › own value › style value (and its bases) › default value.

Components ​

A component is a view of kind Component (+ menu › Component) with parameters (text, number, yes/no, color, brush, image). Inside it, a property’s ◇ button binds it to a parameter. Place it in other views with the Component element, giving each parameter a value; each copy has its own position and size. If you change the component, all its copies change. To create one from something already built: right-click in Layers › Create a component from this element…. A component can contain others, but not itself.

States, animation and interactivity ​

Three things bring a view to life: states and triggers, in each element's panel, and animations, in the bottom panel.

  • States (a tab of the panel): the chosen element's states (Normal, Hover, Pressed, Disabled, Focused), its own state groups (Open/Closed, Active/Inactive…) and the view's entrance. Picking a state is recording into it: change its properties in Properties. Under the list, the group settings: name, transition (milliseconds and curve), Images (whether the background image changes instantly, with a crossfade or with a morph: the shape of one state turns into the other one, with buttons exported from Vector Studio with “Morph”; any other image crossfades) and adding or removing states.

Interactive visual states and animation groups

  • Animations (the Animations tab of the bottom panel, always in sight; also from the ◷ mark in Layers, from Appears in… in the panel and from the Animations line of the view panel). On the left, Animations of this view: + New (always visible) and the list, with its duration, ↻ if it loops and, under each name, when it plays (“⚡ When the view loads”, “⚡ Button · On click”) or ⚠ Nothing plays it; its menu (right click or ⋯) renames it, changes its duration, duplicates it or deletes it. Under the list, the parameters of the chosen one: name, duration, loop, ping-pong and Played by (the triggers that play it, a click away each, and + to create one when the view loads or on the selected element). On the right, its timeline, with one track per property (opacity, position, scale, rotation, colour…) and keyframes, handled like the Cinematics one. With none, the panel says how to start. Drag the ruler or the background of a track to scrub the playhead and see the result on the stage at once. Double-click a track to add a keyframe; drag them (several at once with Shift/Ctrl+click or dragging a box; Alt+drag makes a copy) and Ctrl+C / Ctrl+X / Ctrl+V / Ctrl+D / Del work on them. The magnet snaps them to the grid, the markers and the other keyframes (Shift inverts it), and snaps the playhead to the animation frames (12, 24, 30 or 60 per second): the ruler ticks fall exactly on the frames it stops at, and the counter shows the time and which frame it is on. K sets a keyframe at the playhead, M a marker, I / O / L set the loop range, Space plays, the arrows move the playhead or the chosen keyframes, Ctrl+wheel zooms and the right or middle button pans. Right click on a keyframe, a track, an element or the ruler opens its menu. Picking a keyframe opens the curve popup: drag the two orange handles to draw your own curve (cubic-bezier) or use the usual ones (Linear, EaseIn, EaseOut, EaseInOut, Bounce, Elastic, Cubic), and change its value and time. With ▶ you see it on the stage; they can loop or ping-pong.

The bottom panel on “Animations”: the list with when each one plays, its parameters with “Played by” and the timeline beside it

Multi-track timeline with keyframes and bezier curves

  • Triggers: what an element does on an event (click, pointer enter, pointer leave, view loaded) with several actions: run a game command, go to a state, change a property, play or stop an animation. They are edited in the element's panel, Triggers tab: on top its triggers and + Trigger, with an empty one and the behaviours, which are ready-made triggers (close the view on click, run a script on hover, play an animation on load…) that you adjust like any other; below, the editor of the chosen one (1 When · 2 Then, Active, Duplicate, Remove) and, folded, its generated logic with its warnings. An element that does nothing yet offers how to start. With nothing selected, the tab shows the view's own (“When the view loads”) and all of its elements', grouped; a click selects the element and opens its trigger. ⤢ Full size opens the trigger in Whole game › Interactivity, with the index, the editor and the logic in columns, and there See on the stage takes you back to the View with that element selected. Right click on an element → Triggers… (or Add a trigger…) opens its tab. The game gestures are in Whole game › Interactivity (see below).

Event triggers and game commands editor

Text in several languages ​

A text, a button or a checkbox can carry a Text key (Properties → Localization). With a key, the stage shows the translated text (in the project language you are editing) and the Text field in Properties edits that Texts entry, with the note “Project text · key…”; Remove the key leaves written what it said in that language. If the same text is used in several elements (a kit's “Back” buttons share a key), a notice says so and Only this one gives that element its own key. The key can also be bound with a formula (for example the Saves title: Saves.Mode == 'save' ? 'key1' : 'key2'); then Properties shows one field per text it uses, and below it the text shown if the key is missing. Kits, when installed, move what the player sees (“New game”, “Options”, “Save game”, “empty”…) to Texts with their Spanish and English (in the languages the project has), so they are translated like the rest of the game's texts. If the project's main language is neither Spanish nor English, those texts come in English as a draft and have to be translated in Texts; the names of views and elements come in the editor's language. If that key exists in the project's Texts section, it shows translated to the player's language instead of the text written in the view, and it changes instantly when they pick another language (for example with a button that runs Settings.Set with key: language, as in the kits' Options screen). The written text is the fallback if the key does not exist. Texts bound to data (Game.Title…) already arrive translated. The AI agent creates keys with patch_project (value {"$text": "…"}) and writes their translations with write_texts.

Fonts ​

Ready-made Google fonts. The Font property suggests Pixelify Sans, Silkscreen, VT323, Press Start 2P, Jersey 10, Tiny5, IM Fell English, MedievalSharp, Pirata One, Special Elite and Cinzel: if a view uses one, UI PRO loads its Google Fonts sheet by itself, in the editor, in Play and in the published game. It needs internet, and Google receives the IP address of whoever plays. If you import the font file under the same name (below), the game uses yours and does not ask Google: it works offline.

Import a .ttf, .otf or .woff file in Assets and enable it in Whole game › Styles › Fonts; it then shows up in the Font property of texts and buttons. The project's fonts are declared for the whole game, not only for UI PRO views: you can use their name as the general font in Settings and menus (the one for speech bubbles, conversation options, the action sentence and the pointer label). If the interface skin (Settings and menus › Appearance) brings its own typeface (Classic verbs, Neon, Terminal…), it does not override the fonts of your UI PRO views: every text or button with a Font set keeps it when playing, and the ones without use the skin's. Check the font's license before publishing (Google Fonts, for example, are usually OFL: they can be shipped with the game).

Input and gestures ​

Input map, gesture recipes, and generated logic

Interactivity (in Whole game) takes the whole screen. On the left, a search box and two areas that fold and share the height: Gestures, for the whole game (rows grouped by what they point at, with their switch, the Mouse/Touch filter, Recipes and +), and Triggers, of the open view (its name shows in grey in the header; switch views with the ▾ arrow of the top bar without leaving). In the center, the editor of what you picked (1 When · 2 Then · 3 On release), with the gesture, the button, the device and “over what” as visible buttons. On the right, the generated logic as nodes (event → condition → actions; read only, it can fold) with the warnings of that row: whether it runs at the same time as another, does nothing, or names a view or a script that does not exist. Reloading takes you back to the same place, with the same thing selected.

Gestures is the input map: rows like "when [gesture] with [button] over [something] if [condition] → actions". Gestures: click, double click, hold, press, release, drag start, drag, drop after dragging, right-click, middle click and wheel. "Over" can be an object, a character, an exit, the floor or nothing.

  • With no rows the game behaves as always. A row that matches a button takes that press: the engine does not also do its own thing. That is why the Classic recipe exists: it reproduces left-click (default action) and right-click (look) so you can add gestures without losing them.

  • Recipes (the Recipes button): Classic, Verb coin on hold (creates the moneda view, compact and with three icons, or a radial List over Verbs.List, which you can redesign), Run and Highlight what is interactive. Installing a recipe adds or replaces its own rows and never removes yours.

  • Actions: the same as in triggers. command (for example Game.Look, Game.Interact with verb, Game.WalkHere, Game.Pause), openView (opens an overlay view over the game: at the cursor, in the center or where the target is; with up and right (offsetY and offsetX, in game pixels) it opens higher or to one side of that point —for example the verb coin 180 px higher so the cursor stays below it, without changing the view—; with close on release it closes when the button is released and, if the pointer is over a control, clicks it first), toggleView (opens it if closed and closes it if open; accepts the same), closeView and runScript.

  • Data about what is under the pointer: Hover.Name, Hover.Kind, Hover.Verb and Hover.HasTarget, for conditions and arguments (Args.<name> inside the opened view).

  • Right button and inventory: two recipes decide. Inventory anywhere opens it wherever the mouse is. Inventory on empty space, look over things opens it only on empty space, and over an object, character or exit it does the secondary action. They are normal rows: you can tweak them.

  • Canceling: what a gesture opened (the coin, the inventory) cancels by itself. Escape closes it first, then drops the item in hand and only then opens the pause menu; opening a menu closes it; a script that takes control (the hourglass) does too, unless you started it from the view, like looking or combining inside the inventory. A background script closes nothing, and views opened by a script stay. With a menu open or without control, no gesture opens a view.

  • A coin in a view: a view opened at the cursor keeps what you pointed at as its object, and nothing else can be pointed at while it is open. With Text.Verb and Text.TheTarget you write “Look at the chest”. The rows of this section rule: the coin options in Settings do not apply to a game with rows.

  • Right button: opening a view with it stops the character and cancels what it was going to do. If an element already used the press (looking at an inventory item), the “right-click” of what contains it does nothing: the same button looks over an item and closes over the background. While a player view is open, what characters say is drawn in front of it.

  • Sentence in a big inventory: Inventory.HoverName is the item under the pointer. The formula Inventory.Held ? Text.Action + ' ' + Inventory.HoverName : Inventory.HoverName shows its name and, with an item in hand, “Use the coin with the apple”.

The verb coin, without leaving UI PRO ​

The gesture row that brings up the coin, with the "Verb coin" card below it

The coin is set up in two places that say the same thing: the gesture row that brings it up (the one that opens a view at the cursor on hold) and How it opens and how you choose in Settings → Interaction. So you do not have to go back and forth:

  • When you pick that row, the Verb coin card appears below it, with the icons that group several verbs (the hand that picks up, uses, opens or closes): it is the same setting as in Settings, changed from here.
  • The row's duration is the Time to open it in Settings, and Close the view on releasing the button is Choose by holding and releasing over the action: changing them in one place changes them in the other.
  • The card's Open Settings → Interaction button (and the gear one, next to Recipes) takes you there. In Settings, a note says the coin is brought up by a UI PRO gesture and Open the UI PRO gestures goes back to that row.

With UI PRO, how it opens (click or hold) and the short click are not changed from Settings: they are gesture rows, and you edit them here.

With Logic ​

With UI PRO on, one event and three blocks appear in Logic:

BlockWhat it does
Event The interface launches a command [name]Runs when a button or a row launches a command with that name that is not built in (Game.* ones are handled by the engine). So a button in a view can trigger anything in the game.
Open a view / Close a view / Open or close a viewOpens, closes or toggles an overlay view from a script.
View is openCondition: whether that view is open now (for example, do not open something if the inventory is already open).
A view opens or closesEvent: runs the script when that view opens or closes, whoever opened it.
Launch an interface commandLaunches Game.Pause, Game.Look… from a script.

An agent can read and write all of this with read_uipro_input and write_uipro_input.

Puzzles: text fields and templates ​

The text field (TextBox) fires two triggers: “On change” (every key) and “On confirm” (Enter). Both carry what was typed as value, so saving it into a game variable is just one more action:

  1. On “On change”, the action Save to a variable (Vars.Set, with name = the variable's name). The field supplies the value.
  2. On “On confirm”, compare it with the trigger's condition, for example Vars.cerradura_codigo == Vars.cerradura_clave, or launch your own command and pick it up in Logic with “When the interface launches the command…”. The command carries its data as script parameters ([param:value] in texts).

Use a text variable for a code

A number variable loses leading zeros (0123 becomes 123) and turns anything that is not a number into 0. The view checker warns about it.

For a ready-made lock or sequence use the Minigames plugin (no scripts); here you build it by hand with the text field, a command of your own and a Logic script with “When the interface launches the command…”. The Vars.Set and Settings.Set commands already appear in the editor's command list.

HTML block: your interface in HTML and CSS ​

Already have an interface made in HTML and CSS (a SCUMM-style verb bar, for example)? Add element › HTML block puts it in the view as it is, shut in its box, and you connect it with the game through data-* attributes on normal HTML.

  • Paste: in Properties, Edit HTML and CSS… opens a dialog with both fields, a live preview with the test data, the warnings and what it connects to (data and commands, with ✓ or ✗). Paste HTML and CSS (or Ctrl+V in the HTML field) imports a whole page: it keeps the body, the <style> go to the CSS and the most common Tailwind classes become CSS. Accept saves in a single undo step.
  • What is left out: JavaScript (scripts, onclick…), forms, video, audio, <iframe> and images or fonts from the internet. Everything removed shows in the warnings. For images, import them in Assets and use <img src="asset:ID">. The UI PRO Google fonts (Press Start 2P, VT323…) load by themselves when the CSS names them; others go to Resources.
  • Shut in: the CSS only reaches the block (not the view nor the editor); position: fixed and z-index do not leave its box; @keyframes get a prefix; vw measures the block (and vh, if the block has a fixed height). To change something by the block's width, use @container (an @media by width measures the window). <a> stay, but without a link.
AttributeWhat it does
data-bind="Path" · data-expr="formula"The element's text is that data or that formula.
The same inside a text, and in class, title and style.
data-src="Item.Icon"An image taken from data.
data-text-key="key" · data-title-keyTranslated text from the Texts section (what is written is the fallback).
data-list="Path"The first child repeats for each element of the list, with Item.*, Index and Count.
data-page="10" · data-columns="5" · data-fill-emptyPaged inventory: follows the arrows, tells the engine how many fit and draws the empty slots.
data-command="Name" + data-args='{"verb":"=Item.Id"}'On click, Enter or the gamepad, runs the command (a value starting with = is a formula).
data-on-enter · data-on-leave · data-on-press · data-on-rightclickMouse over, leave, press and right-click, with their data-args-enter…
data-enabled · data-visibleEnabled or hidden, with a formula.
data-hitThat area swallows the click even without a command (without it, a click on a gap goes to the scene).
data-class-name="formula"Adds or removes the class.
  • Built-in classes on the copies of a list, for your CSS: is-selected (the chosen verb), is-held (the item in hand), is-default (the default verb), is-empty (empty slot); and anywhere, is-disabled and is-focused (the gamepad or keyboard focus: elements with data-command join the view's focus order). They are set without rebuilding the list.
  • The <ui-each of> and <ui-if test> syntax also works.
  • Template: Add element › In-game interface › SCUMM verb bar (HTML) brings the classic bar (sentence, 9 verbs, arrows and a 5×2 inventory) already wired: change its CSS to your taste. It takes the whole width and a bit more than a quarter of the view height, and looks equally in proportion at any resolution (640×360, 1920×1080 or your own).
  • Scaling by itself {#bloque-escala}: so you do not rewrite the CSS for each resolution, measure in cqh and cqw (percent of the block height and width; with cqh, give the block a fixed height), like the template, or with var(--upr-k), which the block gets by itself: the view height ÷ 360 (1 at 640×360, 2 at 1280×720, 3 at 1920×1080). For example, font-size: calc(8px * var(--upr-k)). Formulas have Screen.Scale, which comes from the project screen height: it is the same number when the view measures what the screen does (the kit views and new ones). vw becomes cqw by itself. A block added earlier with the template in pixels does not change: add it again so it scales.
  • On the stage the block is selected as a whole; its inside is changed in the dialog. While designing, clicks run nothing; in Test, they do. The view check lists its warnings, the data that do not exist and unknown commands.

Chapter cards and screens between scenes ​

For a chapter title (or any screen between scenes) you do not need a fake scene: make an overlay view at your project's resolution with your background image and the texts (and, if you like, an in/out animation started by the “on view load” trigger). It is launched from a Logic script, which decides when:

  1. Take the control away from the player (so there is no cursor and nothing can be clicked).
  2. Hide the interface.
  3. Open the view “Chapter 1”.
  4. Cross to the next scene, with no transition: it loads behind the card.
  5. Wait a few seconds (as long as the view's animation lasts).
  6. Close the view, Show the interface and Give the control back.

The image and texts belong to the view, so they are translated with their Text key and use the project's fonts.

Using it in the game ​

A slot says which view the game uses in each place: pick the view and it replaces the built-in screen (main menu, pause, HUD…). With no view chosen, the usual one shows. All slots are in Slots, kits and the in-game interface.

Slots, kits and the in-game interface ​

Every part of the game that the engine draws is a slot you can assign a view to. With no view, the usual one is shown: a game without UI PRO does not change.

SlotWhat it replaces
IntroThe first thing shown when the game opens, before the main menu: texts, logos, a video… It lasts what you set in Screen background → Duration (5 s by default) and is skipped with a click, a key or the Game.Skip command. It shows once per session. Animate its texts and logos with a storyboard started by “on view load”.
Main menu, Pause, Saves, Options, CreditsThe built-in screen. Each has its own data and commands (Game.Resume, Game.Save, Saves.List, Saves.Choose…).
In-game interface (HUD)The verb panel and the inventory. The scene fills the whole screen and verbs, inventory and action sentence are yours: Verbs.List, Inventory.Items, Sentence.Text, Countdowns.List, and the Verb.Select and Inventory.Select commands. (it takes the item at once, also with the “hold” verb coin). In the kits’ inventories, right click on an item looks at it (Inventory.Press with button 2), like the built-in one; with an item in hand, it drops it. The built-in menu (☰) and journal (📖) buttons go away too: put your own wherever you like with Game.Pause and Game.Journal (and Game.HasJournal so the journal one only shows when there is a journal).
Dialogue (options)The answers of a conversation: Dialogue.Options and the Dialogue.Choose command.
Loading screenThe notice shown over the black of the transition when setting up a scene takes more than half a second (very large backgrounds, videos, 3D scenes); whatever loads faster shows nothing. It rarely shows: with the scene on screen, the game quietly preloads the images of the scenes its exits lead to (not with low graphics quality). Bind a progress bar to Loading.Progress (0–1) or a text to Loading.Percent. Loading.Known is false while it only waits for what is not counted (3D models): show something spinning. It has no commands: it cannot be skipped. Without a view, the built-in one: a spinner, “Loading…” and a bar.
Objective noticeShows for a few seconds over the game when an objective becomes active, complete or failed, instead of the card on the side. Bind texts to Objective.Title and Objective.Label (“New objective”…) and use Objective.Status (active, done or failed) in a formula for the color. To make it slide in, an animation played “When the view loads”. The sound is chosen in Settings → Sound.
NarrationThe «Narrator» block line while it lasts, instead of the box at the top: bind a text to Narration.Text. With your own view, the line shows whole (without the subtitles text effect).
End of gameThe end screen: the one from the «End the game» block and from a guard who catches you. Bind texts to End.Title («The end») and End.Message (the message); the retry button runs the Game.Retry command with its visibility bound to End.CanRetry (only show it when there is a checkpoint), and the quit one, Game.Quit.
Play with friends, Waiting room, Multiplayer layerWith the Multiplayer plugin: the room screens and the layer over the game while playing in a room, with the Net.* data and commands. They go in their own row of the map (With friends) and take no views per device.

Layers over the game (HUD and dialogue) must be overlay views: whatever has no background, button or trigger lets clicks through to the game; give a panel a background to block them. Pick them on the screen map in Plugins › UI PRO › Which view each game screen uses (each box shows its view's thumbnail and has its picker; “the usual one” clears it) or right-click a view in the navigator. Toasts are still the built-in ones, and the cursor is chosen in Settings.

Ready-made game parts ​

In Add element, the Game interface (ready-made) category brings pre-configured parts: Verb list (each button picks its verb), Inventory (icon and name, a click takes the object), Inventory arrows (↑↓ or ←→, connected to the view's inventory), Action sentence and Pause button. Add them with a click or by dragging; they come sized to your view and you can change anything. A click on the card adds the part; with a stacking panel (a Stack) selected, the part goes to the Grid that contains it, and in the view root parts are born at the bottom. In an inventory list, Properties → Inventory slot → Each slot shows chooses between icon and name, icon only or name only. To make one button of the list differ from the rest (for example, a wider verb) you do not need to duplicate it: the template is one, but its properties can depend on the item with a formula (for example, bind Width to Item.Id == 'look' ? 80 : 110); with Width: Auto, each button fits its text. For the inventory to scroll with the arrows, the list only needs Visible slots (for example 10 in a 5×2 inventory) and its Columns: the arrows light up when there are more objects than slots and each click moves one row. How the arrows work. The arrows only say “one row up” or “one row down” (Inventory.Scroll); how many slots a row has and how many fit are taken from the inventory list: its Columns and Visible slots. If you change those numbers after adding the arrows, you do not need to touch the arrows. If the list has no “Visible slots” it shows every object and the arrows move nothing (the view checker warns you). The Inventory.CanScrollUp and Inventory.CanScrollDown data say whether there are more objects on each side. The kits already bring their inventory with “Visible slots” and arrows: in the classic bar (Classic verbs, Gamepad, Retro green and Light paper), always visible and dimmed when everything fits; in the others, only when there are more objects than slots; in a project with a kit installed before version 0.44, add the Inventory arrows part and set “Visible slots” on the list (the view checker warns you).

Choosing inside a slot. A click on the canvas picks the deepest thing (a slot's icon or name). Properties then shows Inventory slot → Each slot shows at the top, which applies to every slot of that list, and Select the inventory to move to the list (its colors and border).

Your own pictures for the arrows. Select an arrow —or the Inventory arrows container, to set both at once— and, in Properties → Arrow picture, choose Images and set two pictures: the one for when it can move (there are more objects that way) and the one at the end. UI PRO removes the ▲▼ text and sets up the states for you (the dark one at full opacity); Text goes back to the usual arrows. If you prefer to do it by hand, the arrow is a Button that enables or disables itself from that data, so it is drawn the other way round from what you might think:

  1. On the arrow button, keep the lit picture in the normal state (what you see when there are more objects).
  2. Add the disabled state and put the dark picture in it.
  3. In that disabled state raise the Opacity to 1 (by default it drops to 0.35 and would look transparent).
  4. The “mouse over” state is for a third picture, if you want one.

Buttons over your own picture. In a verb or inventory list made with these parts, Properties → Button style lets you choose With a colored box or Transparent (over my background picture), without touching formulas. With a box there is a normal color and a color when chosen for the background; transparent keeps the background always transparent, with no border, and marks what is chosen (verb, object in hand) with the text color. If you change an inventory's Columns or Rows, its “Visible slots” are recalculated by themselves as long as they were columns × rows (the inventory is born with 4 columns and 2 rows; a row at 0 counts as 2).

Highlight the default verb {#verbo-por-defecto}. As in classic adventures, with the mouse over an object, a character or an exit, the verb a click would do lights up in the bar (the object's “default verb”, or talk, pick up or use depending on what it is). Kits come with it in Color (and the kit sheet lets you choose None); in the verb list's Properties, the When pointing at something, highlight its verb block changes it:

StyleWhat it does
ColorThe verb text takes its own color and is underlined (so it does not rely on color alone). By default, a tone that reads well on the button, stands apart from the normal text and is not the “chosen” one.
RainbowThe text is painted with a moving color gradient.
PulseThe text changes color and grows and shrinks.
GlowA halo of the color around the text, rising and falling.
  • When it lights up: only when a left-click would do that verb. With a verb already chosen or an item in hand nothing is marked (the click does the chosen one; the right button still does the default one). Nor when the click walks, opens the verb coin, with the cycling cursor, with touch (there is no “pointing at”; the gamepad does, because it moves a cursor) or when that verb is not in the bar. Pointing at inventory items does not highlight anything.
  • Speed: from 0.6 to 5 seconds per cycle, so it never flickers. With the system's reduced motion, the effect stays still.
  • Hand-made verbs: a button whose click runs Verb.Select has the same block (the ones from a converted classic design come with it in Color).
  • On other elements: every element has the Emphasis category in Properties (Emphasis, Emphasis style, Emphasis color and Speed). Bind Emphasis to a formula: in a verb bar it is Item.Id == Verb.Default; for example a hint button can pulse with Journal.CanHint. The Verb.Default data is the id of the verb a click would do, or empty.

A plain element like List brings a generic text template: for buttons use these parts, or put a Button inside the list with its trigger (what the kits do).

Built-in interface settings ​

Three pieces of the built-in interface are set without any plugin, in Settings › Verbs and cursor: the color and height of the name of what the cursor points at, the wait indicator (circle or hourglass) and hiding the inventory bar when the inventory lives in its own view. Subtitles also accept weight, line height and maximum width in ui.subtitles. So a game can keep its inventory and coin in UI PRO views and still have the built-in ☰ button, without using the hud slot.

Game area and project size ​

By default the in-game interface overlays the scene. If you prefer a bar of your own (like the classics), reserve space outside the scene: in the in-game view's Properties (root › Game area) set Top and Bottom in project pixels. The scene shows in the rest and the view covers the whole screen, strips included. Views that cover the screen are designed at your project's resolution (in a 640×360 game, a 640×360 view: 1 view px is 1 project px) and their height is the scene's plus the strips; Fit sets a view to that size carrying its content along (sizes, margins, text…), and new views and kit views already come that way. If you want the screen to stay wide (16:9) with the strip, tick The strips count inside the project screen: the scene gives up that height and the views are designed to your resolution, with no black side bands. When the height changes (ticking or unticking that box, another strip), what you placed in the bottom half of a canvas, such as an item bar, moves with the bottom edge and does not end up off screen. The editor draws the reserved strip and the Game panel shows your real screen aspect.

Pixel kits ​

Pixel adventure and Pirate (Pip Barnacle) bring a verb strip with a pixel font, and Coin and inventory a three-icon coin (hand, skull and parrot) and a big right-click inventory, with no strip. Installing them also sets the speech font and the game verbs.

Their font, arrows and icons are built in: they take no room in Assets and look the same in the exported game. Their ids start with kit-, like kit-coin-hand. To use your art, change the button's background image and the one of its hover state.

"Doubloon" kit (Monkey Island 3 style) ​

The "Doubloon" kit: the wooden coin on the canvas, with its frame, its handles and the sample cursor

For high-resolution games. Hold down on an object, a character or an exit and a wooden coin comes up right above the cursor with three icons: the hand (pick up, use, open or close, depending on what you point at), the eyes (look) and the mouth (talk). At rest the hand is open, the eyes closed and the mouth closed; as you move over them, the hand closes, the eyes open and the mouth opens. Below the coin you read what you are about to do ("Look at the door"); release over an icon to do it, or outside to do nothing.

The right button opens a hanging inventory in the center, with the items in 4 × 3 cells and the up and down arrows on the right. Press an item to pick it up: as you take it out of the frame, the inventory closes and you use it in the scene. While holding an item, the right button drops it. A short click walks, and a double click runs or goes through an exit at once.

The hanging inventory of the "Doubloon" kit, with its cells and the arrows on the right

Unlike the pixel kits, its drawings are real images: when you install it, the coin, the six icons, the inventory frame and its font (IM Fell English, by Igino Marini, under the SIL Open Font License 1.1) are copied to Assets, in the Kits/Doblón folder. That way the exported game carries them inside, with no need for the internet, and you swap any of them for your own art from Assets or from each button's background. If you install it again, it reuses the ones already in that folder. The font's license asks you to credit it if you distribute its file: put it in your game's credits.

The views are made for a game 1920 wide; at any other size they scale by themselves, including how far above the cursor the coin comes up. Installing it sets the Verb coin mode, hides the built-in inventory bar and replaces any gestures you had.

Kits ​

Interface kit gallery with live scene preview

A kit is a whole interface already built (HUD, dialogue, pause, saves and credits) with its input map. Pick it in the kit gallery (the views' + › Interface kits…, Whole game › Interface kits…, Plugins › UI PRO or the empty studio). Each card shows the kit over your start scene, whole and framed as when the game starts (all its layers and objects in game order; characters, lights, the ambient tint, background masks, the animated scrolling of layers (tiled layers show repeated and still; a scrolling layer without tiling shows as a single piece) and layers with a blend other than “normal” are not shown, and animated layers show their first frame; if it has no image yet, over the demo garage; the same background shows in the screen map and behind the studio's overlay views) with a sample inventory and, in a corner, its main menu; below, what it is for in one line. On top there are categories and filters (gamepad, touch, pixel art). The chosen kit's sheet has one tab per screen (game, menu, pause, saves, options, credits, dialogue), shown large and reacting to the mouse, and the screen map with an amber dot on the screens the kit changes (the arrows show how you go from one to another; Saves and Options also open from the pause and the menu, as the line below says). In Kit options you choose, before installing, what each inventory slot shows (Icon only, the default; Icon and name; Name only; items without a picture always show their name) and, in kits with a bar, where the interface bar goes: Inside the screen (the default: the scene gets shorter and the screen keeps its size, no black bars on 16:9) or Outside the scene (the whole scene is shown and the screen grows). The preview shows your choice, and both can be changed later in Properties. Use this kit installs it and opens the studio. The card grid and the tabs work with the arrow keys. Installing loses nothing: whatever occupied those screens is kept as a (Previous) copy; Choose screens… installs only some. Start blank and Import .verbui are in the header. They are normal views, 100 % editable: the kit is only a starting point.

  • Classic verbs: a bottom bar with the action sentence on top and, below and centered, the verbs in a grid (2 columns with 4 verbs or fewer; with more, 3 rows: with the 9 classic ones, the familiar 3×3), a column of ▲▼ arrows always visible (dimmed when everything fits) and the inventory of 2×5 near-square slots, shown even when empty (like Monkey Island 2, Indiana Jones or Thimbleweed Park). The verbs are the ones active in Settings: if you change how many there are, the grid adapts by itself. “Gamepad”, “Retro green” and “Light paper” use the same bar. The names of items without a picture fit in 2 lines with “…” (on a Text, Max lines).
  • Verb coin: a clean screen with sentence and inventory in a row; holding opens the coin (Monkey Island 3 style). The coin brings one element per verb: drag it to place it wherever you want and give it its picture in the Verb image it carries inside.
  • Modern minimal: almost nothing on screen; double click on the floor to run.
  • Icon bar (Sierra): a bar on top, outside the scene, with the verbs as icons, the action sentence and the inventory.
  • Narrative (no verbs): only the dialogue options card.
  • Multiplayer: only the room screens of the Multiplayer plugin (joining, waiting room and the in-game layer). It does not touch the in-game interface or the menus.

Your own kits (.verbui) {#mis-kits}: Save my interface as a kit… packs the whole interface into My kits: all your views (their HTML blocks too), the slots and per-device views, the gestures, the themes, resources and styles, the game area, the declared fonts and the interface settings that depend on it (play mode, verb coin, the name of what is pointed at, built-in inventory bar, font, subtitles). And with it, the files it uses: the images of backgrounds, states and styles, the video and the music of a screen's background, the fonts and the sounds of text effects (each sound with its volume and its variations), plus the translatable texts of its views. From My kits you download it as a single .verbui file and anyone can import it with Import .verbui.

Choosing what is saved. Save my interface as a kit… opens a window with the kit's name and what goes in, all ticked to begin with: the views (one by one, with All and None), the files they use by kind —Images, Sounds and music, Videos (a screen's background) and Fonts, each with how many there are and what they weigh—, the gestures and the interface settings. At the bottom you read what the kit will carry ("8 views · 9 files · 638 KB"). A kit only carries the files the chosen views use: if you leave a view out, what only that view used stays out too, and so do the gestures that opened it. Whatever you leave out by kind (videos are what weighs most) is still named by the views: it keeps showing in this project and comes up empty in another one. A kit can weigh up to 160 MB, and each file up to 48 MB.

Downloading it as a file. On the card of a kit in My kits, the Download .verbui button saves it as a file with everything inside.

Right-click on a kit. Every card has its menu: Use this kit and Choose screens…, and for those in My kits, also Rename…, Download .verbui and Remove from my kits. Removing a kit deletes it from this browser with its files and cannot be undone, so it asks first (the trash button and the Delete key ask too); the projects where you installed it keep their copies.

Choosing what is installed. On the card of a saved kit, Choose what to install… shows the same boxes: which views, which kinds of files and whether its gestures and settings go in. Only the files the chosen part uses are copied to Assets; those of a kind you leave out stay empty where they were used (no image, no sound) and a font without its file is not declared. Without its gestures, your project's own are left untouched.

When you install a saved kit in another project, its files are copied to Assets, in the Kits/‹kit name› folder, and everything that named them ends up pointing at those copies; the texts the project did not have are added to Texts (the ones it had are not overwritten) and its gestures replace whatever was there. If you install it in the same project you saved it from, it reuses that project's assets and copies nothing. The kit remembers the width of the game it came from: in a game of another size, its loose views (the coin, the inventory) and the height they come up at scale by themselves, like those of the built-in kits. A saved kit does not carry scripts: a Run script action points at a script you have to create in the other project. Kits live in this browser (up to 40); to take them to another computer, download them. An older .verbui, without files, still imports the same. The agent can also save, list, install and remove saved kits (save_uipro_kit, list_saved_uipro_kits, install_saved_uipro_kit, delete_saved_uipro_kit), choosing in the same way which views, which kinds of files and whether the gestures and settings go in (views, files, gestures, settings); downloading or importing the file is done from the gallery.

Gamepad, keyboard, touch and accessibility ​

  • Directional focus: in full screens (menus, pause, saves, credits) and in dialogue options, the arrows or the D-pad move the focus to the nearest element in that direction, Enter / Space / A press it, Esc / B go back and Tab cycles. Start opens the pause. Buttons and any element with a click trigger that is enabled and visible can take focus. Give it a Focused visual state (like "Mouse over") to style it; if you do not define one a white outline is drawn.
  • Playing entirely with a gamepad: in game, Tab or the D-pad enter the in-game interface (Esc or B leave it) and the right stick moves a virtual cursor over the scene: A is the left-click, X the right one and Y cancels. With the input map, the virtual cursor behaves like a mouse.
  • Touch: input map rows can be for the finger only or for the mouse only. The Touch recipe (tap = action, hold = look, double tap on the floor = run) changes nothing with a mouse.
  • Adaptive interface: the data Input.Device (mouse, touch, keyboard, gamepad; to show the right button icons), Screen.Class (compact, regular, wide), Screen.IsTouch, Screen.Portrait and Screen.ReducedMotion can be used in any bindable property with formulas, for example visibility.
  • Accessibility: every button has a role, tab order and accessible name (the Accessible name property, or its text); a system asking for less motion removes transitions by itself; and the review warns about low contrast between text and background, buttons under 44 px and buttons with neither text nor accessible name.

A view for each device ​

One game for computers and phones, not two versions: a part of the game can have another view depending on the device. For example, a HUD with big buttons for the finger and the classic verb bar for the mouse. The Mobile plugin is not needed.

  • In the view properties, Instead of: choose the part of the game and when: with a finger (phone, tablet), on a small screen (under 700 px wide), with the phone upright or with a gamepad. The view replaces that part's usual one on that device.
  • The first one that matches wins, in that order; if none does, the usual view. On the screen map, the part shows a +1 per device mark.
  • The HUD and the dialogue choose when the game starts (switching them mid-game would move the screen) and need their usual view; they do not take "with a gamepad", because at the start nobody knows a gamepad will be used. The other screens (intro, main menu, pause, saves, options and credits) choose each time they open, with the device of that moment.
  • In Test, the device simulator shows the view that applies and rebuilds the HUD when it changes.
  • Deleting a view also removes it from where it is used per device (the warning says so). A kit that changes a part also replaces its views per device. Exporting the interface (.verbui) takes them along, and Diagnostics warns about the ones that cannot be used.
  • For small tweaks inside one view, every element has Show on (in Appearance): every device, only with a finger, without a finger (mouse, keyboard, gamepad), only with a gamepad, only on a small screen or except on a small screen. Outside its device it is not shown and takes no space, with no formulas (for example, hiding a fullscreen button or the keyboard help on phones). In the design it shows faded; switch the device at the top to see it as in the game. Formulas with Screen.IsTouch, Screen.Class… still work for anything else. A separate view is for when the layout is really different.

New kits: Touch mobile, Gamepad (with button hints that only show when playing with a gamepad), Retro green and Light paper.

Test and debug ​

  • Test (the third place of the top bar): the real game next to the editor. It hot reloads every time you change a view, resource, style or input row and the game keeps its place (if you add or remove the in-game interface, which changes the whole screen, it restarts by itself).
  • Device simulator: desktop, laptop, ultrawide, tablet, phone in landscape and portrait, and gamepad on a TV. It changes the screen size and the data Screen.Class, Screen.Portrait, Screen.IsTouch and Input.Device, to check the adaptive interface.
  • Go to…: jumps to any screen without playing up to it: main menu, in-game interface, dialogue options, pause, saves or credits.
  • Output: what your views launch in the game is logged (commands with their arguments), with a warning when a custom command is handled by no script. The Whole project switch reviews all views, the input map and the slots at once; clicking a warning opens the view and the element.
  • Performance: elements, depth, bindings, formulas, how many elements lists would create with your data, mount and refresh times, with warnings (over 600 elements, heavy lists, mount over 40 ms…). It also shows the measures of what is on screen in the docked game.

Test ​

Multi-device live game simulator and debugging panel

Press Test in the top bar: the center becomes the real game, on your project's screen and —if you want— at the same time on a touch portrait phone, each with its class (wide/narrow) and input (mouse/touch).

  • Setup (live): variables (switches, sliders and fields), inventory items, dialogue options (0–4) and device (mouse, touch, gamepad). With many variables or items, search at the top (by name or group): without a search the first 60 are shown and the panel says how many there are (“60 of 500”). What you change shows up instantly in the game. Save as scenario stores variables, inventory and scene as a test game you can pick in Go to… or use in journeys; Reset starts over.
  • Inspect shows which view element is under the cursor, Show hotspots marks what receives clicks and Grid overlays a grid; you can also pause and restart the game.
  • Output & events: commands your interface launches, Logic scripts that ran, warnings and reloads, with their time. Performance: cost of every frame, elements, bindings and memory.
  • Test journeys: turn on Record a journey, play with your interface and stop it; every command becomes a step (with the waits). Add checks (Inventory.Count >= 1…) and press Run all: each journey replays by itself in a fresh game and tells you whether it passes or which step fails. The AI agent reads and writes them with read_uipro_shared and write_uipro_shared (tests, scenarios).

Basic controls and the Options screen ​

Besides texts, images, buttons and lists, UI PRO has the usual controls: Progress bar (fills up with a value: health, energy, time…), Slider (picks a number), Checkbox (yes/no, as a box —with your own Mark image instead of the ✓ and the fill, for example an X, and its Mark size in %— or as a switch) and Text field (the player types). The slider, checkbox and text field fire the On change event with the new value (value), and the text field also On confirm.

For settings there is Settings.* data (music, effects and voice volume, text speed, instant text, language and the list of languages) and the Settings.Set command (key: music, sfx, voice, textSpeed, instantText or language). The player's graphics quality is Settings.Graphics (auto, high, medium, low; game = “As shipped”) with its Settings.GraphicsLevels list (Id, Name, Selected) and Settings.GraphicsScale (with Automatic, how much it draws now over High: 1 or 0.75…), changed with Settings.Set (key: graphics, value: Item.Id); in pixel art the list is empty, so a row can hide with its Count. With them you build the new Options slot: every kit already brings an Options view made with sliders, the Instant text checkbox, the Graphics quality buttons (the row does not show in pixel art) and the language buttons. To store a value in a game variable, use the Vars.Set command (name, value).

Screen backgrounds ​

In the properties of a screen view (main menu, pause, saves, options, credits) there is Screen background: an image, a video, a live game scene (on the main menu, without the player) or the game (on the pause), with a control to darken it; on the main menu also the music. With nothing chosen, Settings and menus is used. The background goes behind the view: if the view has its own opaque background it covers it (the panel warns you and you can remove it with one click). The pause view can also have its own music (or silence): going back to the game brings the scene music back. On the pause view, besides the scene music (which keeps playing), you can pick the one from Settings and menus —linked: if you change it there it changes here—, another one or silence. Each screen view can optionally have a Fade in and a Fade out (in milliseconds; 0 or empty = none): on leaving, the screen fades away while the next one appears. It is optional and per view, and is skipped if the player prefers less motion.

When a view appears and which part of the game it replaces ​

None of this is a fixed setting: it is logic, the same for your own view and for one converted from the classic designer.

  • Size {#tamano-vista} (Properties → The view): the width and height of the view, in game pixels. You can type them (any size, for example 654×372) or pick one from Presets (your game screen, HD, 4K, ultrawide, tablet, portrait phone…). It is part of the view, not a preview: the canvas Preview bar only shows it, and clicking it there takes you to this field. On a loose view (an overlay that does not replace any part of the game, such as the verb coin or the inventory) it is called Size in the game, because that is exactly the space it takes up when it opens: below, it says what share of the game screen that is (“it takes up 34% of the width and 34% of the height”) and warns when it does not fit, because the game then sticks it to an edge instead of opening it where it should (next to the cursor, for example). On the others it is its design size and adapts to the screen as set in Scaling. If the view already has elements, you are asked before changing it, and Ctrl+Z brings it back.
  • The list of views {#lista-vistas} (the Views zone of the View): views are grouped by what they do in the game: Game screens (the ones that take the place of a part: main menu, game interface, pause…, in the order of the game), Open on top of the game (loose views, such as the verb coin or the inventory), For another device and Unused. Below each name you read what it is for or what opens it and where it appears (“Hold: open the coin · at the cursor”); a loose view that nothing opens says so. One click opens it; a click on the one already open shows its properties.
  • The view properties (with no element selected): the name on top and, in one line, what it is. Then three cards: What it does in the game (Used as and, on a loose view, When it appears), Size and On other devices. What you rarely touch is folded, with its summary in sight: Scaling, Game area and Screen background.
  • Used as: which part of the game the view replaces (main menu, pause, saves, options, credits, game interface, dialogue) or no fixed screen, with every option in sight. It is chosen and removed here; the right-click menu in the list does it too (“Stop using as…”).
  • When it appears: decided by the Gestures rows (Whole game › Interactivity) — “when [gesture: click, double click, N clicks in a row, hold, right-click…] [over something] [only if condition] → [actions: Open view, Open or close view, Close view…]” — and the view's own triggers (in its panel or in the same place, with their “only if”). In Properties you see which rows open or close that view.
  • To know whether a view is open, conditions read Views.Open.<view id> (and Views.Any). That is how “a click outside closes it” is written (click · only if Views.Open.drawer → close drawer) or “the normal click only if the drawer is closed” (only if !Views.Open.drawer).
  • Examples: the drawer on the right button (right button → open or close «drawer»), five clicks in a row open the drawer (“Click” gesture with “Clicks in a row = 5”), “close the drawer when the mouse leaves carrying an object” (a view trigger: When the mouse leaves · only if Inventory.Held → close this view).

Resetting UI PRO ​

In Plugins → UI PRO → Reset: Back to the defaults removes slots, the input map and the reserved area (your views stay), and Delete all UI PRO leaves the plugin enabled and empty. The data lives inside the project, not in a separate folder; both buttons can be undone with Ctrl+Z.

Demos and tutorials with UI PRO ​

To see it working there is one demo and five tutorials made with UI PRO (they are marked that way in their windows):

Also in the same list: UI PRO: icon bar at the top, UI PRO: an interface for the finger, UI PRO: narrative with no verbs.

  • Demos → Full games → Pip Barnacle and the Golden Parrot: the whole interface is built from scratch with UI PRO: title screen, nine-verb panel, action sentence, inventory with arrows and conversations.
  • Tutorials → UI PRO: The verb strip, The coin on hold, Icon bar on top (game area reserved on top), Interface for the finger and Narrative without verbs. Each starts from a kit and opens in the sidebar → UI PRO.

Interface tutorials, all built from scratch with UI PRO views:

  • The verb strip: Nine verbs in pixel lettering: action sentence, verbs that light up when you point at something and an inventory with arrows, in a strip outside the scene. The gallery kits install it in one go.
  • A health bar and a menu: A bar bound to a variable and a window whose buttons change it with triggers, without scripts.
  • An inventory drawer with arrows: Twelve items in a ten-slot inventory: the arrows browse it and dim by themselves at the end.
  • A verb coin made to measure: A compact three-icon coin (hand, skull and parrot) that comes up when you hold.
  • Coin with name, items and arrows: A three-diamond coin that appears when you hold, the name of what you point at on top and a fixed inventory below with arrows.
  • Big inventory on right-click: Holding brings up the coin and you choose by releasing; right-click opens the inventory, a click picks up an item and moving the cursor out of the frame closes it with the item in hand.
  • Where the inventory goes: above, below or overlapping: The game area reserves a strip above the scene for the inventory, and a badge overlaps the game.

How it is saved ​

In a file-based project each view is one JSON file: plugins/uipro/<name>__<id>.json (plus order.uipro with the order). Readable files, great for Git and for an AI to read and write.

With an AI agent ​

The AI Agent (MCP) plugin has access to everything in UI PRO. Tools:

ToolWhat it does
get_uipro_guideThe full guide (format, layout, elements, bindings, commands, operations).
list_uipro_catalogElements, data, commands or templates as JSON.
list_uipro_views, read_uipro_viewList the views and read one whole.
check_uipro_viewReviews the view: missing data or commands, missing images, buttons that do nothing.
check_uipro_project, profile_uipro_viewReview all of UI PRO at once (views, input map and slots) and measure a view's performance (elements, mount and refresh times, warnings).
read_uipro_shared, write_uipro_sharedRead and write resources, themes and styles (and see the components with their parameters).
read_uipro_input, write_uipro_inputRead and write the input map (gestures and actions) and install recipes such as the verb coin; read_uipro_input also reports views, scripts and commands that do not exist.
install_uipro_kitInstalls a whole kit (views, slots and input recipes). list_uipro_catalog with slots or kits describes them, and set_uipro_slot knows every slot.
write_uipro_view, edit_uipro_viewThey also write states, animations and triggers (play, goToState, setProp…).
eval_uipro_formulaChecks and computes a formula with the sample data (and any you pass).
describe_uipro_viewCompact tree; with layout: true, the real rectangle of each element measured by rendering the view.
create_uipro_view, write_uipro_viewCreate from a template (main menu, HUD, pause, dialogue, options, saves, credits, component, blank; full-screen ones are born at the project's resolution) or write a whole view (validated; dropped items are reported).
edit_uipro_viewChange a view with operations (add, set, move, wrap…), all or nothing.
delete_uipro_view, set_uipro_slotDelete, and choose the view of a slot (the view takes the type the slot needs: layer for the HUD and dialogues, screen for the rest).
set_uipro_game_areaSet the game area (top, bottom, inside). Resizes every slot view to the new size.
add_uipro_game_part, set_uipro_inventory_displayAdd a ready-made game part (verbs, inventory, arrows ↑↓ or ←→, action sentence, pause) and change what each inventory slot shows.
set_uipro_button_style, set_uipro_arrow_imagesStyle of the buttons of a verb or inventory list (transparent or boxed, normal and chosen color), the highlighted default verb (defaultVerbEmphasis: color, rainbow, pulse, glow or none) and your own pictures for an inventory arrow.
set_plugin, navigateTurn UI PRO on (turns the classic one off) and open the editor for the user.

All the agent context is in UI PRO context.