I had recently used GameMaker to do a small platform game with my friends. I was surprised that it had this function move_contact_all(direction, speed). This starts moving the object towards a direction until a collision takes place. It is working pretty well. I can’t see even a single pixel gap between even two odd shaped objects. It moved perfectly. Any ideas how to implement that behaviour?
I’m really interested in making an application which demonstrates the same effect.