Random Music

AngelDog

  • Posts: 37
I got a bunch of music for the game, but I can't figure out how to play a random piece out of all of them, if I can.
beep bop

DELETED_117713

  • Posts: 771
I'd just make a random number attribute like "music" or something, and just trigger a certain song depending on what the number reaches.

Luyren

  • *
  • Posts: 2805
List of music names is a list attribute where you just add the name of each music in your game. Place that code in an event and  trigger it as needed.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

AngelDog

  • Posts: 37
List of music names is a list attribute where you just add the name of each music in your game. Place that code in an event and  trigger it as needed.
Thanks!
beep bop