en:yaml:hud
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| en:yaml:hud [2026/10/20 22:10] – Mod?les sur_place, port?e des encadr?s et objets 4.17 cyrilfiesta | en:yaml:hud [2026/11/04 22:41] (Version actuelle) – Documentation 4.17 : objets, evenements et mise en page verifies cyrilfiesta | ||
|---|---|---|---|
| Ligne 57: | Ligne 57: | ||
| <code yaml> | <code yaml> | ||
| + | vars: {hp: 10, hpmax: 10} | ||
| hud: | hud: | ||
| position: top-right | position: top-right | ||
| Ligne 140: | Ligne 141: | ||
| In the editor, tick **Clear when leaving the room** on the panel. The box is unchecked by default. Scope is optional in [[en: | In the editor, tick **Clear when leaving the room** on the panel. The box is unchecked by default. Scope is optional in [[en: | ||
| + | |||
| + | ===== Percentage and alignment in a panel ===== | ||
| + | |||
| + | Alongside '' | ||
| + | |||
| + | <code yaml> | ||
| + | title: 'Wiki 4.17: HUD' | ||
| + | vars: | ||
| + | pv: 10 | ||
| + | rooms: | ||
| + | - id: atelier | ||
| + | text: A chest. | ||
| + | hud: | ||
| + | position: top | ||
| + | text: | | ||
| + | [[align: | ||
| + | [[split: | ||
| + | HP: v_pv_v | ||
| + | choices: | ||
| + | - command: rester | ||
| + | button: Stay | ||
| + | to: atelier | ||
| + | </ | ||
en/yaml/hud.1792527003.txt.gz · Dernière modification : de cyrilfiesta
