- Joined
- Oct 23, 2015
- Messages
- 69
- Reaction score
- 7
- First Language
- English
I'm treating my TP meter in my game like a battery charge, so I would love to have a % next to all TP numbers in my game. Is there a way/plugin to do this?
this.drawText('%', x, y, 64, 'right');
Ops... I wasn't sure where the symbol would go, I'm half asleep, sorry.Well, I want it to be like "21%"
this.drawText(actor.tp, x + width - 44, y, 44);
this.drawText('%', x + width - 64, y, 64, 'right');
this.drawText(actor.tp + '%', x + width - 64, y, 64, 'right');
@WhiteW @Ichida za Zeal
STOP
Editing the core files is a VERY BAD idea. Whenever a project gets updated to a new version those core files are overwritten, removing all changes.
And MV is still in support, so you can expect further updates beyond the current 1.6.2
Those updates are not automatic exactly because there are cases where people need to stay at older versions (for plugin compatibility for example), but artificially blocking yourself from updates is not a good idea.
All you need to do is to take the original function you want to modify and overwrite it with a plugin that contains such changes and no matter how the core files get updated the change would stay.
I get your point, although I'm not sure if it's really worth it for a change of only 6 extra characters that can be easily readded in case of update...
So is there a way to do this without having to fear for my life every time an upgrade happens? XD
That worked! Did you have that on hand or did you custom make this for me?
Either way, thanks a lot! I will be sure to credit you.![]()