Game Endeavor | How to Make Your Player Swim in Godot 3.1 @GameEndeavor | Uploaded December 2019 | Updated October 2024, 7 minutes ago.
Getting your player character to swim is an interesting challenge to tackle as a developer. There are countless ways to implement it, each with their own pros and cons. In this video, I'll be showing you one way to implement swimming in your game. This style of swimming will cause the player to float upwards towards the surface of the water, and then tread water when near the surface, and allow them to jump out of the water. You can modify this however you like. An alternative style would be like Super Mario World where your character always floats down, but the jump button causes your character to float upwards. Have fun and experiment.
Simple State Machine: youtu.be/BNU8xNRk_oU
Become a patron to get exclusive content and support the channel:
patreon.com/GameEndeavor
Join Our Community! We look forward to welcoming you.
Discord: discord.gg/w7qh74M
Twitter: twitter.com/GameEndeavor
Into: Splashing Around - The Green Orbs
Getting your player character to swim is an interesting challenge to tackle as a developer. There are countless ways to implement it, each with their own pros and cons. In this video, I'll be showing you one way to implement swimming in your game. This style of swimming will cause the player to float upwards towards the surface of the water, and then tread water when near the surface, and allow them to jump out of the water. You can modify this however you like. An alternative style would be like Super Mario World where your character always floats down, but the jump button causes your character to float upwards. Have fun and experiment.
Simple State Machine: youtu.be/BNU8xNRk_oU
Become a patron to get exclusive content and support the channel:
patreon.com/GameEndeavor
Join Our Community! We look forward to welcoming you.
Discord: discord.gg/w7qh74M
Twitter: twitter.com/GameEndeavor
Into: Splashing Around - The Green Orbs