If I run all the way to the right side of the screen past the enemy and shoot in any direction, the bullets immediately hit the enemy.
My next step is to work on collision and physics; maybe I’ll use something like Box2D.
Putting aside the politics and all, focusing on the tech- one thing I came across when trying to do my own collision detection was the idea of using the GPU and occlusion queries for pixel-perfect results.
I didn't come up with the technique, but it's super cool, and since you're not taxing the GPU with tons of 3d triangles, it's perhaps a bit more free to do stuff like that.
Nowadays, it’s very rare for a user to download and run a binary.
The interesting part of the collision detection code is here: https://github.com/dakom/not-a-game/blob/main/src/collision/...