I want to use different sounds for walking and running, so I tried to use a JS-Code for each variant:
In short:
Problem with that:
The dashing sound does not work properly, because when "Dashing" is true, the "Moving" is true too.
Does someone has an Idea on how to only play the dashing sound when "Dashing" is true?
(Even though I learned quite a lot from the community here, I'm still a JS noob)
In short:
if ($gamePlayer.isMoving()) { play sound x... } (works fine)if ($gamePlayer.isDashing()) { play sound y... }Problem with that:
The dashing sound does not work properly, because when "Dashing" is true, the "Moving" is true too.
Does someone has an Idea on how to only play the dashing sound when "Dashing" is true?
(Even though I learned quite a lot from the community here, I'm still a JS noob)