Skip to content
FREN

Customization

Make a dashboard adjustable without opening its graph: parameters, the settings page, and each of its nodes.

Every dashboard has two sides, switched with the two buttons at the left of the graph bar: the Node Graph, the dashboard itself, and Properties, its settings page, the one a driver opens to adapt it to their team or car. The canvas, the layers and the right panel follow the mode. The two graphs don’t mix: no Input or widget in the page, no slider in the dashboard. Only parameters link them. Lesson 8 walks through it step by step.

How it works

A parameter is a named, typed value with a default: a colour, a font, a number, a choice from a list, a true / false or a text. It belongs to the dashboard, not to a node. A property bound to a parameter no longer keeps its value: it reads it. At display time, it takes the driver’s setting if they made one, the default otherwise.

The page writes the settings, the dashboard reads them, and neither touches the other. The page’s controls always show what the dashboard holds: after a Reset, the sliders jump back on their own.

Promoting a property

You start from the dashboard, from the property to expose. In Properties, on the right, right-click its row (a colour, a font, a size, a Number’s value…), Promote as a parameter, a name. The parameter is created, with the property’s type and its value as the default; the property reads it; and in the page, a Param node arrives with a wired control, at the bottom.

The control depends on the type: a colour gives a Swatch, a number with a range a Slider set to that range, a number without one a Number, a list or a font a Dropdown, a true / false a Toggle, a text a Text field. It’s yours after that: move it, rename it, replace it.

A wired property can’t be promoted: the wire is what sets it. A promoted property offers, on right-click, Rename parameter and Unbind. Unbind gives it back its current value; if nothing reads the parameter any more, it goes, with its Param and its control.

The page tree

The page is a tree, not a canvas: no coordinates, each element has a parent and a place among its neighbours, and the page reads from top to bottom. Section, Row and Group hold other elements; dragging an element changes its parent and its place. The layers show the same tree. Wires say nothing about the place: they carry values.

Wires and types

The page has its own types: number string true / false colour, value, which takes and gives anything except a trigger (it’s what a Param takes), and trigger, an event, which only goes to another trigger.

Three wires do almost everything: a control to a Param, so the setting writes the parameter; a Toggle to a container’s visible, to hide what doesn’t apply; a Button to a Preset, for several settings at once. The page computes when it opens or a control is touched, never on every game frame: it costs the dashboard nothing on track.

Edit, Preview, Reset

A bar sits above the page. In Edit, you compose: a click selects, the controls stay still. In Preview, you’re the driver: the controls write real settings, and hidden or greyed elements become so. Reset clears the settings and goes back to the defaults.

Those settings are saved with the dashboard: Reset before sharing it, otherwise it starts on them. On the driver’s side, on the Dashboard page, right-clicking a dashboard that exposes settings offers Customize…, and Reset all there goes back to the values of the dashboard as it was saved.

The nodes

Their names are the app’s, as in the editor. The Controls and Layout families are placed in the page; Params and Logic stay in the graph, the driver never sees them. A control created by a promotion gets the parameter’s label, range, step, unit and options once; they’re changed afterwards in Properties. visible and enabled, unwired, are true.

Controls

What the driver touches. Each outputs a value, to wire to a Param to write a parameter, or to the page’s logic; the Button outputs an event instead.

Slider In the page

A number on a track, for anything with a range: a shift point, an opacity, a threshold. Its label, min, max, step and unit are set in Properties; promoted from a range, it gets them from it.

Number In the page

A number field, with the same settings as the Slider: when there’s no range to drag along, or the value must be exact.

Dropdown In the page

A closed list, for a choice or a font. Each option has a label and a value, text or number, set in Properties.

Toggle In the page

Yes or no. For a true / false parameter, or for a container’s visible, which folds away a whole block of settings.

Swatch In the page

A colour picker. Team colours are made of it: promote a fill, and the dashboard repaints itself.

Text field In the page

Free text: a driver name, a number. A label, and a placeholder while the field is empty.

Button In the page

Fires an event, not a value: pressed only goes to a Preset. With a Preset, it makes a “Night” or “Endurance” button.

Layout

The structure the controls live in, and the texts that explain them. Each element, except the Separator, has its visible: the page hides what doesn’t apply.

Section Container, in the page

The big title, in capitals, underlined, and everything placed in it: “Colours”, “Shift”, “Fuel”. The backbone of a readable page.

Row Container, in the page

Lines up its elements side by side, sharing the width: two related settings on one line.

Group Container, in the page

A box, the only container with enabled as well as visible. visible false removes it from the page; enabled false greys it out, contents included: the driver sees the setting exists, and that it doesn’t apply right now.

Label In the page

A line of fixed text.

Note In the page

A multi-line text, to explain a setting without cramming it into its label.

Image In the page

An image in the page: a legend, a logo, a diagram. It comes from the dashboard’s images, through an asset://… reference typed in Properties.

Separator In the page

A rule, for breathing room between two blocks.

Params

The link to the dashboard. They’re never shown: it’s where the settings get written.

Param Graph only

A parameter’s sink: whatever reaches set becomes the setting, which the dashboard reads. One Param per parameter.

Preset Graph only

Several settings at once: wire a Button to trigger, and each entry, a parameter and its value, is written.

Logic

Compare Graph only

Turns a value into a condition, between a control and a container’s visible or enabled: eq (equal), neq (not equal), lt, gt, lte, gte. b is typed, or wired to compare two values. It compares numbers: a text is 0, a true is 1.

What can’t be promoted

Corner radius, an ellipse’s arc, effects, stroke width and a constant Vec2 have no Promote as a parameter on right-click. A promoted font gives an empty Dropdown: add its options in Properties. The page’s Image takes a typed asset://… reference, with no picker.

Recipes

Team colours. Right-click the fill of the accent shape, Promote as a parameter, “Accent”. The Swatch is already in the page, wired: put it in a “Colours” Section.

The driver’s shift point. As in lesson 8: the threshold in a Number, its value promoted. Rename the control “Shift”, and put a Note above it saying which car it was set for.

Hide what doesn’t apply. The optional settings in a Group, a “Show advanced” Toggle wired to its visible. To grey out rather than hide, wire enabled: greyed reads “not now”, hidden reads “doesn’t exist”.

A “Night” button. A Preset with its entries, black background, amber accent, low brightness; a “Night” Button wired to its trigger.

The fuel block in a race only. A “Session type” Dropdown with numbered options, Practice 0, Qualifying 1, Race 2; a Compare eq 2, wired to the fuel Group’s visible. The same Dropdown can also write a parameter: wire its output to both.