CanyonsCSClub / Spring2017

Canyons CS Club Program
6 stars 0 forks source link

Implement Pooling #19

Closed Tb64 closed 7 years ago

Tb64 commented 8 years ago

Adding a Pooling System for spawned entities such as enemies and bullets.

This is so that the the object doesn't have to be loaded and destroyed every instance. Preloads the objects and uses a pool of items over and over to mimic lots of objects.

Example a player with a 30 round magazine, probably will never have more then 30 bullets on screen. So no need to load in thousands of bullets in one level.

https://www.youtube.com/watch?v=qwAyZ-dgifg

Tb64 commented 7 years ago

Closed Old Project