So, I saw that nice game AirScape, and I needed that same kind of rotation for my game too, it'd make my levels bigger and stuff (My game is not a platform game, it's something else). So how did sqiddles do it?
Develop games in your browser. Powerful, performant & highly capable.
Squiddster has made a tutorial explaining how he made that game:
How to make a gravity-based platformer