Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/load.php on line 610
Algorithms Archives - ATZ OK
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Isometric Coordinate Algorithms

Just thought I’d share the final functions I settled on for isometric coordinate calculations. Unlike most of the others I’ve seen around the web, these account for: * Origin offset * Tile-based position offset * Varied scale * Any aspect ratio (not just 2:1) def GetScreenPositionForTile(self, map_pos, view, origin, offset, delta=None): if self.projection == Layer.Projections.BirdsEye:…

Pathfinding algorithms in Demon Keeper

While ZedZed required only simple directional pathfinding (zombies are stupid, so advanced pathfinding is not needed), Demon Keeper required some more advanced techniques to facilitate targeting. I found a great A* tutorial, and some great additional information, which helped me get started, but it wasn’t quite what I needed. The first thing I did was…


Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atzok/atzok.com/wp-includes/formatting.php on line 3964