transitions between images files without a blink

Status
Not open for further replies.

Charles2020

Veteran
Veteran
Joined
Feb 24, 2020
Messages
81
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hi guys

I am trying to change image A and B using show picture but there was a blink between images (I believe this is because the system takes time to load image B)

I have been trying opacity 255 -> 0 -> 255 but it did not work

Is there a way to manipulate $gameScreen.showPicture(XX) variable or any fading command/variables ?

Can anyone shed some light on this issue ?

Thanks
 

Astfgl66

Veteran
Veteran
Joined
Jan 5, 2016
Messages
722
Reaction score
578
First Language
French
Primarily Uses
Preload the picture sprite by showing it at 0 opacity at first.

Picture B (0opacity) -> Picture A -> Picture B (255 opacity)

I think this should work.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,370
Reaction score
8,536
First Language
English
Primarily Uses
RMMV
Are you trying to write this into a plugin or are you just trying to get this to work with events?
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,685
First Language
English
Primarily Uses
RMMZ

I've moved this thread to Learning Javascript. Please be sure to post your threads in the correct forum next time. Thank you.


You simply need to preload the image before switching images.
Edit: You can use this ImageManager.loadPicture(filename) assuming the image is in the picture folders. Just call this a couple of frames before switching images and you should be fine.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,370
Reaction score
8,536
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,017
Messages
1,018,356
Members
137,802
Latest member
rencarbali
Top