Play sounds as a playlist

0 favourites
  • 3 posts
From the Asset Store
In this template the music plays without looping in your game
  • Hi Everybody,

    I am new to construct, a week so far.

    I wanted to ask if I can play a list of audio files in sequence. i.e if have sound1, sound2 & sound3, I want to play sound1, when it finishes, sound2 starts, then when it finishes sound3 starts.

    Can this be done?

    Thanks

    askanaan

  • Create a new event (not action).

    Select Audio, then On ended ended and use "file1" tag where it is the name of the track that is before "file2"

    For action...Select Audio, the play "file2" tag

    or I can write it this way...

    Audio: On ended "file1" -> Audio: play "file2"

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Create a new event (not action).

    Select Audio, then On ended ended and use "file1" tag where it is the name of the track that is before "file2"

    For action...Select Audio, the play "file2" tag

    or I can write it this way...

    Audio: On ended "file1" -> Audio: play "file2"

    Worked nicely,

    Thanks !

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)