Controls: WASD..............Move player Arrow keys.......Rotate camera Space..............Jump Shift................Crouch M....................Toggle mouse controls O....................Show options P.....................Pause F.....................Toggle FPS Counter
I was curious how you could go about creating a better lake simulation. Decided I changed enough to justify a remix Go on and take a dip in the lake :D The simulation is done using these 3 things: - I added 4 water step sounds to the camera from a recording by Orange Free Sounds. I then set them as the texture step sounds in the textures sprite - We detect whether we are in water by using the "get surface below" block (which is used in the original engine for step sounds). If the texture ID of the found surface is 20, we know we are in water - When in water, we decrease the #Acceleration value so that you can't move as fast. We then increase it again when leaving the water. - When in water, to achieve the sink effect, we actually crouch the player to give the effect of falling into the water. I adjusted the crouch times slightly though to be more realistic