Laser Squad [Day 40] – Firing trajectories

Today I implemented the trajectory calculations for a bullet when a target is missed. The position of the calculated missed tile is marked with a red “X”; the idea is to extend the trajectory line further to the map end to get the full trajectory. Now everything is ready to test all tiles on the trajectory for units or tiles that are unpassable.

 

* * * * *