MZ I want to display an animation in front of a picture when using the MZ3D plugin.

My first question.
I am making a game using the MZ3D plugin.

スクリーンショット 2024-10-13 144437.png


I want to display a battle animation on top of the standing picture displayed in the picture, but it does not work.

I tried adding a plugin that displays the animation over the picture, but I could not get it to display over the picture.
I tried adding a plugin to change the display priority of the picture, but the picture is no longer displayed.

I am thinking that perhaps the priority setting has been changed by the MZ3D plug-in, but I am asking this question because it is difficult to solve the problem on my own.
If you know of a solution or another effective plug-in, please let us know.

The plugins we used are as follows.

by Poniinu
Play animation above the picture - ponidog_upper_animation.js

by Triacontan
Picture Priority Customize - PicturePriorityCustomize.js
I know a way, which goes great if you have one animation you like to use like that.

You would have to rip the animation sprite apart and save each frame in a new file in the pictures folder.

Now, you can manually show the frames with the show-picture command on top of the other picture. Show one frame after the other, with 2 or 3 frames in between, and you have yourself an animation. Don't forget to add the flashes and the sound effects.

Which frames and other effects need to be used, can be seen in the animation page in the database.

This is a lot more work than just choosing the pre-programmed animation, so if you need this more often, finding a plugin to deal with this would be a better option. I just can't promise there is one.
I know a way, which goes great if you have one animation you like to use like that.

You would have to rip the animation sprite apart and save each frame in a new file in the pictures folder.

Now, you can manually show the frames with the show-picture command on top of the other picture. Show one frame after the other, with 2 or 3 frames in between, and you have yourself an animation. Don't forget to add the flashes and the sound effects.

Which frames and other effects need to be used, can be seen in the animation page in the database.

This is a lot more work than just choosing the pre-programmed animation, so if you need this more often, finding a plugin to deal with this would be a better option. I just can't promise there is one.
Thank you.
I can certainly do it that way.
I'd like to make that only a last resort...
Thank you.
I can certainly do it that way.
I'd like to make that only a last resort...
Yeah, it is certainly a work-around, for if you can't find a plugin that could do it for you. That would 100% be the easier solution.

EDIT: Oh, IMPORTANT NOTE: Because pictures are only there for a few frames, you might want to pre-load them. You can simply run an parallel event on the map:

1728829474838.png


Show all frames, with 0 Opacity. This can be in the same picture slot.
Then erase the event, so you know it will only run once, each time you enter that map.

Now there will be no delay when you actually show the picture.

If you don't do that, older computers or browser versions of the game will have troubles showing the animation, because loading might take longer than the picture is actually shown.

Original thread: https://forums.rpgmakerweb.com/threads/i-want-to-display-an-animation-in-front-of-a-picture-when-using-the-mz3d-plugin.172555/