Hi,

I believe the SetCamera code contains a typo.
The code that checks the dormant entities position to see if they should be brought into the high entities compares AbsTileY the wrong way to the Camera bounds. I think changing (Dormant->P.AbsTileY <= MinTileY) to >= and vice versa for MaxTileY should make it better. But like Casey said on the stream, the uint32 wrapping will still be a problem. Just wanted to mention the typo in case it stays in.
But maybe an int version of the rectangle2 code could prevent bugs like this?

Regards and have fun coding! I'm enjoying the whole process.
Mox