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

Les deux révisions précédentesRévision précédente
en:yaml:hud [2026/07/06 00:35] – maj 4.13 : modes d'interface + corrections cyrilfiestaen:yaml:hud [2026/07/06 00:59] (Version actuelle) – maj 4.13 : modes d'interface + corrections cyrilfiesta
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>
  
Ligne 81: Ligne 81:
   - top-right   - top-right
 </code> </code>
 +
en/yaml/hud.txt · Dernière modification : de cyrilfiesta