
Godot 3.4: Let's Build a 2D Platformer!: Part 18 (Running & Finite State Machines)
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]
****************








![[2D 게임 개발 꿀팁 시리즈] 모바일 성능과 쓰로틀링](https://img.youtube.com/vi/z0bkXem0g7o/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 게임에 3D 오브젝트 쉽게 사용하는 방법](https://img.youtube.com/vi/8ytJW1I6Agg/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 그림자 최적화로 60FPS](https://img.youtube.com/vi/L494gnEHr5A/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 메모리 절약 스프라이트 5가지](https://img.youtube.com/vi/-cxbULpRSXE/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] Sprite Shape vs. Tilemap](https://img.youtube.com/vi/q5Yeif-jJ2I/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 최적화](https://img.youtube.com/vi/zMMACezlItM/hqdefault.jpg)


![Cards: Tidy Up! [Demo Out Now]](https://img.youtube.com/vi/6DDIfmMYYFs/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 조건](https://img.youtube.com/vi/5DstF95ojw0/hqdefault.jpg)






![[2D 게임 개발 꿀팁 시리즈] 2개의 2D 물리 시스템](https://img.youtube.com/vi/eqxd8YjgdEo/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 게임 그림자 성능](https://img.youtube.com/vi/yMrlutMnhpc/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 성능과 재미 사이](https://img.youtube.com/vi/dE1PNUM40ag/hqdefault.jpg)










![[2D 게임 개발 꿀팁 시리즈] 물리를 바꾸면 FPS가 100배?](https://img.youtube.com/vi/uUU3wggbNtU/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 배칭](https://img.youtube.com/vi/0HO_7fwC_6A/hqdefault.jpg)
































![[2D 게임 개발 꿀팁 시리즈] Runtime Sprite Atlas](https://img.youtube.com/vi/ocFwQ4sogDo/hqdefault.jpg)


































































































