Pooling you mean.
Pooling animaitons is a strange concept. But DO this.
Make each animation an Entity. Each X number of frames free all Entity of soldiers and reload them of the aniamtion you wish.
if you divide that refresh itno X segments, then It affect less the frame rate.
Pooling animaitons is a strange concept. But DO this.
Make each animation an Entity. Each X number of frames free all Entity of soldiers and reload them of the aniamtion you wish.
if you divide that refresh itno X segments, then It affect less the frame rate.