MV Pixel Movement Sound Steps

hey there, i want to make footstep sounds but every plugin I use either doesn't work with pixel movement or it makes a machine gun like sound since I'm using pixel movement and not the default tile movement, is there any plugin that supports pixel movement?

note that I'm using the qmovement plugin for pixel movement
it makes a machine gun like sound
What plugin are you using? Maybe there is a way to reduce the frenquence?
What plugin are you using? Maybe there is a way to reduce the frenquence?
Yanfly's one, here's a link to it

It's a thing with various pixel movement plugins and footstep plugins because the SE is tied to player movement. The player increments forward a pixel at a time instead of a tile so it rapid fires the sound effect.
It's a thing with various pixel movement plugins and footstep plugins because the SE is tied to player movement. The player increments forward a pixel at a time instead of a tile so it rapid fires the sound effect.
Ah so it's impossible to Overwrite? or is there still a chance?
No you should be able to overwrite the logic in the footsteps plugin to increment a variable every time you step so that it only plays the SE every 10 steps or so, then resets the variable to 0, instead of playing the SE every step
It's a thing with various pixel movement plugins and footstep plugins because the SE is tied to player movement. The player increments forward a pixel at a time instead of a tile so it rapid fires the sound effect.
That YEP plugin hooks increaseSteps to play footsep sounds.
So I assume footstep logic and random encounter is broken as well.


Without fixing them, you can edit YEP_FoostepSounds to let it ignore footstep with a counter.

Here
JavaScript:
Yanfly.Footsteps.Game_CharacterBase_increaseSteps =
  Game_CharacterBase.prototype.increaseSteps;
Game_CharacterBase.prototype.increaseSteps = function() {
  Yanfly.Footsteps.Game_CharacterBase_increaseSteps.call(this);
  if (this !== $gamePlayer) {
    this.fsCount = this.fsCount||0;
    if(this.fsCount++%20===0){
      this.processFootstepSound();
    }
  }
};

And here
JavaScript:
Yanfly.Footsteps.Game_Player_increaseSteps =
  Game_Player.prototype.increaseSteps;
Game_Player.prototype.increaseSteps = function() {
  Yanfly.Footsteps.Game_Player_increaseSteps.call(this);
  this.fsCount = this.fsCount||0;
  if(this.fsCount++%20===0){
    this.processFootstepSound();
  }
};

You can adjust the number 20 to have better result.


I don't know why there are two functions. But if (this !== $gamePlayer) seems unnecessary.
this.processFootstepSound will use the Game_Player version anyway.
That YEP plugin hooks increaseSteps to play footsep sounds.
So I assume footstep logic and random encounter is broken as well.


Without fixing them, you can edit YEP_FoostepSounds to let it ignore footstep with a counter.

Here
JavaScript:
Yanfly.Footsteps.Game_CharacterBase_increaseSteps =
  Game_CharacterBase.prototype.increaseSteps;
Game_CharacterBase.prototype.increaseSteps = function() {
  Yanfly.Footsteps.Game_CharacterBase_increaseSteps.call(this);
  if (this !== $gamePlayer) {
    this.fsCount = this.fsCount||0;
    if(this.fsCount++%20===0){
      this.processFootstepSound();
    }
  }
};

And here
JavaScript:
Yanfly.Footsteps.Game_Player_increaseSteps =
  Game_Player.prototype.increaseSteps;
Game_Player.prototype.increaseSteps = function() {
  Yanfly.Footsteps.Game_Player_increaseSteps.call(this);
  this.fsCount = this.fsCount||0;
  if(this.fsCount++%20===0){
    this.processFootstepSound();
  }
};

You can adjust the number 20 to have better result.


I don't know why there are two functions. But if (this !== $gamePlayer) seems unnecessary.
this.processFootstepSound will use the Game_Player version anyway.
thank you! this worked
I don't know why there are two functions. But if (this !== $gamePlayer) seems unnecessary.
this.processFootstepSound will use the Game_Player version anyway.
I though it was bound to tiles and events as well, but if it works better without it.
but if gamePlayer only, I let ATT Turan know to let the play remove this line or rule out.

same effect might be happen if you remove just the "!" too?
but entirely out of the picture if better 🙂

but 2 functions is also for events to walk on as they can use both 🙂

Original thread: https://forums.rpgmakerweb.com/threads/pixel-movement-sound-steps.176012/