Help editing Animation Resizer - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Games Development (https://www.save-point.org/forum-4.html) +--- Forum: Code Support (https://www.save-point.org/forum-20.html) +--- Thread: Help editing Animation Resizer (/thread-4424.html) |
Help editing Animation Resizer - MechanicalPen - 11-02-2012 I found this script that can resize animations at runtime. I want to use it to make Skill animations smaller when they are applied on Actor battlers (they are several times smaller than Enemy battlers) but I am not sure where to make the change. Could someone more familiar with RPG Maker XP's battle/animation systems assist? The script: Code: #=============================================================================== RE: Help editing Animation Resizer - kyonides - 11-02-2012 Well, what I think that I understood about the inner working of this script is that it is supposed to work like this: GGHAN.zoom(animation_id) In order to include as many animations as you may need to increase or to decrease, you need to edit the case statement case id when 67 then return 300 when 1 then return -90 ### another when ID then return (+ / -) percentage end But as you may have already noticed after a few attempts to get the script work the way you want, the script doesn't include such a feature and might need to be (partially or entirely) rewritten before it allows you to change the animations size while being focused on any event. So be patient and check every so often in case that any scripter may have posted some specific solution for your scripting issue. RE: Help editing Animation Resizer - MechanicalPen - 11-06-2012 I understand how the script works, I am just not sure how to tell if an animation is being applied to an Actor and not an Enemy. Once I figure that out it is a simple change; from: elsif $scene.is_a?(Scene_Battle) to : elsif $scene.is_a?(Scene_Battle) && (sprite is on top of Actor) RE: Help editing Animation Resizer - MechanicalPen - 11-22-2012 I figured it out! Using Battle Animation 'Flip' Control http://save-point.org/thread-2584.html as a base, one can simply edit the flip effect into a zoom effect. |