Hey all,
It's the Way of the Sax guy again! I'm having trouble getting sound effects timescale and also layout music to work correctly. I've read all the forum threads and manual entries on the subject, but they either don't explain enough, or the problem is just overlooked and an alternate solution is proposed.
First problem...
When I hit pause in the middle of a fairly lengthy sound effect (as in the truckapproach in layout 2), it would keep playing. What I have done temporarily is to tag all sfx as "sfx" and tell my pause function to Audio: stop "sfx". When I do this, it stops on pause. However, when I unpause, the sound does not return. Music pauses and unpauses correctly. This is like an old NES game where the same problem occurs.
Second problem...
I'm starting to implement a title screen that plays the main theme. When I click the button to start, I can get the main theme music to stop, but I can't for the life of me get the Layout 1 music to play when it's supposed to. If I tell the Main Theme to "stop" on button click, then nothing plays the rest of the comic. If I set it to "muted" on button click, Layout 1 music comes in either late or not at all.
I need music to begin on the start of each layout everytime, and so far this is pretty inconvenient. The only way I know of to fix it is to put all my music in the sounds folder and have the game load everything everytime. Yuck.
Thanks.
capx...
philipcomposer.com/comic/wayofthesax.capx