Skip to content
FREN

Gear and speed

The first data: the gear in large, the speed and its unit, the revs, then the dash on the move.

  • 12 min
  • no game needed
  • at the end: the centre of the dash follows the car

The backdrop is waiting for its data. This chapter fills the centre tile: gear, speed, revs. Start from your dash from chapter 1, or from its checkpoint. Pull the graph’s divider up to halfway and zoom the page out (the zoom’s −): the page on top, the graph below.

Step 1 / 6

The team-coloured strip

Two thin rectangles at the top of the gear tile: the team colour over 70 %, the stripe at the end. The first at X 280, Y 68, W 217, H 5, #12943f; Ctrl+D, then X 497, W 93, #39e81f.

Step 2 / 6

The gear, wired to the game

Number (N), one click in the tile. The channel list opens by itself: type gear_label, Enter. The text is wired: a wire leaves the Input, in the graph, and the gear shows.

Then its style, as in chapter 1: Exo 2, size 176, Black, Italic, #f5f5f7. Align on center, and the Anchor at the top centre: X then sets the text’s centre, which stays centred when the gear changes. X 427, Y 54.

Step 3 / 6

The speed and its unit

N again, speed_kmh. Under Format, Unit on km/h: the speed can then change unit, which chapter 11 uses. Exo 2, 44, Extra bold, italic; aligned right, the anchor at the top right: X sets the right edge, X 408, Y 227. Whatever the speed, the number ends in the same place.

The unit label next to it: T, km/h, Exo 2, 13, Bold, #b9b9c2, X 414, Y 258.

Step 4 / 6

The revs

N, rpm, right after the unit (X 450, Y 258), styled like the label. Under Format, Prefix · and Suffix RPM: the text around the number, spaces included.

Step 5 / 6

The dash on the move

In the graph, the simulated telemetry node: PLAY replays a recorded lap. Gear, speed and revs move as in a race. MANUAL hands control back: one slider per channel.

Step 6 / 6

Put the block away in a group

The block is done: put it away, like the backdrop. In Layers, click Gear stripe team, then Shift+click RPM: the block’s six layers are selected. Ctrl+G, double-click the group’s row, Gear & speed.

In the graph, the group takes its nodes’ place: a single node, its inputs named after the channels they receive (gear_label, speed_kmh, rpm). Every chapter ends this way: the graph stays readable.

Download first-dash-2.slxd: the dash at the end of this chapter. File › Open… opens it in the editor.

Text (T) writes a fixed text: a label, a name. Number (N) shows data from the game: it asks for its channel as soon as it is placed. Both are styled the same way, font, size, colour, anchor.

The text reads “Select a channel”. The channel list closed without a choice. In Properties, Bindings › Value, pick the channel.

The number shifts when the value changes. The anchor doesn’t match the alignment: right-aligned text takes the top-right anchor, centred text the top-centre anchor.

Layer Tool Channel X Y Size Weight Colour Alignment
Gear stripe team Rectangle 280 68 217 × 5 #12943f
Gear stripe Rectangle 497 68 93 × 5 #39e81f
Gear Number gear_label 427 54 176 Black, italic #f5f5f7 centre
Speed Number speed_kmh (Unit km/h) 408 227 44 Extra bold, italic #f5f5f7 right
Speed unit Text km/h 414 258 13 Bold #b9b9c2 left
RPM Number rpm (· … RPM) 450 258 13 Bold #b9b9c2 left

All in Exo 2, Vertical on line, top, the anchor matching the alignment.