The RPG Maker Resource Kit

Other Game Creation => Game Creation General Chat => Topic started by: Farquad on December 20, 2006, 04:42:06 PM

Title: Have you ever...
Post by: Farquad on December 20, 2006, 04:42:06 PM
...created a map so big and with so many events that it starts to lag when you test it?

I have.  :-[

I wanted my game to be full of huge, rich environments without interruptions (ie. without a teleport event from one part of the city to the next), but whenever I test it...things doesn't move very well.

I guess that's not as big of a problem for an rpg as it would be, say for a FPS...but still, it reduces the realism of gameplay.  :'(
Title: Re: Have you ever...
Post by: TeaBag on December 20, 2006, 06:13:49 PM
I had the same problem once.  Hopefully you can understand my solution, and I won't babble like an idiot.

Usually when you make an event to teleport you to another map it's on the edge of the screen, right?  well, insted, put the teleport event like 10 tiles away from the edge of the map, and use the instant animation for the teleportation (not like vertical blinds or anything.  In the map you teleport to you be like 10 tiles into the map (the purpose is to get overlap).  When the character steps on the event, they'll appear to just keep moving with hopefully little lag. You coukd cut and paste and split your big map ino like 4 little maps that way, you just have to draw with that bit of overlap, to make it look like the edge of the map isn't the edge.

that's a mouthful
Title: Re: Have you ever...
Post by: Farquad on December 23, 2006, 04:52:33 PM
Hm...I hadn't thought of that. That might solve the problem, actually, but maybe I should explain why this map is so cumbersome.

See, I wanted to make this game a bit more realistic in terms of physics. In order to create a sense of a 3 dimensional world, I made all roof tiles (and even some wall tiles) above hero rather than simply impassable. It adds several more dimensions to the city, since the hero can walk around the structure in four directions, and it appears more realistic. The thing is, though, in order to keep the player from simply walking under the entire building, I surround a portion of the roofs with impassable events. And this is a huge city, so that means quite a few impassable events.  :-[

How do you format your cities? Do you usually just keep the roofs at the same level as the hero?
Title: Re: Have you ever...
Post by: Falcon on December 23, 2006, 07:10:01 PM
Go find an anti-lag script.
Title: Re: Have you ever...
Post by: Christina on December 23, 2006, 07:22:47 PM
I usually make my maps so that they 30x27 so it doesn't lag too much. I just connect one map to another if i want to make a big field. i find big maps can get confusing and too laggy
Title: Re: Have you ever...
Post by: Me™ on December 23, 2006, 08:29:04 PM
You could use an invisible impassable autotile ::)  ;)
Title: Re: Have you ever...
Post by: Indignos on December 24, 2006, 01:22:31 AM
Quote from: Farquad on December 20, 2006, 04:42:06 PM
...created a map so big and with so many events that it starts to lag when you test it?

I have.  :-[

I wanted my game to be full of huge, rich environments without interruptions (ie. without a teleport event from one part of the city to the next), but whenever I test it...things doesn't move very well.

I guess that's not as big of a problem for an rpg as it would be, say for a FPS...but still, it reduces the realism of gameplay.  :'(

Wow, you must've uploade a whole lotta crap on there. =D
Title: Re: Have you ever...
Post by: Chestnut16438_D on December 24, 2006, 04:04:43 AM
Those are good ideas, if the choice were up to me, I'd go with the no animaion teleport. : )
Title: Re: Have you ever...
Post by: Farquad on December 25, 2006, 05:34:47 AM
Quote from: Darklord on December 23, 2006, 07:10:01 PM
Go find an anti-lag script.

I know i'm killing myself by saying this, but...im a newbie to scripts.

Where can you find an anti-lag script? Or is there a tutorial on that already?
Title: Re: Have you ever...
Post by: Lominisio on December 25, 2006, 05:37:47 AM
There should be one in the database. I'm not sure who made it but I believe Blizzard spiced it up a bit so it works better.

EDIT: I found one but it wasn't the one Blizzard spiced up so it probably has some bugs. http://rmrk.net/index.php/topic,1924.msg70480.html#msg70480
Title: Re: Have you ever...
Post by: Farquad on December 25, 2006, 06:14:24 AM
Quote from: Indignos on December 24, 2006, 01:22:31 AM
Wow, you must've uploade a whole lotta crap on there. =D

If this gives you some idea, you can only see about two thirds of the map on 1/8 zoom.  ;D
Title: Re: Have you ever...
Post by: &&&&&&&&&&&&& on December 25, 2006, 10:28:52 AM
could you just make them looping map?
Title: Re: Have you ever...
Post by: Zeriab on December 26, 2006, 03:22:39 AM
I have tried it myself, but I did on purpose. (Well... I had 10-20 thousand events on 1 map >_>)

You can find Blizzard's anti-lag script (ABSEAL) here: http://rmrk.net/index.php/topic,8907.0.html
This might help a little, just know that it will come with some restrictions. A sacrifice you could say.
Hopefully you won't notice what's missing ^_^

Title: Re: Have you ever...
Post by: Ravenshade on December 30, 2006, 08:11:21 PM
That was probably not a good idea.

I try to keep mine small-ish...though I haven't begun to create cities, i'm just creating one building area's at the moment...

Thus perhaps if you created area's next to each other and divided up your city, so you wasn't jumping from one end to other but rather just to the next sector.