| 07-30-2003, 11:58 AM | #1 |
I was wondering if I had all the enemies on my rpg spawn at certain locations dynamicly when the character enters certain regions would improve the performance of the game as apposed to just placing all the creeps in the editor. I would think so because the game has to keep track of much less, but I'm not sure so that's why I'm asking. Thanks for the feedback. |
| 07-30-2003, 10:49 PM | #2 |
Does anybody know anything about this? |
| 07-30-2003, 11:00 PM | #3 |
Well, I don´t know for sure but it sounds reasonable. At least the map will load a lil faster on map init. and in the WE ://// Hmm, oh well, how many Creeps do you have? |
| 07-30-2003, 11:02 PM | #4 |
I would think less units on the map does mean less to take care of, but when many units spawn at the same time it causes lag. So do not pre place many creeps, but spawn them, make sure not to do it in a fashion where this causes the lag. Make sure to destroy special effects if they are no longer needed, and to remove the corpses, hopefully this will help somewhat. |
| 07-30-2003, 11:03 PM | #5 |
Thank you very much, I'll try that. |
| 07-30-2003, 11:05 PM | #6 |
no, it wont get any better because instead of it having to keep track of Creep A at Point X it would have to check the conditions of your trigger each time something enters that region. In a singleplayer RPG you really dont have to consider technical lag that much... and if its multiplayer just try to limit generic events (things that fire alot such as the "a unit is attacked" event) but like i said, RPGs really aren't on top of the lag-issue, not alot is happening at once. |
