Sounds
The sounds live in the Recursos (Resources) panel, like any other file. To add one, drag WAV, OGG or MP3 files from File Explorer into a folder, or use Importar som ou música (WAV, OGG, MP3)… (import sound or music) on the right-click menu.
Listen
Section titled “Listen”Each sound has a green ▶ next to its name. Click it to listen right away, without running the game.
The sound Inspector
Section titled “The sound Inspector”Select a sound to see:
- Informações (information): the Arquivo (file), the Duração (duration), the Canais (channels, mono or stereo) and the sampling Taxa (rate).
- Below them, Ouvir (listen) plays the sound, and Copiar código (copy code) copies the finished line, for example
Audio::play("dano");, for you to paste into the code. Hover over the button to see the line before copying.
The name of the sound is the name of the file without the .wav. To play it in the game, see Play sounds.
