Sound And Animation Challenge =^.^=
Posted: Thu Aug 04, 2005 4:59 pm
In the game I'm working on, Key Down 1, 2 and 3 will each fire their own laser cannon. Now I've tried two sound setups, one is where the laser sound is triggered when one of the keys is pressed. The other is when the laser beam actor is created. The Key Down is set to repeat while key is pressed.
Also, whenever a bad guy or falling energy pod is hit by a laser or generally when either of these actors collides with anything, the actor is destroyed and an actor with a fire ball animation is created in it's place and then that actor is destroyed when it reaches the end of it's animation.
Also, an explosion sound is played when the explosion actor is created. The alternative setup is the sound plays when either actor is destroyed.
The problem comes in that when I'm testing the game in Game Mode or running it as an executable, the actors are mostly visible as they ought to be, but the animations and sounds do not play at least 50% of the time they are called.
Is there a limitation as far as how many sounds and animations can play at once?
What can I do to fix this?
Also, whenever a bad guy or falling energy pod is hit by a laser or generally when either of these actors collides with anything, the actor is destroyed and an actor with a fire ball animation is created in it's place and then that actor is destroyed when it reaches the end of it's animation.
Also, an explosion sound is played when the explosion actor is created. The alternative setup is the sound plays when either actor is destroyed.
The problem comes in that when I'm testing the game in Game Mode or running it as an executable, the actors are mostly visible as they ought to be, but the animations and sounds do not play at least 50% of the time they are called.
Is there a limitation as far as how many sounds and animations can play at once?
What can I do to fix this?