Pool System

Ra-ta-ta-ta-ta-ta-ta your way without any performance impact

Pooling is a common technique used to increase performance on games that create and destroy an object multiple times in a short period of time.

Pooling in Game Creator is very easy. You just need to use the "Instantiate from Pool" Action and it will automatically generate a bunch of objects when the first instance is spawned.

By default Game Creator creates a pool of 20 instances that live up to 10 seconds. You can easily tweak these values adding a "Pool Object" component to your prefab and modifying its parameters.

(Pool Object component)

If a Pool of a certain object runs out of available objects it will create new instances, increasing the size of the pool.

Last updated

Was this helpful?