MV Now Loading image random change

Wondering if there is a way to change the Now Loading screen to maybe some kind of in-game tip screen? Or some kind of random image each time its invoked? Would help a lot instead of making a wiki for my game.

Thanks. You guys are amazing. 🙂
👋 The answers in this thread might help~
👋 The answers in this thread might help~
I knew there was a thread somewhere. I looked and looked and couldn't find it. Thank you. You saved the day, once again.

@caethyril

Issue.

I am getting this:

Error: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state. at Function.Graphics._paintUpperCanvas (rpg_core.js:2569) at Function.Graphics.updateLoading (rpg_core.js:1969) at Function.SceneManager.onSceneLoading (rpg_managers.js:2046) at Function.SceneManager.renderScene (rpg_managers.js:2033) at Function.SceneManager.updateMain (rpg_managers.js:1987) at Function.SceneManager.update (rpg_managers.js:1907) SceneManager.catchException @ YEP_CoreEngine.js:1098

when I try to run the code in-game. No idea why, but it happened with Oliva_AntiPlayerStress as well. I've tried putting it at the top and bottom of my plugin list. I can't really disable Yanfly's Core Engine with the number of plugins I have from him.
This is a really cool plugin, and I love how simple it is!

Issue.

I am getting this:

Error: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state. at Function.Graphics._paintUpperCanvas (rpg_core.js:2569) at Function.Graphics.updateLoading (rpg_core.js:1969) at Function.SceneManager.onSceneLoading (rpg_managers.js:2046) at Function.SceneManager.renderScene (rpg_managers.js:2033) at Function.SceneManager.updateMain (rpg_managers.js:1987) at Function.SceneManager.update (rpg_managers.js:1907) SceneManager.catchException @ YEP_CoreEngine.js:1098
I got the same error message (minus the reference to YEP_CoreEngine, which I have installed incidently).

However, I moved my image files into the proper directory and then the game loaded without issues.

Assuming you haven't altered Caethyril's code, confirm that you are putting your images in the "img/system" directory of your project.

Also, confirm that you put your loading image names in the following line of code:
const IMAGES = ['Loading','Loading2','Loading3']; // Replace with your loading image names
it does work with the bunch of plugin I use, while I dont use it because
I made my own animated laoding screen =)

a bunch of this or add this function for different one seems nice though,
so you miss something if it doesn't work for you.

The name "Loading", loading1 can be a different name as well like
Tip1, Tip2, Tip3, Loading, etc etc, the image just need to be existed.
This is a really cool plugin, and I love how simple it is!


I got the same error message (minus the reference to YEP_CoreEngine, which I have installed incidently).

However, I moved my image files into the proper directory and then the game loaded without issues.

Assuming you haven't altered Caethyril's code, confirm that you are putting your images in the "img/system" directory of your project.

Also, confirm that you put your loading image names in the following line of code:
const IMAGES = ['Loading','Loading2','Loading3']; // Replace with your loading image names

it does work with the bunch of plugin I use, while I dont use it because
I made my own animated laoding screen =)

a bunch of this or add this function for different one seems nice though,
so you miss something if it doesn't work for you.

The name "Loading", loading1 can be a different name as well like
Tip1, Tip2, Tip3, Loading, etc etc, the image just need to be existed.
zfBJDaJkfE (2).png

Can't just be me, can it?

Edit: Possible issue with encryption? Won't work on deployed game but works in playtesting.

Edit 2: Confirmed. Encrypted images cannot be used.
Edit: Possible issue with encryption? Won't work on deployed game but works in playtesting.

Edit 2: Confirmed. Encrypted images cannot be used.
Oh, well spotted! I think it's related to the difference in how the images are handled: the loading image is loaded directly through an HTML Image rather than through RMMV's Bitmap wrapper.

Looks like the deployed project specifically does not encrypt img/system/Loading.png. I suggest you simply replace the other Loading images with their non-encrypted versions after deploying, e.g. replace Loading1.rpgmvp with Loading1.png.
Sorry for bumping this, but I did find a thread that talked about evoking the loading screen. I've tried to use these script calls but to no avail. Is it because MV and MZ have different ways of evoking it?
Sorry for bumping this, but I did find a thread that talked about evoking the loading screen. I've tried to use these script calls but to no avail. Is it because MV and MZ have different ways of evoking it?
Yes:
  • RMMZ uses a CSS-animated overlay that the engine just toggles on/off when appropriate.
  • RMMV renders its own loading screen that only updates if the current scene has not started yet.
My solution was only intended for use strictly with RMMV's existing loading system. I guess you could change this behaviour with some more plugin code, but I'm not personally confident about making changes to that due to potential overlaps/clashes with the legitimate loading system. 😴

Instead, I recommend you use the solution suggested by Eliaquim in that thread I linked, i.e. use pictures to fake it. You can put an Autorun event on each map like this:

◆Common Event:show fake loading screen ◆Comment:Erase event until player revisits this map ◆Erase Event
Then set up the common event something like this:
Spoiler: Fake loading screen common event
◆Comment:Show random "loading" picture ◆Control Variables:#0008 Temporary = Random 1..3 ◆If:Temporary = 1 ◆Show Picture:#1, loading1, Center (408,312), (100%,100%), 0, Normal ◆ :Else ◆If:Temporary = 2 ◆Show Picture:#1, loading2, Center (408,312), (100%,100%), 0, Normal ◆ :Else ◆Show Picture:#1, loading3, Center (408,312), (100%,100%), 0, Normal ◆ :End ◆ :End ◆Comment:Fade in ◆Move Picture:#1, Center (408,312), (100%,100%), 255, Normal, 20 frames (Wait) ◆Comment:Wait a bit ◆Wait:60 frames ◆Comment:Fade out ◆Move Picture:#1, Center (408,312), (100%,100%), 0, Normal, 20 frames (Wait) ◆Comment:Erase picture ◆Erase Picture:#1
For this approach, the loading images should be in img/pictures, not img/system. There should also be no problems with encryption because pictures are handled "properly" in that respect.

If you have problems with the auto-fade from Transfer Player (Autorun events must wait for non-Parallel events to finish before they can start), you can use the Tint Screen command before transferring ("fade out") and after the fake loading screen ("fade in"). 😤
There might be 1 tiny issue on an evented loading screen.
it can be nice, bt when placing on the web or use YEP_Doodas
for example when using it alot, "Loading" would be visible still.

aiming for pc only dont have the issue, but the possibilitiy might
be there still, so it would be hard to get rid of that part.

Original thread: https://forums.rpgmakerweb.com/threads/now-loading-image-random-change.139427/