Tag Archives: c

The Basics of A* Pathfinding – part 1

The A* algorithm allows you to find the shortest path between two points with (impassable) obstacles between them. The key word here is “shortest”. Let’s take a look at what that means: How A* “sees” it Imagine we have the … Continue reading

Posted in Examples, Game Dev | Tagged , , , , , , , , , , , | 12 Comments

The Basics of Game Loop Implementation – part 2

Intro In part one, we discussed the basic notion of “game loop” as well as given some code examples. In this 2nd part of the article, we’ll improve on the first examples as follows: – This time we’ll be using … Continue reading

Posted in Game Dev | Tagged , , , , , , , , , , | 3 Comments