Showing 7 posts by pan1cmode

Return Home
Collision Detection for 2d game: Spatial Grid. Cocos2dx

Hello there, At the beginning, we should say, that full collision detection implementation consists of two parts: broad-space and narrow-space detections. Broad-space: detection of objects in space which could potentially collide. So we don't need to calculate each x each collisions, which is very inefficient. Narrow-phase: determine where exactly our

Read More