Posts in 2014

Point in Polygon Hit Testing

Checking to see if a point is inside a polygon is useful for 2D game development. Here's an algorithm in Java to do check if a given point is inside a polygon which only iterates t…

Priority Queue in C#

Priority queues are really useful for path finding algorithms like A*. Also, for applications like mobile games, memory management is still an important consideration. I have used…