Just an easier to understand more simplified code with an explanation for most blocks to help people understand how it works. I included the main code, as well as two different variations of water physics codes. If you are taking this code for your own game that doesn't have water in it, I am including another sprite with no comments on it that you can take. If you are interested in making a game yourself, look through this code and try to understand how things work so hopefully you can make some unique things yourself.
Please check out my different surfaces project in the Building Boy Feature Playground studio. It adds different color grounds that affect the building in different ways, and this could help in making your own unique games or features and help you to understand the code a little better. The new simplified water code is very slightly delayed compared to the original and I couldn't figure out why, but it still has the exact same physics, and you can't notice a difference unless you compare so I'm okay with it. Also I know including water code in this feels out of place and random but you can deal with it.