What is Pooling? Pooling is a technique that allows the program to repurpose objects that are no longer being used in order to manage memory and decrease processing time. Imagine a box with 10 objects inside, this would be your pool and when you want an object you simply open the box and take out […]
Month: May 2017
Collision Detection – Circles, Rectangles and Polygons
Collision Detection – Circles, Rectangles and Polygons So you’re making a game and you want to check if your character has bonked an enemy. This calls for collision detection algorithms. Surely you could use a framework like Box2D to do all the collision detection for you.. well yes, you could and it would work pretty […]