Music help

  • Is there a way to do the following?

    on start of layout >play music

    And is there a way to make music play across all the layouts, not just for one layout?

    I looked at tutorials and the manual, but no dice.

  • Any help is appreciated :)

  • its just like you said it

    add an event:

    system/on start of layout

    and an action

    audio/play

    if you won't do a 'stop audio' action, it will continue throughout the layouts.

  • its just like you said it

    add an event:

    system/on start of layout

    and an action

    audio/play

    if you won't do a 'stop audio' action, it will continue throughout the layouts.

    Music won't play no matter what I do. I tried:

    on start of layout >play music

    on start of layout >preload >play music

    on any click >play music

    on any click >preload >play music

    on object clicked >play music

    on object clicked >preload >play music

    cursor is over object >play music

    cursor is over object >preload >play music

    My music files are OGG, less than 10 minutes long, and I tried both the Sound folder and the Music folder. What am I doing wrong?

  • Sorry that i "reanimate" these "old" topic, but i also want to know how to play music over more layouts?

    Thanks!

  • Sorry for necro, but I also want to know how to do it. Having the music repeated when layout change kinda ruin the feeling <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You just need to add a condition to your event.

    On start of layout

    If audio tag "whatever" is not playing (done by right-click inverting "is playing")

    ----------------Play audio

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