Manga Speed line flicker in MZ

I'm sure this has been asked before and there's likely multiple ways to skin this particular cat, but after searching a few ways I couldn't wrap my head around how to do this.

In short, I am using Visustella Cutin Effects which have the following limitation (the question is not about the plugin):

Visual Cutin Effect Layer​

For the purpose of making cutins visible enough, they will appear over all spriteset objects (ie tilesets, events, battlebacks, battlers, pictures, battle animations) but will appear under the majority of windows.

-----

So I realized the simple solution to this is to either carefully size or break into four quadrants a static speedline image with a transparent background and use 'show picture' around this cut-in during visual novel sequences, great.

However, now I want to make the lines flicker.

The most obvious way I thought of is to buy a royalty-free gif, convert to apng and break that up into as many quadrants as needed.

A video editing software of the effect would do something like this: but I needed black lines with transparency broken up into top, left, right and bottom quadrants, and wasn't sure the best way to go about it.

The last way I can do this, which I don't relish at all, is to have each cut-in necessitating these speedlines with an apng transparent speedline layer on top of each cut-in inside the cut-in window (e.g. use Animated Pictures plugin and just leave them inside the cut-in to save screen real-estate and automatically scale properly) and just build it in Effekseeker by importing the below screenshot.

So I know there's multiple ways that this could work so long as transparency is respected, and anything that must go 'on top of' the cut-in must be built into the apng inside the cut-in. What way saves the developer's sanity when designing VN sequences?
Just to make sure, there's a setting:

Cutin Layer:
- Where do you want the visual cutins layer placed?
- Top - Above Everything Else
- Below - Below UI Elements (Default)

Do they still appear below windows if you change that to the non-default 'top'?
Just to make sure, there's a setting:

Cutin Layer:
- Where do you want the visual cutins layer placed?
- Top - Above Everything Else
- Below - Below UI Elements (Default)

Do they still appear below windows if you change that to the non-default 'top'?
Hi,

I managed to get a file that at least is a transparent apng:

speed[ANI][8x8].png



This works with the Animated Pictures plugin, but the issue is that it only displays on one tile.

Code:
Screenshot 2025-10-11 153124.png


Issue:
Screenshot 2025-10-11 153301.png

@rpgLord69


Just to make sure, there's a setting:

Cutin Layer:
- Where do you want the visual cutins layer placed?
- Top - Above Everything Else
- Below - Below UI Elements (Default)

Do they still appear below windows if you change that to the non-default 'top'?


As far as I understand the problem the apng must either be the cut-in png the cut-in plugin uses (inside the border)

Or it must be outside the border (cropped into quadrants with the circular focus on the subject or the outline border)

A test case is shown here:

Screenshot 2025-10-11 153823.png

I suspect but cannot confirm this is probably because I specified an 8x8 apng cell for 60 frames. This could also be a resolution issue (the frames are 320 x 169 but I need the APNG to be big enough to cover cases of automated scaling from the plugin trying to fit to the frame). The originating file is 4KHD so I can still make adjustments to the apng itself and break it up into separate frames to rework. Or just use fewer frames because the plugin imposes its own frame delay in the plugin settings and not whatever the apng has by default.

As for that showing inside the outline, if I tried to show the speedlines on the character himself the character would remain on top. This is a limitation of the plugin.

If I fully understand how the Animated Pictures plugin processes an apng: http://www.yanfly.moe/wiki/Animated_Pictures_VisuStella_MZ

Then I can basically choose to either have it built into the cut-in (on top of the character) or try to coordinate the lines outside the border with the automated wait-and-fade.

Hope that helps, because I think there's still multiple ways to do this properly, but image editing isn't my forte`.

EDIT: The above also happens when I skip the Animated Pictures plugin command in the screenshot so this likely isn't an issue with the plugin but a syntax error on my part not following the cel animation format they outlined in the URL above, hmm.
Hi,

This thread can be closed, I figured it out from reading the plugin instructions and not using .apng files, only .png as instructed.

Screenshot 2025-10-12 202236.png

But there's a few caveats just to help anyone learning like I did:

Screenshot 2025-10-12 202314.png
You need to know the total canvas resolution of the png you are creating to be animated and it needs to follow the naming convention above. The details are in the plugin documentation and you can have as many frames as you want, but following the 3 across 2 down example in the documentation worked. However, my example file ended up being 1280 x 676 or in total 3840 x 1352. This ballooned the animated png file to 1.8 MB in size, so keep this in mind when using this for animated cut-ins such as expressions.

If you also don't know the resolution that your cut-in is scaling to, your trial and error gets messy like this:

Screenshot 2025-10-12 202259.png

Or as you can see above, 30% x 41% scaling to fit the cut-in at 3840 x 1352 resolution (the 1280 x 676 could be changed if I used a different source cut-in resolution to make animated multiplying the total resolution by the total number of frames and then arranging the animation cells in left-to-right and up-to-down order). Once you figure this part out and keep your resolution consistent it only applies to this cut-in style.

------

Additionally this only works as displayed because the cut-in in question has transparency. If your cut-in has a parallax, this will fail or need to be scaled outside the borders or cropped into multiple sections. Since this particular example is just speedlines with a static emote next to it, and the static image is only on-screen for a few seconds to avoid eating up memory, this can work positioned over the cut-in center but it depends on the size and transparency of the cut-in png before starting.

Main takeaway is to use .png not .apng (and this would likely apply even without using the Visustella animated pictures plugin) and to document your resolutions and scalings when finished or else you'll be trial-and-erroring every cut-in depending on the transparency and shape of both the main subject and the cut-in style.

I hope this helps anyone else that is as image-editing dumb as I am trying to get something looking good, regardless of what animated picture plugin they use.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/manga-speed-line-flicker-in-mz.180474/