Puppet Knight - Draw Actor Extras

Puppet Knight's - Draw Actor Extras
RPG MAKER MZ
PUPPET KNIGHT
​
Intro:
This plugin is a collection of functions to enhance how devs draw icons and sideview battler sprites in their projects.

Features:

3 functions:

  1. drawActorStats​
  2. drawResizedIconsAndText​
  3. drawSVbattler​


Terms of Use:

Free for commercial or non commercial projects. Just be sure to credit "Puppet Knight".

Welcome to update/alter any code as needed to fit the needs of your project.




Draw Actor Stats:

Draws the Base Parameters of the Actor with Icons instead of text like "ATK" or "DEF" in a neat organized set of two columns. Additionally, plugin parameters allow users to choose which Icons will accompany what parameters.

1688869672267.png



Draw Resized Icons and Text:
A bit more flexible, this function allows users to define what Icons and What text specifically they wish to draw on the screen. Depending on the sizes chosen for the icon and font. A centering argument is included to let users decide where the icon is placed in relation the the text.
1688870062294.png

Everything with an Icon above uses this function to be drawn out ^_^
1688870090861.png

Users can also choose to draw an array of Icons. S spacing will automatically be provided between the Icons drawn. If using variables that may result in any of the Icon's Index being 0, the icon will simply not be drawn and it will move onto the next icon in the array.

Draw Sideview Battler:
What I consider to be the most amazing part of this plugin, I've added an easy way to draw animated SV battlers directly into menu scenes. Users specify which Actors SV image they will be using, designate an array of the frame to run through, and can even change the output size of the animation to fit their menu needs.


Resulting in some really cool things ^_^
EquipSceneSVFeature.gif



ItemSceneSVFeatureComp.gif



Future Updates to Include (hopefully):

  1. SVbattler - Looking for a way to allow SV Battlers to be drawn above
    or below existing objects without erasing the rectangle around them.

  2. Improve/Implement ability to have multiple uses of this._actor on the same scenes
    if different Actors are using them.



Plugin can be found on the itch page!


Puppet Knight's Itch.io Page
- v 1.1 Hotfix: adjustment to Sideview Battler function for better compatibility with ItemEquipsCore Item Scene
Updated drawActorStats function: swapped HIT rate out as that isn't traditionally shown in parameters.

Looking for feedback on whether or not folks want MHP and MMP as parameters that are also shown when using this function.
where and how exactly do you enter the scripts to draw the SVbattler in the different windows?
where and how exactly do you enter the scripts to draw the SVbattler in the different windows?
Good morning. I'm not by my computer but if memory serves me I built this on Window_Base. So you should be able to use the drawSVBattler function within any window function by using 'this.drawSVBattler' then the arguments as instructed.

Original thread: https://forums.rpgmakerweb.com/threads/puppet-knight-draw-actor-extras.159119/