Simple Finite State Machine | Pong GDScript Basics | Ep 04 @GodotTutorials
Simple Finite State Machine | Pong GDScript Basics | Ep 04  @GodotTutorials
Uploaded March 2021 | Updated November 2026, 8 hours ago
Welcome to the Pong GDScript Basics Series.
Godot Tutorials is not sponsored by or affiliated Godot Game Engine.

In this episode I take a look at a very basic setup for a simple state machine.

Special thanks to @Any Key for bringing up magic numbers in the last episode 😍.


✅ Project:
github.com/Godot-Tutorials/pong-basics-series


Godot Tutorials
----------
🌸 Website:
godottutorials.com

🐦 Twitter:
twitter.com/godottutorials


Resources
----------
🎮 Godot Game Engine Tutorial Series:
youtube.com/playlist?list=PLJ690cxlZTgIsmdEhFufnB7O6KWoMS8M6

💻 GDScript Fundamental Tutorial Series:
youtube.com/playlist?list=PLJ690cxlZTgL4i3sjTPRQTyrJ5TTkYJ2_

🐥 Trello Page with other Godot Channels:
trello.com/b/TAHIZJ9D/godot-game-tutorials

Timestamp
----------

0:00 Intro
0:10 Finite State Machine
3:36 Coding Time
14:35 Additional Refactoring Techniques
Simple Finite State Machine | Pong GDScript Basics | Ep 04Ready Virtual Method | Godot Basics Tutorial | Ep 14Teach Yourself To Learn Programming | Godot Basics Tutorial | Ep. -1Unicode and Strings | Godot Basics Tutorial | Ep 47Input Mapping (Basics) | Godot Basics Tutorial | Ep 30Animation Resource | Godot Basics Tutorial | Ep 54Game Programming in Godot: Positioning (Solution) | Godot Basics Tutorial | Ep 26.1Scenes & Nodes | Godot Basics Tutorial | Ep 08Game Programming: Offsets | Godot Basics Tutorial | Ep 22Start Learning Game Design | Game Design Basics | Ep 00Constants | Godot GDScript Tutorial | Ep 03Match Statement (Example) Pt 2 | Godot GDScript Tutorial | Ep 9.1
Godot Tutorials |

Simple Finite State Machine | Pong GDScript Basics | Ep 04

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER