Edit of asset "2D Finite State Machine Demo" Accepted

Old/Current New/Edit
Title 2D Finite State Machine Demo 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.
This example shows how to apply the State programming pattern in GDscript, including Hierarchical States, and a pushdown automaton.
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 Demos
License MIT MIT
Repository Provider Custom 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.1-342f27e/2d/finite_state_machine
Issues Url https://github.com/godotengine/godot-demo-projects/issues https://github.com/godotengine/godot-demo-projects/issues
Godot version Godot 3.5 Godot 3.1
Version String 3.5-9e68af3 3.1-342f27e
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.1-342f27e/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.1-342f27e/2d_finite_state_machine.zip
Icon Url https://user-images.githubusercontent.com/5276727/74890913-1f12ab00-538e-11ea-8692-4b0e97599b12.png
https://user-images.githubusercontent.com/5276727/74890913-1f12ab00-538e-11ea-8692-4b0e97599b12.png
Preview Insert
Type image
Image/Video URL https://user-images.githubusercontent.com/5276727/74890933-2b970380-538e-11ea-908e-06bbf31829eb.png
Thumbnail https://user-images.githubusercontent.com/5276727/74890953-3782c580-538e-11ea-9005-a0e839b4d041.png