MZ 4 frame Animated Looping Battleback?

3454B465-8C06-471C-953E-754A533BF174.gif
B492537A-0AE6-425B-8BAB-72E7BA139E1B.gif


Hello! I really adore the arena crowds in the older Kirby games and was wondering if anyone knew existing plugins for MZ that can achieve this effect? In case they don’t exist already I also put it in plugin requests.

Essentially it would be a 3-4 frame animated loop that plays in the battleback background layer while the foreground layer is a still image for the stage.

Thank you!
You want this during battle, or on the map?

I am not sure if this would work during battle, but on the map you can simply make 4 different versions of the background, then put them all in the parallax folder and make a parallel event that goes:

Change parallax to parallax 1
Wait 3 frames
Change parallax to parallax 2
Wait 3 frames
Change parallax to parallax 3
Wait 3 frames
Change parallax to parallax 4
Wait 3 frames

(If you want to try it during battle, use battle back instead of parallax, but like I said, I don't know if this would work during battle.)
You want this during battle, or on the map?

I am not sure if this would work during battle, but on the map you can simply make 4 different versions of the background, then put them all in the parallax folder and make a parallel event that goes:

Change parallax to parallax 1
Wait 3 frames
Change parallax to parallax 2
Wait 3 frames
Change parallax to parallax 3
Wait 3 frames
Change parallax to parallax 4
Wait 3 frames

(If you want to try it during battle, use battle back instead of parallax, but like I said, I don't know if this would work during battle.)
I did mean for battle but this is very useful information as well if I wanted to try it out of battle! Thank you so much for the detail!

I was looking at Visustella’s Visual Battle Environment plugin but I’m not too sure if it can do what I need since it looks like it moves still images diagonally/horizontally/vertically to achieve an animated appearance.
Galv has 1 for MV, but problem is, if your resolution is 1200x720.
the battle back in frames is 4800x720 which can give issues.

KageDesu has a Vplayer that could be used for battle backs animated
in webm (paid version) which is a video, which is probably smoother.

but images need to be loaded beforehand otherwise. as it can take
some memory that may lag or slow down battles.
Galv has 1 for MV, but problem is, if your resolution is 1200x720.
the battle back in frames is 4800x720 which can give issues.

KageDesu has a Vplayer that could be used for battle backs animated
in webm (paid version) which is a video, which is probably smoother.

but images need to be loaded beforehand otherwise. as it can take
some memory that may lag or slow down battles.
Yes my resolution is 1280x720, which is why I did not mention Gav’s plugin as it won’t work so well in my case, along with the fact that he warned on the download page to use it sparingly.

My worry about Kagedesu’s plugin is the lag as well. I know video files tend to take up a lot of space in RPG Maker and the intention is to have the 4 frame loops in every battle scene.
9c708f2ab2b0b51c5df1d0683c9f56e8.gif


Update everyone! I am currently using Kagedesu's VPlayer Plugin in the above gif. As you can see the fps doesn't drop too heavily even with a 28-frame gif! From what I can tell most of the lag occurs when your character attacks (minimal) or before I restarted my laptop (where the fps dropped to the 30's). That all said, it does achieve the effect I wanted! Thank you @ShadowDragon

Things to note if you plan to use this plugin:

- The Animated Battle Back is part of the Pro edition ($14). The gif I'm using is also not full screen but 1280 x 250 (with the y anchor value set to 70 as the gif would be up and out of frame at y = 0).

- You *need* to set battleback images that share resolutions with your gif! When I used rpgmaker's battlebacks it enlarged the gif to match rpgmaker's assets sizes. You'd have to end up repositioning the gif. There is no scaling option for the animated battlebacks in this plugin.

- I do not know if lag would occur if I started using battlers with more animation frames/Dragonbones since I am currently using default/assets I have on hand for test purposes. Will update this thread if I ever get to that point.

- The gif will be on top of your battle backgrounds. If you wanted to have a still foreground element in the background it would need to be implemented in the gif itself.
not bad 🙂 if you take care what frame max/seconds max for battle background
without lag, you mostly good to go.

I dont know how dragonbones work out, but I hope as smoothly or without
to much lag.

good luck on your project 🙂
So that is 28 frames with minor lag. And you want 4 frames? That would be pretty much no lag then, I assume.

Original thread: https://forums.rpgmakerweb.com/threads/4-frame-animated-looping-battleback.153247/