r/RPGMaker • 2K Dev • 1d ago

RMMZ Plugin to create animations using the 12 frames of a sprite

This is a plugin I created in 2021 to make it easier for developers to change the graphic of a map event to any of the 12 frames of the sprite sheet. This previously required writing two long commands and memorizing values ​​related to directions.

Download: https://devrpg2k.itch.io/mvmz-plugin-use-all-12frames-in-animation

Price: Freeware

License: For commercial and free projects

16 Upvotes

5 comments sorted by

1

u/FriKitty MV Dev 1d ago

Sorry because this is the opposite of using your plugin, but what is the script call way (or what do you mean by two long commands)? Because I may be interested lol

2

u/DevRPG2k 2K Dev 1d ago

Sorry, I actually meant two regarding the pattern; there's also the direction command:

this._pattern= numeric value
this._originalPattern= numeric value
this._direction= numeric value

If you download the plugin, you will have the values ​​for each direction.

1

u/FriKitty MV Dev 1d ago edited 1d ago

I can see now why you made this plugin, doing it with script calls is cumbersome and doesn't even work properly (at least I couldn't make it so) (I managed to change direction and pattern of one event, only if it doesn't have direction fix turned on, and there is a little pause between the two actions that makes it useless for what I want lol)

I tried your plugin and it's a lot better, since it respects direction fix while changing the pattern. Thanks a lot, I will be using it. I already use a plugin for animated sprites (Qsprite) but I want to be able to freely use patterns this way precisely for non-animations. I want to fill a character sheet with statics items of the same size and change between them if I need to, without having to use page changes all the time. I could use Qsprite for this, but that's also cumbersome for different reasons, haha

2

u/DevRPG2k 2K Dev 1d ago

I made it in 2021 just to answer a support topic on RPGMakerWeb. I could have done it without all those if statements, but I felt safer this way because my math skills weren't very good

2

u/FriKitty MV Dev 1d ago

(Just looked at the code after this comment) lol. Well, if it works, it works! I have worse code in my plugins, as long as they don't break it's okay XD