Is it possible to align a sound effect with a specific frame of the player-character walking animation?
I was looking at Yanfly's step sounds, but no luck...
Thanks for responding!
Yes it is, using a proper combination of If key is pressed, Play BGS and Wait commands in a parallel process.
However, since there is such a thing as lags, I don't see any productove reason as to why would you do it.
you'd need an instruction added to the refreshing of the animation to trigger the sound, and a sound that is exactly the size of the animation, in frames.
or, an extra instruction cutting the sound before the new call to it is made.... but that can cause stuttering or lag.
it is doable, though.
you just need very specific sounds and animations, and you'll have to adjust them precisely.
Thanks for the response!
I can line up the animation and audio in the "animations" menu. Then a script to add the instructions to the animation refresh?...
you need to set it to parallel and have appropriate Trigger switch on:
Then simply use Conditional branch: left is pressed - play BGS:
and appropriate wait timing.
Okay, thanks, I see it. So I set up four common events, one for each direction. It's working but it's a little erratic, especially with diagonals. I wonder if there's a way to make the "if" of the conditional read "if player moves in any direction"...
Thanks, again.