Godot 3.4: Let's Build a 2D Platformer!: Part 18 (Running & Finite State Machines)

https://www.youtube.com/watc...
Thanks for watching! In this Godot Game Engine tutorial I cover adding RUNNING to our game's character's abilities (with a 'run' key), and a FINITE STATE MACHINE. Here are the video chapter timecode links: : - 0:00 - Video Intro - 0:30 - This mini-series & Our project as it stands - 1:17 - Future Tutorials in this series! (in no particular order) - 1:53 - In this tutorial - 2:17 - Going to 'Project - Export' - 3:40 - Overview of Steve's scene & "SPAGHETTI code" - 7:11 - Finite State Machines - 9:03 - Enum for States (Enumerations) - 12:08 - State Variable - 13:05 - Organizing Code into States - 14:18 - Match Statement for State Organization (similar to a switch statement) - 15:58 - the 'AIR' State - 18:49 - Creating a 'Move-and-Fall' Function - 22:33 - The 'FLOOR' State - 28:14 - Adding Running with a Modifier Key (z) - 34:58 - Improving Acceleration - 41:25 - Using the Ternary Operator to finish improved acceleration - 44:40 - Changing the 'Walk' Animation Speed Scale (FPS) for Running! - 48:17 - Tutorial Overview (what we did in this video) - 48:37 - Fixing the Last Code Problem! - 24:40 - Tutorial Ending + Call to Action + Social Media #godotengine #gamedev Play the Full Platformer Game Online Now!: https://borncg.itch.io/ ***************** DONATE to support my channel via PayPal: https://goo.gl/ThkwyG **************** Get Godot at: Godot Game Engine - https://godotengine.org/ **************** LIKE and FOLLOW me on: FACEBOOK: http://www.facebook.com/BornCG INSTAGRAM: https://www.instagram.com/born.cg/ FOLLOW me on TWITTER: https://twitter.com/BornCG Reddit: https://www.reddit.com/u/BornCG ********************************** Visit my Godot 3 Tutorial Series playlist!: https://www.youtube.com/playlist?list=PLda3VoSoc_TSBBOBYwcmlamF1UrjVtccZ Visit my Blender 2.8 Tutorial Series playlist: https://www.youtube.com/playlist?list=PLda3VoSoc_TRuNB-5fhzPzT0mBfJhVW-i Visit my Blender 2.7 Tutorial Series playlist: https://www.youtube.com/playlist?list=PLda3VoSoc_TR7X7wfblBGiRz-bvhKpGkS Also check out my Blender Game Engine Basics Series playlist: https://www.youtube.com/playlist?list=PLda3VoSoc_TSS7ht07sCt8zDCyAenOG6i My Blender Video Effects Playlist: https://www.youtube.com/playlist?list=PLda3VoSoc_TQQYZfHuzWtEjh11OTEKXBK My Character Rigging (Minecraft) Mini-Series Playlist: https://www.youtube.com/playlist?list=PLda3VoSoc_TRWPzZHPqJlHfS0kOeQzQUQ **************** Nicolas from the band 'The Lazy Saviours' created my Intro Jingle! Check out his band's album here: on Amazon: https://amzn.to/2CID1nz on iTunes: https://apple.co/2QgqHOU [not a sponsor] ****************