I want to slightly reduce the dash animation. Is there an easy way to do this?
How to change dash speed animation?
RPG Maker MV Supportas a plugin it's pretty straightforward
Here's how it determines dash speed:
change it down a little bit
Here's how it determines dash speed:
Code:
Game_CharacterBase.prototype.realMoveSpeed = function() {
return this._moveSpeed + (this.isDashing() ? 1 : 0);
};
change it down a little bit
Code:
Game_CharacterBase.prototype.realMoveSpeed = function() {
return this._moveSpeed + (this.isDashing() ? 0.3 : 0);
};
Restart It works great! Thanks.
I have another question, is it possible to change dash speed animation?
I have another question, is it possible to change dash speed animation?
By default your animation speed is just based on your movespeed, according to this formula:
This is many frames we wait on a particular image, so lower = faster.
If you want to make move speed matter less overall, multiply the movespeed by .9 or something:
If you want to make it not care about whether or not you're dashing, use the base speed (not the real movespeed):
Or if you want to make it care half as much about whether or not you're dashing, average the two speeds:
Code:
Game_CharacterBase.prototype.animationWait = function() {
return (9 - this.realMoveSpeed()) * 3;
};
This is many frames we wait on a particular image, so lower = faster.
If you want to make move speed matter less overall, multiply the movespeed by .9 or something:
Code:
Game_CharacterBase.prototype.animationWait = function() {
return (9 - 0.9*this.realMoveSpeed()) * 3;
};
If you want to make it not care about whether or not you're dashing, use the base speed (not the real movespeed):
Code:
Game_CharacterBase.prototype.animationWait = function() {
return (9 - this._moveSpeed ) * 3;
};
Or if you want to make it care half as much about whether or not you're dashing, average the two speeds:
Code:
Game_CharacterBase.prototype.animationWait = function() {
return (9 - (this._moveSpeed + this.realMoveSpeed())/2 ) * 3;
};
Restart
Cool! Thanks for the formulas
I want the speed of dash animation to be 20-30% faster than walking, for now it does not work. Perhaps due to the fact that I use the plug-in Gavl CharacterFrames, which also changes the speed of the animation.
I will continue to work with your code
Cool! Thanks for the formulas
I want the speed of dash animation to be 20-30% faster than walking, for now it does not work. Perhaps due to the fact that I use the plug-in Gavl CharacterFrames, which also changes the speed of the animation.
I will continue to work with your code
oh you're using a plugin that already pokes it? Yeah that changes things.
putting this into the plugin formula should cancel out dashing
putting this into the plugin formula should cancel out dashing
Code:
f * 0.8 - 2* this._character._dashing
Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-dash-speed-animation.121325/