MV Play an animation in a region, randomly.

Hello! As the title says, I'm looking for a plugin that can play an animation in a region, randomly. Why? I want to create the effect of raindrops hitting the ground.
But I don't want the animation to appear in other areas, like the sky. that's why I need it to be in a region.
A plugin would be great for this, where you can choose the region, the animation, and the amount of randomization.

It would be a nice touch if the animation only happened in the regions currently visible on the screen so it wouldn't create lag in the game, although my maps are small.

I tried to follow this tutorial but I see that the water drops fall on the whole screen and that is not what I want, I want to select the region where they fall.


I will be very grateful to anyone who can help me.
I think Galv had a plugin for that part, not sure which one it was though.

I think it was this one?
It would be a nice touch if the animation only happened in the regions currently visible on the screen so it wouldn't create lag in the game
By definition, an animation can only play on a visible portion of the screen 😉

You might have a system advanced enough to track "This image should be displaying at this cel on this tile," but that's just a couple of numbers and shouldn't have any noticeable contribution to CPU usage/lag.
I think Galv had a plugin for that part, not sure which one it was though.

I think it was this one?
I tried to use that one but the animation only activates when the character is above the region, and it's not what I want. In the video that I left they also use it, but modified with scripts.
I can't stop talking about spawning events, so you can use Yanfly event spawner to spawn an empty event on a region and play the animation on it and then despawn it. I think you can control your raindrop rate by the rate of spawning.
I think you could accomplish this with Yanfly's Event Spawner, if you pre-made an event that checks the region it is currently on, plays the animation you want if it is, and then destroys itself. Then all you need to do is randomly pick coordinates within the range of your screen, spawn the event there, and it'll do what you want.

In theory this should work.

EDIT:
I was too slow. The answer already spawned in while I was typing.
the plugin I linked was used for it, there is a download link on this [video],
so you can see how he done it though =)
I can't stop talking about spawning events, so you can use Yanfly event spawner to spawn an empty event on a region and play the animation on it and then despawn it. I think you can control your raindrop rate by the rate of spawning.
That plugin causes conflict with Galv character animation and Phantom event. :LZSteary:
the plugin I linked was used for it, there is a download link on this [video],
so you can see how he done it though =)
Yeah! I downloaded it and did everything the same before asking here, but as I said I only want the drops to fall in one region.
Well you could make it with pure eventing with an empty event bouncing around with set event location.

Take your player x,y, add random numbers (from negative to positive) to them depending on your screen size, check if location info gives the correct region ID and if it does make the empty event appear there to play the animation.

But that's just an idea. Of course there might be some plugins.
You could use Galv Event Spawner instead. I assume Galv's plugins work with each other
You need particles plugin. Moghunter and thirop have those
You could use Galv Event Spawner instead. I assume Galv's plugins work with each other
Thank you!! It took me a while but I finally got it working. 😂

Original thread: https://forums.rpgmakerweb.com/threads/play-an-animation-in-a-region-randomly.160346/