Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lightnet/godot4statemachine
Simple Godot 4 state machine for player control state.
https://github.com/lightnet/godot4statemachine
godot godot4 godotengine
Last synced: about 2 months ago
JSON representation
Simple Godot 4 state machine for player control state.
- Host: GitHub
- URL: https://github.com/lightnet/godot4statemachine
- Owner: Lightnet
- Created: 2023-03-21T17:29:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-22T04:11:58.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T02:40:09.159Z (3 months ago)
- Topics: godot, godot4, godotengine
- Language: GDScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Godot 4 State Machine
# Information
Learning how state machine works.
Godot 3 to 4 have little different api call func's. But still same layout.
```
yield(owner, "ready") #godot 3
await owner.ready #godot 4var gravity = ProjectSettings.get_setting("physics/3d/default_gravity") #godot 4
```
Note it raw testing and bare testing as 2D movement in 3D world test.
# Credtis:
* https://www.gdquest.com/tutorial/godot/design-patterns/finite-state-machine/