Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8931

Following the tutorial Your First Game (Windows). Music won't play when game runs.

$
0
0

I'm following the tutorial "Your First Game (Windows)". I'm using the assets for the tutorial that I downloaded from the website. I'm on the 5th video "Adding Sounds". The gemgrab and playerdeath sounds work as they should. However, I've added a play sound rule to play gamemusic.ogg to the Game Functions prototype. Loop is checked, run to completion is not. When I run the game, the music does not play. I tried doing it with only run to completion checked, and with both checked. Neither works.

I can play it in the creator, by clicking on the play arrow next to it on the media tab, so the sound file is good. I tried replacing it with other sound effects just to make sure it wasn't a problem with the file. The other sound effects also do not work in Game Functions. It seems like the rule simply isn't being triggered. The other rules in Game Functions work.

Has anyone else encountered this? Does anyone have a solution? I hate wasting trial period time debugging stuff that should work!


Viewing all articles
Browse latest Browse all 8931