I have quite a lot of objects for my TD.
Between towers, hero builders, balls, flying balls, giant balls, etc..
All with custom abilities. of course in game, every first time some of the objects were introduced in a game, there was this typical 0.5-1s "freeze" that is pretty annoying.
So what I did was place 1 of each different custom units / heroes on a specific zone of the map, for the computer player.(The one owning all attacking "creeps") I put all heroes at max level and made sure they learnt and activated all their abilities
Same for units (mostly towers), I made sure all their custom abilities were active
Then I placed a few dummy units with some of the main SFXs of the map as a model.
Then, after Map Init, I remove them all from the game.
The problem is that this does not work at all : many custom objects still create a brief freeze when they are first introduced into the game.
What is wrong with what I did ?
Between towers, hero builders, balls, flying balls, giant balls, etc..
All with custom abilities. of course in game, every first time some of the objects were introduced in a game, there was this typical 0.5-1s "freeze" that is pretty annoying.
So what I did was place 1 of each different custom units / heroes on a specific zone of the map, for the computer player.(The one owning all attacking "creeps") I put all heroes at max level and made sure they learnt and activated all their abilities
Same for units (mostly towers), I made sure all their custom abilities were active
Then I placed a few dummy units with some of the main SFXs of the map as a model.
Then, after Map Init, I remove them all from the game.
The problem is that this does not work at all : many custom objects still create a brief freeze when they are first introduced into the game.
What is wrong with what I did ?