• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Does Mapsize make a game lag more?

Status
Not open for further replies.
Level 6
Joined
Dec 29, 2013
Messages
152
Hey guys, so I make a strategy map and we do it on a 480 x 224 map.. could this cause additional lags, I mean just from the size of the map?

Many units get created 2000 or more trough the game, by 12 players ofc
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
As far as I know, yes.

C. Loading the Map

The other players lag may also be because of how large your map is. If your map is Epic, or Large sized, you may want to add a loading time at the beginning of the map, just so players can handle the heavy strain on their computer.

A. Unit and Hero Creation
Every time you create a new unit that the game has not loaded yet, it takes time. Putting these at map initialization will get rid of annoying in-game pauses, but it will increase the time it takes to load the map. If you don't want either of these, you could try making a short cinematic just after the game starts, so the player won't notice a long load time or any sudden pauses.


You might want to look at this thread: http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=41198

Also, maps beyond 256x256 which JNGP allows might be an advantage but there are also certain disadvantage on it as an additional such as a Blight tile issue. Just adding though.
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Okey thanks , but I can fix it with good load times? :)

As far as I know, no, I do not want to give out answers that are not proven so the presence of "AFAIK".

Anyway, if you want unit to not cause lag through creation in triggers, you'll have to preload them at Map Init which is an advantage but can cause longer load times. There are certain advantages and disadvantages to each of those things.
 
Level 18
Joined
Sep 14, 2012
Messages
3,413
It is not really the size of the map but more everything you put inside it.
So basically if your map is bigger you will put more things inside and so it can be more laggy.
So give priority to triggering to avoid leak and have a good optimization inside your code.
Also I suggest to use optimizer if you're very afraid of lags.
 
Level 6
Joined
Dec 29, 2013
Messages
152
What you mean by optimizers? can you show me an example?
Can then everyong still play the map without any errors?

Ty for your help! :D
 
Status
Not open for further replies.
Top