...or unit, as I only added the one.
Other changes include:
- Improving performance on Android by pre-rotating the screen.
- Rewriting the animation support (it's now not based on the ten year old original)
- Adding a placeholder enemy "AI" that just builds endless units and moves them around.
- Fixing the endless bugs revealed by doing that.
After leaving the "infinite unit builder" running for a while:
(Yes, the textures are still bad.) (Ignore the super-high FPS, this was on a desktop with an RTX 2070, it can get > 1k sometimes.)
At this point, the pathfinding thread was slightly dead. But it hadn't crashed, ended up with three units in the same position, or turned into a pile of distorted triangles.