stand next to the lever and push it with your mouse to fill or drain the room. The lever has to be fully pushed up or down to activate it. arrow keys to move hold up arrow to swim up when in water hold M to sprint, but you can only sprint if your stamina is above 2. (scroll down) I added a shelter that blocks the water. Press the N key to open the entrance. (and you need a code) (you need to be near it) The shelter is only in the first room. There's another shelter, a mobile one. stand next to the purple cube and hold down F to carry it. set it down wherever and press V to activate or deactivate it. The shelter also has a charge, and it deactivates if it is out of charge. It uses less power when you're not in it, but it still uses power if it's active. To put on or take off the oxygen mask, press K. Press V to pick up some items. (the crate in the first room and the keycard)
I used pulljosh's engine for the physics. There was another tutorial for a health bar that i based the oxygen and stamina bars off of. Everything else is by me. Updates: May 17, 2019: I added a keycard. it allows you to open the shelter without a code. May 16, 2019: i added a oxygen mask. Press V to open the crate in the first room to get the mask, and press K to take it off or put it on. May 12, 2019: I added a mobile force field shelter, but it's only usable if it has charge. Also, made a new method for changing the water level. April 5th, 2019: I started work on other rooms. April 6th: I added another room.