Outils pour utilisateurs

Outils du site


en:yaml:hud

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
en:yaml:hud [2026/05/03 18:29] – Add English wiki page using real engine keys cyrilfiestaen:yaml:hud [2026/07/06 00:59] (Version actuelle) – maj 4.13 : modes d'interface + corrections cyrilfiesta
Ligne 1: Ligne 1:
-**Language:** [[fr:yaml:hud|Français]] | **English**+**Language / Langue :** [[fr:yaml:hud|FR]] | **EN**
  
-====== HUD — Persistent Panels (YAML) ======+====== HUD Persistent Panels (YAML) ======
  
 HUD panels (''hud:'') display persistent information on the player screen: HP, score, mini-map, countdown, and so on. HUD panels (''hud:'') display persistent information on the player screen: HP, score, mini-map, countdown, and so on.
Ligne 15: Ligne 15:
  
 <code yaml> <code yaml>
-- idfight_room +rooms
-  hud: +  - idfight_room
-    position: top-right +
-    text+
-      HP: v_hp_v / v_hpmax_v +
-      Score: v_score_v +
- +
-events: +
-  - if: ~ +
-    do: "hp.-.3" +
-    button: "Lose 3 HP" +
-    text: "Ouch!"+
     hud:     hud:
       position: top-right       position: top-right
-      text: "HP: v_hp_v / v_hpmax_v"+      text: | 
 +        HP: v_hp_v / v_hpmax_v 
 +        Score: v_score_v 
 +    events: 
 +      - if: ~ 
 +        do: "hp.-.3" 
 +        button: "Lose 3 HP" 
 +        text: "Ouch!" 
 +        hud: 
 +          position: top-right 
 +          text: "HP: v_hp_v / v_hpmax_v"
 </code> </code>
  
en/yaml/hud.1777825790.txt.gz · Dernière modification : de cyrilfiesta