In this video I review a little example I wrote that showcases how to implement top down tile based collision detection and response in a 2D environment.
Check out the source code here: https://github.com/pothonprogramming/...
Try the working example for yourself here: https://pothonprogramming.github.io/c...
Check out the last tutorial here: • Advanced Tile Based Collision Detection AN... It covers the system I'm using in a bit more detail.