Outils pour utilisateurs

Outils du site


en:txt:sons-images

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
Prochaine révision
Révision précédente
en:txt:sons-images [2026/07/06 00:13] – maj 4.13 : modes d'interface + corrections cyrilfiestaen:txt:sons-images [2026/08/31 20:48] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta
Ligne 1: Ligne 1:
 **Language / Langue :** [[fr:txt:sons-images|FR]] | **EN** **Language / Langue :** [[fr:txt:sons-images|FR]] | **EN**
  
-====== TXT - Sounds and Images ======+====== Sounds and images (.txt format) ======
  
-Use ''%%[[url]]%%'' for images and ''%%<<url>>%%'' for sounds.+===== Sounds ===== 
 + 
 +The bot joins the **JDR-Bot** voice channel automatically, when it exists, at the start of every game, and leaves it when the game ends or is given up. 
 + 
 +To play a sound, surround its URL with ''<<'' and ''>>'':
  
 <code> <code>
-[[https://example.com/image.png]] +The dragon roars! <<https://example.com/sounds/roar.mp3>> You take 10 damage.
-<<https://example.com/sound.mp3>>+
 </code> </code>
  
-Use ''<<stop>>'' to stop sounds.+Supported formats: ''.mp3'', ''.ogg'', ''.wav'' 
 + 
 +  * One sound at a time: if a sound is playing, it is stopped before the next one starts. 
 +  * A sound plays **once**, not in a loop. It plays again if the player comes back to the room. 
 + 
 +===== Images ===== 
 + 
 +To display an image, surround its URL with ''%%[[%%'' and ''%%]]%%'': 
 + 
 +<code> 
 +You uncover an old map. 
 +[[https://example.com/images/map.png]] 
 +What will you do with it? 
 +</code> 
 + 
 +The URL must start with ''http'' or ''https''. Supported formats: ''.png'', ''.jpg'', ''.gif'', ''.webp'' 
 + 
 +The image is displayed between the two blocks of text. 
 + 
 +===== Available sounds ===== 
 + 
 +Royalty-free sounds are hosted on the official server: 
 +[[https://cyril-fiesta.fr/jdr-bot/scenarios/sounds/]] 
en/txt/sons-images.1783289580.txt.gz · Dernière modification : de cyrilfiesta