...Pere001/2d-platformer-tutorial-2023: How to program a...
we instead try to move it by a fraction of the speed. Through "convergent" trial and error tests, we find the highest fraction of the speed that we can add to the entity's position without intersecting any wall