Main Menu
  • Welcome to The RPG Maker Resource Kit.

Large map, lag [RESOLVED]

Started by :), January 21, 2007, 10:53:04 PM

0 Members and 1 Guest are viewing this topic.

Blizzard

Lol! You can program if you want the screen going dark. You don't have to. I added the dark-screen feature in RMXP. I mean you can also put a few maps like this together in RMXP that look like on big map. Just turn off the "Fade effect" when you use it.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Ravenshade

lifty...so that's why there is a little lag...in my poke games....hmm...anyone notice it lags in Fable, Halo, and other games like that....
Harmony before Justice,
Balance before Peace,
Order before Finality

Family Motto.

Blizzard

Ah, you noticed. ^^ That's the overfade between 2 maps. Music usually also changes.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Ravenshade

heh, I only notice because i play for like hours at a time
Harmony before Justice,
Balance before Peace,
Order before Finality

Family Motto.

:)

But that still comes to the problem of the short 1 second lag after going to the next map, even with fade off.
Watch out for: HaloOfTheSun

modern algebra

Your original idea seems like it would work. If whenever you entered a town you turned off all but the events that are in the town, I don't think you would get lag. The script might be more convenient though...

Yami

No, you might be onto something.  Each event that is tied to a certain area has a prerequisite to it that a switch is turned on.  The switch gets turned on when you enter the area.  What you do, is at the entrance of each area, there is a line of events that turn the switch for that area on.  When that switch is on, the events appear.  When you leave, the switch turns off, and the switch for the area you are heading into turns on.  That makes it so only the events that are in the area that you are in are turned on, and that gets rid of a bunch of the lag.

:)

that was want I meant on the first page  ;D , but wont their still be lag? it would still end up being a HUGE map.
Watch out for: HaloOfTheSun

landofshadows

You could make each map area as seperate maps, and then make screen dumps of them, when you reach the edge of a map make a picture show of the to tiled maps next to eachother pan what ever way you walking then fade off...

So when you reach the edge of the screen to teleport to the next area, it displays a JPG of the Map you on and scrolls to the next section, you then appear on the next section and start walking... Like the first outings of Pokemon on the Game Boy...The will be a Transition, but a purpose one... keep it uniform and fairly fast I think it would look pretty cool.
 


My RMRK Wikki:- http://wiki.rmrk.net/index.php/Landofshadows
Make a Donation for my Resource making:- https://www.paypal.me/landofshadows

modern algebra

I wouldn't think that there would still be lag. I am under the impression that lag is caused by too many events running at the same time, and so turning off all extraneous events should get rid of the lag. Unless loading the map itself causes lag, your idea should work.

landofshadows

If there are many Events I guess you could try the Anti Lag script, it works very well...

Or try putting all the workings of an event on an off state and when you reach certain places turn them on, like as you enter a town turn a switch on to activate all the events by the doors of the houses for example.

Same with enemies appearing...

To be honest I don't know if an Off Event causes lag as much as an event thats switched on ?
 


My RMRK Wikki:- http://wiki.rmrk.net/index.php/Landofshadows
Make a Donation for my Resource making:- https://www.paypal.me/landofshadows

:)

if I was right at the start, and My idea would work...then wouldn't an anti lag script work better, and save time?
Watch out for: HaloOfTheSun

Yami

Anti-lag scripts can cause bugs with parrallel process though, but I guess it wouldn't hurt to try.

landofshadows

The one by BLizzard the all in one script could be worth looking at...

His scripts are pretty tight...

Just save your game again but as TEST or some thing, so you have two copies and play around with some scripts... It can't hurt...
 


My RMRK Wikki:- http://wiki.rmrk.net/index.php/Landofshadows
Make a Donation for my Resource making:- https://www.paypal.me/landofshadows

:)

eh, I guess I will try and get your idea working, but if I can't get it perfect I will just do my idea, it won't be too bad. and maybe even just split the world map in half, and use your idea once, instead of at each new town, so one spot of a 1 second lag won't be too bad.

O, lol idea. At that spot, I will make it in the grass, and have a Battle come up automatically, but when your done, you are in the new map..lol that would work so well.
Watch out for: HaloOfTheSun

Yami

Yeah, except you could exploit that by going back and forth through it to get fights fast.

:)

and that....wait actually no! I will set up a complex system of events in that area, and overlay the map pretty far so its different each time, what you guys think of that?
Watch out for: HaloOfTheSun

Yami

I guess that would work XD

:)

yay! solution found.

but if anyone has imput please post.
Watch out for: HaloOfTheSun

landofshadows

I would always make a 2nd copy before trying the untried Matey... Is this another game your making then ?
 


My RMRK Wikki:- http://wiki.rmrk.net/index.php/Landofshadows
Make a Donation for my Resource making:- https://www.paypal.me/landofshadows

:)

yes, its not my main one..I was going to start it after my lod game was done since I had the pokemon idea...but lominsio posted the game before me...if I have to which I hope not, I will have to leave the group ,focus on lod, and make my own pokemon game after words..
Watch out for: HaloOfTheSun

Yami

I was just playing pokemon red and i noticed something....

when you leave town & switch areas, there is the slight lag I was talking about.  It's really subtle, but you can see it.

:)

hm...your right! I just played pokemon red, and there is one...but most happen with the music change, maybe thats something
Watch out for: HaloOfTheSun