Creating large maps without lag?

Hyouryuu-Na

Sapphire Sodium
Veteran
Joined
Jun 15, 2017
Messages
947
Reaction score
2,212
First Language
Not English
Primarily Uses
RMMV
I want to create a map which will be pretty large... no... very large. But I've noticed that fps drops to 20 when I create a map that's 30x19 maybe because I'm using Khas Ultra Lighting plugin. I know I should create individual maps for one room or area but another thing is that...(you can just skip to the next para) I'm making sprites and parallaxes by rendering 3d models and they're a bit big because i don't like the standard size. Making a tilesets is a pain for me and the number is limited so I prefer parallax mapping and am using Yanfly Grid free doodads plugin. It's not possible to copy doodads and I have a lot rooms that are similar so I want to make a big map so that I don't have to copy the doodads manually from doodads.json or place them again and again....

Coming straight to the question:
Is it possible to reduce the lag for a huge map? Like maybe... while the player is in a Specific part the other parts don't show or function? Is something like that even possible?
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
Only the part of the map around the player (the bit visible and maybe a few tiles outward of the screen) are drawn at a time, the whole map is not. Event processing also does not occur for events outside a certain radius from the player, except if they are autorun or parallel process events. If you disable the lighting, I think you'll find that it greatly improves the performance of the game, as lighting is an expensive operation, especially if not done well.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,352
Reaction score
7,666
First Language
German
Primarily Uses
RMMV
Yes and no.

The problem here is that there is no "one lag", lag is the sum of used up computer resources.
You can only reduce specific causes of lag after you have identified them.

Parallaxes use up a lot of memory - a parallaxed map needs about two or three THOUSAND times the memory of a tiled map. For that reasons, the maximum sized working parallaxed map I heard about is about 100*100, and that was without a lighting plugin and with a good computer.

But there are other causes that add to lag, from badly designed parallel process events to too many events in large maps and of course several plugins.

You should check for all possible causes of lag, and then decide what might be optimized to reduce lag.
Form your description, you have either a relatively slow and limited computer or there is another cause for lag that you haven't identified yet, because what you describe is more heavier lag than there should be in my opinion.
 

Hyouryuu-Na

Sapphire Sodium
Veteran
Joined
Jun 15, 2017
Messages
947
Reaction score
2,212
First Language
Not English
Primarily Uses
RMMV
@Zalerinian Ok, thanks for the suggestion :) I'll try that.

@Andar Yea, I will try to see what causes the lag and then decide what to do... I might even decide to make individual maps. Thanks for replying!
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,845
Messages
1,016,961
Members
137,561
Latest member
JaCrispy85
Top