Damage numbers flying out edit

Guys, help me, I know that there is something like a plugin.

I need to make the damage numbers that fly out after dealing damage move more slowly, and the default version can barely be seen as they fly by quickly, tell me how to fix this.

If there is a plugin, what fields are responsible for this, thank you)
What plugins are you already using?

By default, the damage popup should last a second and a half, which is plenty for the average person to read a few numbers.

But if you need to change it, paste this into a text editor, save as a *.js file, include as a plugin:
Code:
Sprite_Damage.prototype.initialize = function() {
    Sprite.prototype.initialize.call(this);
    this._duration = 90;
    this._flashColor = [0, 0, 0, 0];
    this._flashDuration = 0;
    this._damageBitmap = ImageManager.loadSystem('Damage');
};

The line that says this._duration is how long in frames the popup is displayed for.

But, of course, that may not work properly if you're already using plugins that change it.
What plugins are you already using?

By default, the damage popup should last a second and a half, which is plenty for the average person to read a few numbers.

But if you need to change it, paste this into a text editor, save as a *.js file, include as a plugin:
Code:
Sprite_Damage.prototype.initialize = function() {
    Sprite.prototype.initialize.call(this);
    this._duration = 90;
    this._flashColor = [0, 0, 0, 0];
    this._flashDuration = 0;
    this._damageBitmap = ImageManager.loadSystem('Damage');
};

The line that says this._duration is how long in frames the popup is displayed for.

But, of course, that may not work properly if you're already using plugins that change it.

Yes, I use a number of combat plugins, but I still understand their full functionality, perhaps they just
made me faster animation, I need to review the list

2024-03-03_22-13.png



Yes, I will also try to use your code by adding it as a new plugin. But I think for him to work he must be lower than all of mine
It would make much more sense to first turn off all of those plugins, save your project, and start a new game.

See what the default popup looks like...it should not be too fast for you to read (unless you just read kind of slowly, in which case that's fine and you use the edit I gave you).
It would make much more sense to first turn off all of those plugins, save your project, and start a new game.

See what the default popup looks like...it should not be too fast for you to read (unless you just read kind of slowly, in which case that's fine and you use the edit I gave you).
In any case, you are right, I made a new project to see how it is, indeed the numbers just fall near the character and linger for a second, that’s enough:
2024-03-03_22-33.png

But I understand that my plugins changed the actions of the pop-up numbers, they don’t fall near the character but fly up very quickly, here’s a screenshot, but I can’t show how fast it is now 🙂
2024-03-03_22-37.png
Well, it's always important to read all of the features of a plugin before you install it, and to go through all of the plugin parameters carefully.

I'd bet it's from one of the SRD plugins, but you'll have to go through them and figure it out (unless someone else comes by and knows off the top of their head).
Well, it's always important to read all of the features of a plugin before you install it, and to go through all of the plugin parameters carefully.

I'd bet it's from one of the SRD plugins, but you'll have to go through them and figure it out (unless someone else comes by and knows off the top of their head).

I understand, I usually read what my plugins do, but if you don’t pay attention to the combat system for a long time and then come back, then you forget a lot of how it works.

I’ve already found a solution to the problem, you guessed it right, it’s not an SRD plugin but Yanfly: changing this function returned the default pop-up damage, but I’ll test it a little more, thank you for your help)
2024-03-03_22-42.png

Original thread: https://forums.rpgmakerweb.com/threads/damage-numbers-flying-out-edit.166443/