Seamless looping, scrolling fog effect.

I've looked into plugins and even asked chatgpt for help but can't solve this after several hours or trying so maybe someone has tried to do this before and can help me.

I created a png that looks like fog and i want it to scroll on top of the map rather than behind/on the sides like a parralax.
im just doing a show picture move picture kinda thing but would be open to a plugin or something if that is easier.
the main issue im having is that the image gets to one side of the screen and resets but its very obvious.

iirc there was something like this in Omori near the spider forest area?

anyhow... thanks yall.
picture below:
Screenshot 2025-04-24 185600.jpg
Any specs of your screen size and picture size?
1. open your fog picture in an editor
2. double size of canvas
3. copy the fog to the empty spaces so that you have four panels of fog in one picture
4. set your parallel event to something like:
◆Show Picture:#1, Fog, Upper Left (0,0), (100%,100%), 120, Additive
◆Move Picture:#1, Linear, Upper Left (-816,-816), (100%,100%), 120, Additive, 600 frames (Wait)
You do not need to loop inside the parallel event, that's what the parallel even is for.

This assumes the original fog was 816x816 in size, and thus the doubled fog 1632x1632. Naturally only works if your screen size is 816 (the default for MZ) or less.

and even asked chatgpt for help
Just so you know, mentioning this will cause you to instantly lose a large number of people who are otherwise super-willing to help you.
Any specs of your screen size and picture size?
816 x 624
1. open your fog picture in an editor
2. double size of canvas
3. copy the fog to the empty spaces so that you have four panels of fog in one picture
4. set your parallel event to something like:
◆Show Picture:#1, Fog, Upper Left (0,0), (100%,100%), 120, Additive
◆Move Picture:#1, Linear, Upper Left (-816,-816), (100%,100%), 120, Additive, 600 frames (Wait)
You do not need to loop inside the parallel event, that's what the parallel even is for.

This assumes the original fog was 816x816 in size, and thus the doubled fog 1632x1632. Naturally only works if your screen size is 816 (the default for MZ) or less.


Just so you know, mentioning this will cause you to instantly lose a large number of people who are otherwise super-willing to help you.

Yikes... that is unfortunate. Can you tell me why people that would help me would be upset?

Also.. thank you! I will try what you have said and let you know if it works!
It is something like this. If the picture scrolls to the left.
816 x 624
◆Loop
◆Show Picture:#1, DesertNight, Upper Left (0,-96), (100%,100%), 128, Additive
◆Show Picture:#2, DesertNight, Upper Left (816,-96), (100%,100%), 128, Additive
◆Move Picture:#1, Linear, Upper Left (-816,-96), (100%,100%), 128, Additive, 600 frames
◆Move Picture:#2, Linear, Upper Left (0,-96), (100%,100%), 128, Additive, 600 frames
◆Wait:600 frames
◆
:Repeat Above
Yikes... that is unfortunate. Can you tell me why people that would help me would be upset?
To me, it's common sense. AI is rarely good at teaching you things you know nothing about, does not hesitate to feed you BS because it has no moral framework, and to many someone using AI for short-cutting any learning process is a red flag. We've had many people come in here saying "AI told me to do this and it didn't work" and well, it's tiring to fix a mess that AI has made.

It is something like this. If the picture scrolls to the left.
Ah, you are correct. For some reason I misread that he wanted to have the fog scroll in the upper left direction, hence my suggestion to double the picture size. 😩
Yeah, but idea is the same. You just need enough pictures to cover the screen.
It still isn't working right. Maybe the .png is the wrong size or maybe it isn't formatted so that it loops correctly? I'm having trouble wrapping my head around this... oh boy.
Screenshot 2025-04-25 002533.jpg
I use a parallax picture from the default resource(816x816), which is loop by default.

It still isn't working right. Maybe the .png is the wrong size or maybe it isn't formatted so that it loops correctly? I'm having trouble wrapping my head around this... oh boy. View attachment 338601
Ah wait, there should be a #1 and a #2.
I think my image was the problem. I tried the default images like you said, inverted and adjusted the color to make it look more like fog/clouds. It works. You have no idea how thankful I am! <3

Screenshot 2025-04-25 011724.jpg
If this is something you're going to be doing a lot of, I would suggest Galv's Layers MZ plugin. It's pretty powerful and can add a scrolling fog effect via map notetags or plugin commands.

Original thread: https://forums.rpgmakerweb.com/threads/seamless-looping-scrolling-fog-effect.177211/