What are "on demand weather patterns"? Is there any negative in picking pre-render "true"?
MZ What does Visustella mean (weather plugin)
Javascript/Plugin SupportWhat are "on demand weather patterns"? Is there any negative in picking pre-render "true"?
The plugin has to programmatically draw sprites for the weather components (for example, the snowflakes, or the lightning bolts, or the leaves, or whatever).
If you choose "Pre-render," it will draw all the images it will need when your game starts up, and save them in memory, so that they will already be available whenever you need them. This will make it so that there is less chance of lag once you first start a weather effect. However, the downside is that your game will start up slower, and it will use a bit more RAM.
If you choose "Render when needed", your game will start up faster, and you will potentially save a bit of RAM, but there is a chance that the weather effects will lag when you first turn them on.
If you choose "Pre-render," it will draw all the images it will need when your game starts up, and save them in memory, so that they will already be available whenever you need them. This will make it so that there is less chance of lag once you first start a weather effect. However, the downside is that your game will start up slower, and it will use a bit more RAM.
If you choose "Render when needed", your game will start up faster, and you will potentially save a bit of RAM, but there is a chance that the weather effects will lag when you first turn them on.
Thanks, very clear explanation. Wondering though how slow is slow when it pre-loads everything at the start hmmm... especially on slow computers...
EDIT: would the pre-loading happen before the title screen?
I got a bit of wait there, but nothing too crazy.
EDIT: would the pre-loading happen before the title screen?
I got a bit of wait there, but nothing too crazy.
No problem. It's been a long time since I've used the plugin, so I don't remember super specifically. But I do recall the startup delay being noticeable. Not terrible, but it was noticeable. I was using like 20 weather layers though. If you're using less, I would assume that it's better.
But the plugin may have also been optimized more since the last time I used it, so I guess the best thing to do would be to try it out and see what happens.
*edit* Yep, it's before the title screen. I don't think it should be anything bad enough that it would bother the people playing your game--I think that most people are accustomed to games having a bit of a start-up time anyway.
But I do recall getting a bit annoyed and disabling it while I was developing my game, simply because I open a playtest very frequently, and I didn't want to have to wait every time. I would re-enable it before actually deploying the game though. I think that most players would prefer to wait an extra second or two at startup, as opposed to having lag during the game.
But the plugin may have also been optimized more since the last time I used it, so I guess the best thing to do would be to try it out and see what happens.
*edit* Yep, it's before the title screen. I don't think it should be anything bad enough that it would bother the people playing your game--I think that most people are accustomed to games having a bit of a start-up time anyway.
But I do recall getting a bit annoyed and disabling it while I was developing my game, simply because I open a playtest very frequently, and I didn't want to have to wait every time. I would re-enable it before actually deploying the game though. I think that most players would prefer to wait an extra second or two at startup, as opposed to having lag during the game.
It's all good on my PC, but my PC was all good (or at least OK) with any settings.
20 layers seems a lot though. But does it pre-render everything the game contains? How does it do that?
20 layers seems a lot though. But does it pre-render everything the game contains? How does it do that?
I'm not sure if it actually scans through all your events to determine which weather effects will be used, in order to generate only what it needs, or if it just blanket generates sprites for all possible weather effects. I haven't really looked into it or done any testing on the subject.
Original thread: https://forums.rpgmakerweb.com/threads/what-does-visustella-mean-weather-plugin.156550/