Collision
I decided after researching and struggling with the Minkowski method to use the separating axis theorem for collision.
That will be able to handle rotated collider as well.
And some stuff can actually be simplified because we currently only have box colliders which will probably be all we need for a while.
So from today onwards I will try to implement the separating axis theorem.
Independent Resolution Rendering
What I forgot to mention yesterday is that the independent resolution rendering is fixed now.
I thought I was completely off, but actually it was working fine already.
I just didn’t realise what effect a very low resolution would have when zooming out.
There was an issue with the tilemap though.
Rendering way too many tiles because it used the bounds of the framebuffer.
Instead it should be using the camera bounds and that is exactly what it is doing now.
Very pleased with the result.
As the game can now run 30FPS on 1920×1080 and 60FPS on 428×240.
Still not sure which resolution to use, but starting to prefer the higher resolution more.