The map I'm making began having slow fps, so I'm going to do some performance maintenance. Any general tips on improving performance I should know of? I haven't tried them yet, but I know about the trigger actions in debugging.
Not able t get any tips till I know where your performance issues are coming from. To many triggers? Abilities not going off right?. When does it start to lag?
Rollback Post to RevisionRollBack
Random Information
Tutorials - Map Development - Galaxy wiki
|Issues? PM me|
Misc/general tips. IE if someone had a high performance map and they wanted to try to make it run faster, what would they do first? Sortof fixes for common performance problems.
If your map spawns millions of units then you're going to lag no matter what you do. Other than that I don't think it's actually possible to create triggers that have a noticeable effect on game performance on modern PCs. At most you'll run against the hard memory limit.
Hmmm that's strange. My map doesn't even use loops with more than 200 iterations. I'll have to do some poking around.
(This one's my submission for the contest, so I'm a little hesitant to disclose my "trade secrets")
The map I'm making began having slow fps, so I'm going to do some performance maintenance. Any general tips on improving performance I should know of? I haven't tried them yet, but I know about the trigger actions in debugging.
Not able t get any tips till I know where your performance issues are coming from. To many triggers? Abilities not going off right?. When does it start to lag?
Misc/general tips. IE if someone had a high performance map and they wanted to try to make it run faster, what would they do first? Sortof fixes for common performance problems.
If your map spawns millions of units then you're going to lag no matter what you do. Other than that I don't think it's actually possible to create triggers that have a noticeable effect on game performance on modern PCs. At most you'll run against the hard memory limit.
Hmmm that's strange. My map doesn't even use loops with more than 200 iterations. I'll have to do some poking around. (This one's my submission for the contest, so I'm a little hesitant to disclose my "trade secrets")
If you have multiple triggers using the "unit dies" event or the same "periodic event" place all the actions into one single long trigger.
Don't use wait actions, while actions or forever actions.
Be as specific as possible. Don't use unspecific events like "unit dies" if possible.
be minimalistic when designing your map, i.e. don't overdo with doodads, select the most simple tileset, etc.
If your map uses a third-person camera or anything similar, put in a far clip or at least have the option to.