Ashley,
I got some feedback from one of the the players. The sound version was crashing for him, but the no-sound version works fine. Here's his specs:
[quote:2bdkc2ck]Ok! I'm using an HP laptop with:
Vista Home Premium, Build 6001, 32-bit (SP1)
Intel Core Duo T7250, ~2.0GHz
2046MB RAM
NVIDIA GeForce 8400M GS
DirectX 10
Sound card/setup seems to be Realtek Digital Output (Realtek High Definition Audio)
It seems the crash was happening for him when the sound was being stopped (upon walking back into the house from the outside, when the front door closes). I too have had a couple crashes with the sound stopping, usually on the menu screen. When selecting the "play" option it crashes sometimes. Only rarely though, and usually if I hit the Z key right away when the menu first becomes available. At that point the volume for the ocean sound is still being adjusted.
I think setting the volume and turning off the sound in the same tick might be what's causing this particular problem. On the screen in question I have a sprite in the center of the room. When another sprite (which follows the screen as it scrolls) overlaps the room sprite, it adjusts the background sound volume.
<img src="http://xs434.xs.to/xs434/08492/frontroom872.png">
The event looks like this:
volumeController: Overlaps frontRoomVol
HouseSound: Set channel 1 volume to -8 dB
HouseSound: Set channel 2 volume to 1 dB
HouseSound: Set channel 3 volume to 0 dB
HouseSound: Set channel 4 volume to 0 dB
HouseSound: Set channel 5 volume to 0 dB
[/code:2bdkc2ck]
When the player crosses the door boundary it turns the environmental sounds off (the wind/crickets):
Player: Overlaps doorTriggerA
Player: Does Not Overlaps doorTriggerB
System: Trigger once
door: Set animation to "Closed"
doorClosed: Set collision mode to Bounding box
HouseSound: Stop channel 1
HouseSound: Stop channel 2
HouseSound: Autoplay resource "doorclose.wav" (No loop)
doorTriggerA: Destroy
[/code:2bdkc2ck]
So in essence it's setting the volume and turning off the sound in the same tick. I don't know if that's exactly what's causing the crash, but I can run some tests to make sure.