The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: The Shadow on May 08, 2009, 04:57:44 PM

Title: Lag Problems
Post by: The Shadow on May 08, 2009, 04:57:44 PM
Basicly, Im having trouble with constant Lag in my game. I have no idea why it lags, and I can't seem to find a solution to it.

I've tried two types of Anti-Lag Scripts. The one by Near Fantastica, and the one made by Amaranth, but none of them helps against the lag.

Also, it can't be my computer, since I have a pretty good computer.

I don't know what's making the lag, and I need some help. Does anyone knows how to fix it?
Title: Re: Lag Problems
Post by: Grafikal on May 08, 2009, 05:12:15 PM
How large are your tilesets? the larger they get the slower the game can get. It's usually best to limit tilesets to the specific tiles you'll actually use instead of a gi-gan-ti-nor-mas-sive one. Also, if you have a lot of Common Events running on parallel, that'll do it too. Uhm. I'm just trying to think of other things that'll do it that anti-lag scripts won't fix.
Title: Re: Lag Problems
Post by: The Shadow on May 08, 2009, 06:17:03 PM
Well, Im not using events that's running on parallel, but I have events. Also, it could be the tilesets, since I use pretty big ones.
Title: Re: Lag Problems
Post by: Grafikal on May 08, 2009, 08:06:02 PM
Hm, just for a test, you could try copying the project then remove the tilesets and replace them with the RTP and run it then.
I wouldn't think it would be a map event, anti lag scripts generally affect just those.
Title: Re: Lag Problems
Post by: The Shadow on May 08, 2009, 08:20:05 PM
The tileset for the first the map that lagged wasn't big. I've used that tileset before, and never encountered lag on it.
However, I think I solved the lag on that map. It basicly started to lag when the Ongrian event touched another event that turns inactive when the player touches it for the first time. So I removed that event, and the lag stopped. I haven't tested on other maps that lagged for me.

Im going to go through the game and see if I spot any other lag problems.
Title: Re: Lag Problems
Post by: modern algebra on May 08, 2009, 11:49:50 PM
Zeriab's Anti-Lag script is probably the best I've seen. You could try that one. I think it's in the database
Title: Re: Lag Problems
Post by: Falcon on May 09, 2009, 01:06:20 AM
I recommend Zeriab's script, the script allows you to make events that are just for show not update (events that are used for a 4th layer), which helps cut down lag.