RMMV What is the best way to fix picture blinking(Flickering)?

decinbr

Veteran
Veteran
Joined
Mar 20, 2015
Messages
119
Reaction score
9
First Language
brazil
Primarily Uses
When i change picture to show another they stays flickering.
The same with character graphic
 

Ace of Spades

Veteran
Veteran
Joined
Jan 19, 2017
Messages
155
Reaction score
214
First Language
English
Primarily Uses
When i change picture to show another they stays flickering.
The same with character graphic
Are you referring to the bug when you change from Character graphic A to B, there's a single frame where the graphic is completely blank? Unfortunately it's a problem with the program and how it handles loading assets into memory. I would recommend looking up a Preloader plugin... there a various choices to choose from, but basically you'll need to preload the graphics into memory in order to avoid this issue.

Looks like someone already offered you this solution as well: https://forums.rpgmakerweb.com/index.php?threads/help-picture-blink.119525/#post-1050300

Check the plugins section and do a search.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,594
Reaction score
3,813
First Language
Java's Crypt
Primarily Uses
RMMZ
I thought MV had already fixed this bug long ago, but if you want a quick workaround that doesn't require any code:

- create an event off screen
- change the graphic of the offscreen event to the same you want
- add a wait command with a small number of frames (like 5)
- change the graphic on the event you actually want to change.

the bug happens because MV removes the old event graphic as soon as the new one starts loading. If they waited for the new graphic to load, there would be no blinking (and the wait would be just a few milliseconds, so it would not make any difference).
 

Ace of Spades

Veteran
Veteran
Joined
Jan 19, 2017
Messages
155
Reaction score
214
First Language
English
Primarily Uses
I thought MV had already fixed this bug long ago, but if you want a quick workaround that doesn't require any code:

- create an event off screen
- change the graphic of the offscreen event to the same you want
- add a wait command with a small number of frames (like 5)
- change the graphic on the event you actually want to change.

the bug happens because MV removes the old event graphic as soon as the new one starts loading. If they waited for the new graphic to load, there would be no blinking (and the wait would be just a few milliseconds, so it would not make any difference).

Unfortunately it's still an issue that carried over into RMMZ as well. It's a real shame because I don't recall this bug with any of the other RPG maker engines prior to RMMV. I've used your solution in the past as a quick fix, but even that method has failed me from time-to-time without any consistency.

I've personally resorted to using Galv's Preloader and pretty much manually preloading most of my commonly used graphics. I know there's also plugins that preload all assets, but I'm warry those plugins are more apt to cause crashes depending on how many files your game is trying to keep in memory at once.
 

GmOcean

Veteran
Veteran
Joined
Nov 29, 2020
Messages
59
Reaction score
45
First Language
English
Primarily Uses
RMMZ
Is this in regards to pulling up an image like a character's Bust picture and then switching it to another picture?
Or in regards to changing the graphic chosen for an event to a different one?

If it's the latter you can try ticking the "direction fix" box for the event. Usually the flickering in this case is in regards to the graphic not having all the directional sprites.

If it's the former, than no idea.
 

Latest Threads

Latest Posts

Latest Profile Posts

The RPG Maker community really is the best. It's so wholesome, kind, and helpful, unlike other communities on the internet, Love all you guys!
KenKrath wrote on RPGMakerWeb's profile.
Nevermind.
I found a book about game localization. It costs R$708,00 on Amazon. ;_;
I really wish my game was far enough along for it to be actually playable beyond certain aspects. I think I've crafted a really fun battle system thanks to ATB, fighting game, and Boost point mechanics.

Forum statistics

Threads
109,116
Messages
1,042,236
Members
141,615
Latest member
Bamionic
Top