Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Sound Test

Does anyone know how to make a sound test system? Preferably event-based, but scripting would work too.
I was thinking about having the player enter a number, but that seemed like too many conditionals, and having to guess the number of the song you wanted would get kind of annoying.
 
No problem.

So I'm assuming you want to select a song from a list and play it? You can just have easy "Show Choice" branches, although it might be a pain since you can only have 4 choices (unless you get a CMS).

So something like this would work:
Code:
@>Show Choices: "Song 1", "Song 2", "Song 3", "Next"
  If "Song 1"
    @>Play BGM: "Song 1"
  If "Song 2"
    @>Play BGM: "Song 2"
  If "Song 3"
    @>Play BGM: "Song 3"
  If "Next"
    @>Show Choices: "Back", "Song 4", "Song 5", "Next"
...etc.

Of course, you can always search the forums for a script, because I'm sure one's been made somewhere.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top