Sometimes the old ways, are the best ways.
Simple A* implementation in C#
Here’s a quick and simple C# implementation of A* based on the wikipedia spec. It doesn’t do anything fancy like smoothing. but it’s fast and can be run many times per frame. I’ve found that with some basic wall avoidance built on top of this, the pathing looks smooth enough. Hopefully this can save someone else the pain of debugging an almost-working A* implementation.
BLACK FUTURE '88
Welcome to the official development blog for BLACK FUTURE ‘88, a cyberpunk roguelike.