Saturday, 7 February 2015

Pooling Lists

     Object Pooling is a very useful feature to implement in games. It enables reusing objects instead of throwing them away. I did start writing a simple pooling script some time ago when it was first mentioned during one of the lectures, but I can't see where I could actually use it in my current project as i'm not creating objects during runtime yet. As well as this I have a specific amount of objects player can interact with and therefore those do not need to be thrown away during the game, this way collectable ufo's create the effect of flying away and since they are kept in the scene they become a part of scenery.

No comments:

Post a Comment