Edit of asset "2D Finite State Machine Demo" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | 2D Finite State Machine Demo | |
Description |
This example shows how to apply the State machine programming pattern in GDscript, including Hierarchical States, and a pushdown automaton. Language: GDScript Renderer: GLES 2 States are common in games. You can use the pattern to: 1. Separate each behavior and transitions between behaviors, thus make scripts shorter and easier to manage 2. Respect the Single Responsibility Principle. Each State object represents one action 3. Improve your code's structure. Look at the scene tree and FileSystem tab: without looking at the code, you'll know what the Player can or cannot do. |
|
Category | Demos | |
License | MIT | |
Repository Provider | Custom | |
Repository Url | https://github.com/godotengine/godot-demo-projects/tree/3.5-9e68af3/2d/finite_state_machine | https://github.com/godotengine/godot-demo-projects/tree/3.3-2ce76ff/2d/finite_state_machine |
Issues Url | https://github.com/godotengine/godot-demo-projects/issues | |
Godot version | Godot 3.5 | Godot 3.3 |
Version String | 3.5-9e68af3 | 3.3-2ce76ff |
Download Commit | https://github.com/godotengine/godot-demo-projects/releases/download/3.5-9e68af3/2d_finite_state_machine.zip | https://github.com/godotengine/godot-demo-projects/releases/download/3.3-2ce76ff/2d_finite_state_machine.zip |
Download Url (Computed) | https://github.com/godotengine/godot-demo-projects/releases/download/3.5-9e68af3/2d_finite_state_machine.zip | https://github.com/godotengine/godot-demo-projects/releases/download/3.3-2ce76ff/2d_finite_state_machine.zip |
Icon Url |
https://user-images.githubusercontent.com/5276727/74890913-1f12ab00-538e-11ea-8692-4b0e97599b12.png
|