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
339
Reaction score
1,423
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
41
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,289
Reaction score
2,461
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
17
Reaction score
8
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


Clarn Hold
(No storylines)
There was a tutorial on how to draw anime eyes. Just draw Among Us. So I tried.
Screenshot_107.jpg
DamageActor3_7.png added!
index.php

Making a "characters first appearance" drawing for my game. Now I just have to finish the sprite art animation for her grand entrance.​
ScreenShot_9_24_2022_7_56_24.png
New area being started today. It leads to one of the games 2 optional bosses.

Forum statistics

Threads
125,540
Messages
1,171,814
Members
164,611
Latest member
anonymouss
Top