#How do I code in abilities like in hollow knight?
2 messages · Page 1 of 1 (latest)
You can use an Autoload script to manage variables for each ability, and then check those variables when attempting to perform said abilities. https://docs.godotengine.org/en/stable/tutorials/scripting/singletons_autoload.html
Godot Engine documentation
Introduction: Godot's scene system, while powerful and flexible, has a drawback: there is no method for storing information (e.g. a player's score or inventory) that is needed by more than one scen...