How does Secret Staycation do its physics?

So a long time ago I saw this game in my front page, and I thought the physics were good.
How do I recreate these physics? im just curious and want to learn how, not gonna actually make a game with these physics.
Secret Staycation

1 Like