Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: monkeydash on January 23, 2011, 01:41:02 pm

Title: [XP] Continuous map load
Post by: monkeydash on January 23, 2011, 01:41:02 pm
I'm using Blizzards Continuous Maps. This request is more for an add on than a complete script I guess.

When using the script I noticed that it works best if all connected maps have the same tileset, else you get odd squares appearing on the maps you arent directly on.

So each of my connected maps uses the same tileset to avoid the odd look. But, annoyingly whenever you go between maps there is some amount of lag while it reloads the tileset.

Would it be possible in some way to have the tileset preloaded so it neednt reload the same thing over and over?

The trick here would also be that non connected maps use different tilesets, so it cant be loaded the entire time.
Title: Re: [XP] Continuous map load
Post by: Blizzard on January 23, 2011, 01:46:08 pm
Actually the tileset stays in memory after the first time it has been loaded. It's not the tileset loading that is causing the lag, but the loading of all other maps that are connected. Those are actually cached as well, that's how I made the system work.
Title: Re: [XP] Continuous map load
Post by: monkeydash on January 23, 2011, 02:53:07 pm
I see.

Would there be any way to further reduce the lag? If everythings loaded anyway?
Title: Re: [XP] Continuous map load
Post by: Blizzard on January 23, 2011, 02:57:55 pm
Not really, no. There's not much that can be done. You could only try to keep your maps reasonably small and not to have too many events on them if not really necessary. But trust me, feeling a short moment of lag when changing maps won't be really noticed by the player except if it takes more than half a second.
Title: Re: [XP] Continuous map load
Post by: monkeydash on January 23, 2011, 03:05:35 pm
Hmm, maybe it is just because I know its there
Title: Re: [XP] Continuous map load
Post by: Blizzard on January 23, 2011, 03:49:10 pm
I usually noticed it, too, even though it was probably 0.1-0.2 seconds. It's just because I knew it was there. xD