RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Large map, lag [RESOLVED]

0 Members and 1 Guest are viewing this topic.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
so I was wondering what makes the games lag? Since I am apart of the team making a pokemon group, whats a pokemon game without one LARGE ass map, right? so wouldn't this LAG alot? so I had an idea:

I think that the lag is coming from simultaneously running events. not sure if I'm right.
 I don't think a huge map with no events would lag, right? so my idea is by using switches, STOP every event in each town(part of the large map), but they are activated once you enter the town by placing an event on the ground that would turn the switch on for all the events in the town/ turn the events off from the place you have left.

would that work?
and if not what are some ways of making a pokemon game with a HUGE map/no lag.
« Last Edit: January 24, 2007, 12:51:06 AM by Nouman6 »
Watch out for: HaloOfTheSun

****
Irock touched your custom title
Rep:
Level 89
2 alternatives.

Of course the anti-lag script. That's one way.
Also, what I said about over lapping maps.

***
Rep:
Level 88
Most lag, I beleive comes from Paralell(SP?) Processes. You could try an anti-lag script, but that disables all events outside of the veiwing area (Including auto-starts and paralell processes) And i've had no luck with them. But you have a great idea! I'll probably have to try that sometime...

(I feel like a noob talking like this to someone with many more posts than me...hehheh... :=:)
Games in progress:
Tome of Arastovia: 7% complete at 2 hours of gametime

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
lol, don't mind my post count, Im still fairly new. And thanks, I thought the idea was good also.

and so an anti-lag script disables events? cool, and does anyone else think my idea will work?

(p.s lominsio, if this cant be done, I added an anti lag script to the game)
Watch out for: HaloOfTheSun

***
Rep:
Level 88
Well my problem is that the Anti-lag scripts disable Auto-starts and such.

As in my game I have an evented DDNS,weather,and map change system. Which of course, means they are disabled...

But in a game with no auto-process this could work. (Though they would never work for me)
Games in progress:
Tome of Arastovia: 7% complete at 2 hours of gametime

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
so, it would work in a pokemon..since its not really stopping anything that is in view.

anyways still want to know if anyone think/knows that my idea is better then an ani-lag script?

hmm...but I to have a Day/night, but mine is a script sO i dont think the anti-lag will effect it.
Watch out for: HaloOfTheSun

***
Rep:
Level 88
It depends.....if the towns are on separate maps, then no...but if they are on the same map. Then this would work IMPOSSIBLY well for it.
Games in progress:
Tome of Arastovia: 7% complete at 2 hours of gametime

***
Rep:
Level 88
The way you could make the maps look like they are the same but they are really changing, is at the end of each map, draw the first bit of the next map that it is going into.  Then make the teleports before you get to the edge.  And they teleport to a little past the beginning of the next map and there is no screen transition.  That would make it look like you are not switching maps at all.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
wow. thats really smart thinking. and I will try it and get back to you.

Edit: Maybe I'm not doing it right, but even when I do that, there is a short pause and screen shake. maybe I'm not doing it right. does anyone have a demo of this working? or did yami just now think this amazing idea up.  ;8
« Last Edit: January 22, 2007, 03:55:27 AM by Nouman6 »
Watch out for: HaloOfTheSun

***
Rep:
Level 88
I just thought it up, but I'll try it too.

**
Rep: +0/-0Level 88
If your doing that why not just make a big map?

*Realizes this is what is causing the lag and shuts up*

***
Rep:
Level 88
I got it to work without being noticed except when you switch maps, it lags for about a half-second.  I'll keep working on it a little more

****
Irock touched your custom title
Rep:
Level 89
The way you could make the maps look like they are the same but they are really changing, is at the end of each map, draw the first bit of the next map that it is going into.  Then make the teleports before you get to the edge.  And they teleport to a little past the beginning of the next map and there is no screen transition.  That would make it look like you are not switching maps at all.

Thats what I was talking about with overlapping maps. :P I used to have a perfect working example. I'll see if I can find it.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Ok, let's clear this up:

1. Lag

  • caused by many parallel processes/events/events with graphics
  • a big map needs a bigger "image" to be processed, that's why it lags with big maps
  • outside of maps it can be caused by constantly updated HP/SP/EXP bars and similar image drawing on sprites or windows ("refreshing" them in common)


2. Anti-Lag scripts

  • they do not allow updating events and their graphics outside of the screen
  • they do not affect auto-start/parallel processes, because this would make your maps bug
  • there are no known other Anti-Lags except for Event Anti-Lags
« Last Edit: January 22, 2007, 10:43:42 AM by Blizzard »
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!

***
Rep:
Level 88
A good eventer and story creator.
Pokemon games...i.e crystal, gold...the game boy stuff, don't have large maps if you've noticed, just single blocks of land that have few events and then you go to a new area etc...
Harmony before Justice,
Balance before Peace,
Order before Finality

Family Motto.

****
Irock touched your custom title
Rep:
Level 89
Pokemon games... i.e. Ruby, Sapphire... are one big map if you've noticed
- Except for the inside of houses and stuff. :P

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Not really... The transition between maps is only executed very unnoticable. No way these maps could fit into a Game Boy Advance RAM.
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!

****
Irock touched your custom title
Rep:
Level 89
That's why I was insisting they were overlapping maps because it wouldn't be possible for them to run otherwise.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
so, anyone have any luck on making a non glitch transition between the different maps?
Watch out for: HaloOfTheSun

***
Rep:
Level 88
Mine didn't have a glitch except for it stops your step when you switch maps (so you can tell cause there's like a 1/4 second moment when you aren't moving)

****
Irock touched your custom title
Rep:
Level 89
I found mine but when I actually tried it, there is a slight lag. Not that noticeable but it is there.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Mine didn't have a glitch except for it stops your step when you switch maps (so you can tell cause there's like a 1/4 second moment when you aren't moving)

ya...we need to over come that.
Watch out for: HaloOfTheSun

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best Game Creator (Non-RM)2013 Best IRC ChatterboxParticipant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Biggest Forum Couch Potato2010 Most Successful Troll2010 Best IRC Chatterbox
I wonder how Zelda Windwaker did it...it's basicly one map.
lol


But if the game isn't going to use auto starts I would suggest an anti lag script.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
I wonder how Zelda Windwaker did it...it's basicly one map.
lol

You're not seriously believeing that...?
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!

***
Rep:
Level 88
A good eventer and story creator.
yay -6 rep!

Okay, so imma little random but still.

Sapphire and Ruby were large maps yes, but they weren't one giant map, they did overlap though, yet somehow the managed to prevent the screen going dark...hmm. I wonder how they did that.
Harmony before Justice,
Balance before Peace,
Order before Finality

Family Motto.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
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!

***
Rep:
Level 88
A good eventer and story creator.
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.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
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!

***
Rep:
Level 88
A good eventer and story creator.
heh, I only notice because i play for like hours at a time
Harmony before Justice,
Balance before Peace,
Order before Finality

Family Motto.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Best RPG Maker User (Scripting)2010 Best Use Of Avatar And Signature Space
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...

***
Rep:
Level 88
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.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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

******
Resource Maker
Rep:
Level 91
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

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Best RPG Maker User (Scripting)2010 Best Use Of Avatar And Signature Space
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.

******
Resource Maker
Rep:
Level 91
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

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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

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

******
Resource Maker
Rep:
Level 91
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

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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

***
Rep:
Level 88
Yeah, except you could exploit that by going back and forth through it to get fights fast.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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

***
Rep:
Level 88
I guess that would work XD

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
yay! solution found.

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

******
Resource Maker
Rep:
Level 91
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

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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

***
Rep:
Level 88
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.

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
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