An introduction to state machines and the state pattern
State machines make it easy to manage the state of your objects and help you write cleaner, more maintainable, and easily expandable code.
State machines make it easy to manage the state of your objects and help you write cleaner, more maintainable, and easily expandable code.
This keyword allows for static typing of custom classes without having to litter preload commands everywhere.
The Polygon2D node can be a great way to create and draw custom physics objects in Godot.
It’s not perfect, but it could work for simple games.
Let’s look at different ways of implementing custom cursors in Godot.