Month: January 2014
-
2014 January 18
-
Parsec Patrol Diaries: How To Avoid Smashing Into Things
Contents 1 Where to start? 2 Waypoint Graphs & Navigation Meshes 3 A* Search 4 Trigonometry Refresher 5 Spaceships with Whiskers 6 Functions with Potential 7 Further research I made a hero ship with beam weapons. I even built drifting asteroids that handle smashing into things. What gave me trouble was finding a way to teach enemy ships how to avoid smashing into things. You know, not perfectly, but just well enough to seem vaguely cunning and worth pretending to outsmart in a video game. [ ... 1611 words ... ]