Re: GDE Game Development
So if I understand correctly Charles. You want to use the audio finished event to play the step again and move the player?
So the player will move when the Audio finishes and then another step will play.
And if you have a stop audio action on a release button event. That will stop it.
As for object audio interrupting itself. Each game object is assigned a channel when it plays audio and the listens for that channel ending to fire the audio finished event. So its 1 channel per object.
What I do is I create objects that are just for playing audio then dying.
I would make an object called something like Swing Sound. Swing Sound would play the audio on its creation and then destroy itself on audio finished. And whenever I wanted to play the swing sound effect, rather than using a play audio action and would use a Create Swing Sound Object action.
Hope that makes sense
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector