A-STAR Pathfinding AI for HTML5 Canvas Games
Knowing how to get from point A to point B is something many games require. Whether you're designing a deep turn-based strategy tactics RPG or a simple puzzle game, navigating your game world often requires more intelligence from your game characters than merely pointing towards a goal and moving in a straight line.
High-Performance, Garbage-Collector-Friendly Code
If you’re developing a game that has many things happening at the same time, say a weapon that fires missiles 5 times per second -- not an unreasonable weapon fire rate for a high-speed shooter -- you’ll quickly discover that one area of substantial impact to performance is object construction and subsequent garbage collection.