Original Post
Just recently, I managed to get my level editor working (w00t!), so, now I can have complex levels. The problem is, my bots can''t navigate through said level... I''ve read a bit about navigation through tiles, but I''m still stumped.
My levels are stored in an array of 1024 x 1024 tiles, each with an integer value. 0 is always free space that any ship can go through. How can I stick in LOS (so the bots don''t try to shoot through tiles) and navigation, with as little preformance hit as possible?