Hypothetically, if I were to put common map elements (pots, plants, ect) onto a sheet to be used as "events", would many of these "events'" lag my maps? Now, the thing is these events will have no actions, no response to the character. The only reason I want to have these items as events is because I have map elements I want to use with many different maps, even those that do not traditionally have the images I want (I.E hangin sword on the wall in a cave map).
They shouldn't lag you.... If they're set to action, I think.
isn't this a help topic?
Any events causes lag, but only huge events on a low-spec PC makes a significant lag (like mine T_T)
If you put only object events, like yours; it causes lag but only when you use lots and lots of events.
Hmm, thank you, good to know.
btw, can someone then answer me why some people suggest putting map elements as events?
I can't answer that question, but if you are looking for an Anti-lag system, zeriab's is the most AWESOME!
Yup!
And about your question, it adds more depth and makes it more natural.
Also, it adds interactive objects.
Well, well! So whats this anti-lag script we are talking about here? because if I plan on using events to load map elements,anti-lag would be a good thing.
go to scripts, search for anti-lag. Hard to miss.
putting map elements as events not only means you can interact with them (look - I picked a pretty flower - now it's not there anymore), but it also gives you a 4th layer to use if 3 layers just aren't enough to make your map look right.
About 100 events will make the game lag
Here's a link to the topic: http://rmrk.net/index.php/topic,20695.0.html ;)
Using events for map elements will without the antilag script give a significant increase in lag.
1 or 2 will not make your map lag, but it might already start with 50-60 events. This is assuming you don't have other events running. (For NPC and so on)
If you are using my version not only will they run better by default. You will also have an option to make the map elements give less lag.
Search for NEVER_UPDATE_NAME_PATTERNS in the script.
The line that in the default script is NEVER_UPDATE_NAME_PATTERNS = [] #['EV202',/EV3.5/]
In here you can specify patterns in event names. I this can sound a little confusing, so here is an example. Change that line to this:
NEVER_UPDATE_NAME_PATTERNS = ['[MAP]']
Now any event that has [MAP] in their name will not be updated. Their sprite will still be shown, but they will not be updated.
The reason I have added this functionality is indeed to accommodate for map elements. Note that if you have an animate map element it will not be animated anymore ;)
It will actually still make the game slower, but it is only if you have filled the screen with map elements that you might notice any difference. This is due to the fact that just showing the sprite of the event is a bit slow. I mean in the case that every tile you can see is an event. In that case you might notice some lag.
*hugs*
- Zeriab