This game was made in less than 48 hours for the 48th edition of Ludum Dare.
LD page: https://ldjam.com/events/ludum-dare/48/falling-for-treasure Play the game: https://laaph.itch.io/falling-for-treasure
No special libraries or other trickery was used.
If you make the movement better let me know and give me a pull request. :)