Pieces
The game pieces of **Helsinki Life**: four toy HKL trams, one per seat, and the brass ten-sector spinner that decides how far they go.
Pieces
The game pieces of Helsinki Life: four toy HKL trams, one per seat, and the brass ten-sector spinner that decides how far they go.
Mounted on mount_pieces by the scene entrypoint. Everything it spawns is a
temporary child of that mount, rebuilt from scratch on every awake, so the
scene file carries none of it.
It writes no game state. It reads the game.core.HL bus:
| Event | What the pieces do |
|---|---|
setup | every pawn returns to Arrivals; seats past count stand down |
turnStart | the chevron slides over the tram whose turn it is |
spinStart | the dial pops in beside that tram and begins to turn |
spinResult | the dial eases to a stop with the value under its pointer |
moveStep | the pawn hops one tile, inside the step it was given |
moveEnd | the pawn settles square on the tile it halted on |
finished | a hop of arrival at Suomenlinna |
phase | title / setup / over take the dial off the board |
and it emits sfx for the sounds its own animation makes - hop, land,
spin_tick as a sector crosses the pointer, spin_stop as it settles.
Public fields tune the motion: hopHeight, hopLean, deckHeight,
bobHeight.
The one number it takes from the screen is where the dial stands relative to
the tram, derived from the live ui.screenSize() aspect: a tall frame keeps
it close in and a little toward the camera, a wide one lets it stand clear.
Parts: game.pieces.tram (the tram), game.pieces.wheel (the dial),
game.pieces.meshkit (the mesh builder both are modelled with).
Scoped to this part · feeds back into the world's score.