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.
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