Language / Langue : FR | EN
The fullscreen mode turns a room into an immersive point & click scene: the image map fills the whole game screen, without the classic choice panel. Texts appear in a narrative band at the bottom of the screen.
title: "The tavern" ui: fullscreen rooms: - id: tavern text: "[[#map:scene:tavern.png|tavern-mask.png]]" zones: scene: colors: - color: "#FF0000" click: talk_barman hover-tooltip: "The barman is watching you." highlight: true
Texts produced by clicks are redirected to the bottom HUD. Successive texts from the same click are grouped there to stay readable.
bottom HUD panel declared by the author. To keep information visible at all times, use another HUD position (top, corners…).height: on the bottom panel.hud: - position: bottom height: 14 text: "Welcome to the tavern."
The scene shrinks automatically to fit between the top and bottom HUDs: nothing is ever covered, and clickable zones follow the image.
After every interaction that changes a variable, the image map is recomputed live: a zone that becomes visible (visible-if:) or active is immediately usable, without reloading.
Combine once: zone or once: zone-room on events with after-click: on zones to visually mark what has already been found - details on the Image maps page.
A room can switch back to the classic interface locally, and clean the immersive HUDs on the way out:
rooms: - id: tavern_exit ui: default clear-hud: - all text: "You step back into the cold night."
test-ui-fullscreen demo scenario shows a complete tavern: tooltips, conditional zones, a counter, an exit.See also: Interface modes, Image maps / Point & click, HUD panels.
Join us on Discord Make&Play