Play sound independent of layout

0 favourites
  • 7 posts
From the Asset Store
Plugin Transition Layout C3. Layout opening and closing animation for C3. Quickly set up transitions between lay
  • I'm trying to make it so that the sound file plays as soon as the game is started, and keeps playing even when the layout has changed? Is this possible and if so, how would it be done?


  • Add an event that stops the sound right after the event that changes layout. Then in the new layout just start a new sound file playing. If your still stuck send me a reply and ill make it and sent you a link.


  • appchogie

    I think you miss interpreted his request. He is asking if a sound/music file will play through layout changes.


    Have you tried just playing a sound on repeat(i suggest a music file) then changing the layout.

    However keep in mind that on IOS sounds won't play until a touch even occurs.

  • Before switching the layout you could save the PlaybackTime of your sound to a global variable and on start of the new layout resume the same sound with the Seek to action.

    Don't know how well this works in practice as I didn't use this before.

  • jayderyu your right I did mate, I replied via my mobile phone and just glanced at it.

    deerob4 One way you could do it is to have a event sheet called "music" code the event sheet to access the music/sound you want,and on each layout "include event sheet". The music will continue to play.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for all the responses guys!

    appchogie Your method worked, thanks very much!

  • that's ok. I make that mistake too :D

    how about exploring and just play a sound. then change the layout a few seconds later?

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