what would make less lag

BRUTAL

I'm working
Reaction score
118
k making maze
what would make game lag more?
1) leave like everything going at once like patrols and ground attackers etc.
2) leave the first part on only, and when the unit gets to the next level turn the shit on

??
the second choice would make lag when the unit gets to a next level right?
 

Insane!

Shh I didn't edit this, go away.
Reaction score
122
well you should only have 1 level run at a time to reduce lag imo
 

BRUTAL

I'm working
Reaction score
118
ya but my maze is differnt its a ffa maze
so differnt players can be at different levels
but i am gona do like if the number of players in w.e is 0
to turn off that part
 

LordOglog

New Member
Reaction score
16
I'd say create it all when someone gets to next level, than when all have finished a level delete units etc. to release lag.
Also look up memory leaks if it's lagging alot.
 

BRUTAL

I'm working
Reaction score
118
ya tahts what i thought of doing

i started doing memory leak stuff a few weeks agos
lol my triggers are so long from set the varible then removing it so many times :p
 

LordOglog

New Member
Reaction score
16
Also try preloading, I'm not sure exactly how it works but it should reduce lag when placing new units by loading them beforehand when there should be less lag (normally in cinematics)
 

BRUTAL

I'm working
Reaction score
118
perloading? :S
hey arent you the gy who made a death trigger generator?
i have one with your name >_>
 

MerrillPhish

Active Member
Reaction score
10
I think preloading is when you kinda pause the game, and allow everything to get setup. On my map i have a 6 - 10second intro and allow everything to load during that time.

Don't spawn a ton of units at once, avoid units the have smoke animations(eg. steam tank, orc catipult) , memory leaks...

I think the really big thing is having units that have smoke or other complex animations. On TD's and stuff like that, I notice the game lags right up when the steam tank or catapults lvl starts.
 

BRUTAL

I'm working
Reaction score
118
nah i read on it
its when you place the units on the map
then on map init. you remove them
but thats more for hero arenas i dont need that

i have like about 10 steam tanks and 10 orc catapults :p
 

BlackNerubia

New Member
Reaction score
12
Pre-loading basically helps for your spawns as well, because when ever a new unit spawns it has to load the data for that unit, so what you need to do, is place one of every unit of your maze on your map and delete them upon loading time that why the game wont have random lag spikes upon wave spawning, also doing the same for dummy spells etc will help reduce lag greatly.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top