wasd to move arrow keys to look "Dir of Tank" slider to change the direction of enemy tank This is an improvement on an earlier test of an 8-direction sprite system in 3D (it now works in all directions)
There are comments inside on how the 8-directional part works, the rest can be understood (mostly) from Griffpatches raycaster series This is a test, not really a proper game (but yall could make it one...)