BUG: Music Ending in Scene 1 stopping sounds in Scene 2
JCFord
Member Posts: 785
I have found a Bug that I can't seem to find a work around to! The bug does not appear when you run it through the web preview, but when you test on the actual device or run it through the GS viewer the bug is there?
TO STRIP IT RIGHT BACK:
In scene 1 I have background Music playing (M4a) & a button that goes to scene 2
In scene 2 I have a button when clicked that plays a sound (ogg file)
Scene 1 plays the background music via the play music behaviour, and you click the button to move to scene 2. In this second scene there is a button that when clicked will play a sound effect via the play sound behaviour, now this all works UNTIL the music file comes to a natural end and then it ALSO KILLS the sound effect? i.e. If the Music file is 20 seconds long then after 20 seconds the sound effect will stop playing?
I will make a stripped down demo and post it up to see if anyone else can resolve this, but remember it works okay in the web preview, you need to run this in the GS VIEWER or on the actual device for the bug to show its head!
TO STRIP IT RIGHT BACK:
In scene 1 I have background Music playing (M4a) & a button that goes to scene 2
In scene 2 I have a button when clicked that plays a sound (ogg file)
Scene 1 plays the background music via the play music behaviour, and you click the button to move to scene 2. In this second scene there is a button that when clicked will play a sound effect via the play sound behaviour, now this all works UNTIL the music file comes to a natural end and then it ALSO KILLS the sound effect? i.e. If the Music file is 20 seconds long then after 20 seconds the sound effect will stop playing?
I will make a stripped down demo and post it up to see if anyone else can resolve this, but remember it works okay in the web preview, you need to run this in the GS VIEWER or on the actual device for the bug to show its head!
Comments
@ chaser NO added rules to change game sound at all.
I have a demo below that can be downloaded for you to try, but like I mentioned above this works okay in the web preview, but IF you run this on an iPAD or through the GS iPAD VIEWER the bug comes up after 25 seconds when the music finishes?
I have left the music to run into scene 2, but even if you add a stop music behaviour when leaving scene 1, after the 25 seconds the Sound effect still stops!
I think this is a GS bug!
download example:
http://www.jasonford.co.uk/clients/GS-BUG.zip
Thanks
JCFord
also let
So can anyone else try this to confirm this for me, or have a work around?
On my tropical totems for ipad my music loops and when I went to best buy and installed it on their floor models everything worked fine.
Definitely a GS bug if it was not an import issue. Keep us informed
I have got around the issue as my music file is only 20 seconds long to import it as an OGG and using the Sound Behaviour instead so it all works fine now, but there are going to be future instances when I will need this as Music - I have emailed the GS team so hopefully they can build a fix into the next release!