cozplump

Warper
Member
Joined
Jul 10, 2022
Messages
2
Reaction score
3
First Language
English
Primarily Uses
RMMZ
Hello! I'm still a bit a newbie in terms of common events and I need some help on how to remove the image after the event is finished.
(I'm bad at explaining so bare with me qwq)

~Context~

I tried to do something like Omori using looping images instead of GIF and it work but the thing is, I couldn't remove the image when the character got transported and it stays like this:

Screenshot (135).png

Here's what I did
Screenshot (138).png
Screenshot (139).png
Screenshot (137).png

Please help if there's any way to solve this or even a plugin to make things easier T^T...
 
Last edited:
Joined
Dec 16, 2017
Messages
340
Reaction score
1,426
First Language
English
Primarily Uses
RMMZ
You're erasing the picture in the loop event, which only runs when the switch is ON. You're turning the switch off. Plus there's also no way out of the loop in the loop event, which means it will never get to the erase command no matter what.
 

rayminator

Veteran
Veteran
Joined
Feb 10, 2022
Messages
49
Reaction score
13
First Language
English
Primarily Uses
RMMZ
you want to put a variable inside that loop like so I called the variable loopcount when it hits 5 loops it should end the loop I haven't tested it so I'm not sure if your need to use <,>

Untitled-1.png
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,321
Reaction score
2,467
First Language
Dutch
Primarily Uses
RMMV
or better, put the event into a switch condition. and make sure that event
is ON at boot.

than an condition, if switch is ON, do you event,
else, erase image.

short and easy :)
 

Cybergirl

Villager
Member
Joined
Apr 11, 2022
Messages
19
Reaction score
9
First Language
English
Primarily Uses
RM2k3
Well, I've faced with the same problem... Trying to fix it with all this recommendations. Thanks to this forum for its existing. I'm pretty dumb in general, so I have to explain everything all the time. I'm just thankful to God that people invented animated explainer videos without them I would hardly have survived at all.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

New sprites & animations for Mint and Beri are coming along!
Guh-Colorbound.gif
ScreenShot_10_5_2022_4_44_8.png
Mad O' Malley... a stick figure that's afraid of it's existence being erased. so they always start battle in an anxious state.
Before, I was drawing all the sprite work, super big and shrinking it down. Which was really time consuming if thing's changed. So instead I'm drawing the characters sketch, and then remaking it with pixel art instead.
Why are job interviews so terrifying. :kaodes:

Forum statistics

Threads
125,801
Messages
1,173,666
Members
164,964
Latest member
oliveleaf
Top