I was always wondering how trains or other moving platforms are implemented in games. For example: there a many games where you can walk on the back of a truck or on a train that starts to move. ...
So after a few hours of searching on the internet, I have yet to find a pleasing answer on how to handle moving platforms in a 2d platform game. So I decided to make a simple prototype where you ...