A library of utility functions and nodes for the Godot game engine.
- Download and un-zip files.
- Place
godot_utils-main
or equivalent folder into your project'saddons
folder. - Enable plugin in
Projects > Project Settings > Plugins
Classes each have their own usage, but most are initialized using the ClassName.new(...)
pattern. (ex. PID.new(p_value, i_value, d_value)
)
Globals are all declared as classes with static functions, and are declared automatically inside Godot, so you can reference the classes with their names just like any other built-in class. (ex. FileUtils.get_files_in_directory("res://addons")
)
Singletons can be used selectively in a project, by adding them to the autoload list (Project > Project Settings > Autoload
) and referenced using the autoload/singleton name assigned (Default naming scheme for singletons is the PascalCase conversion of the filename, ex. PingService
)