Godot 3.6.1
I have several utility tools that should be available anywhere in the project.
how and where is it better to create them, for better ease of access?
Godot 3.6.1
I have several utility tools that should be available anywhere in the project.
how and where is it better to create them, for better ease of access?
If you need acces to something from everyone, you can use singletons for that
I generally use global scripts for things like utility functions. I’ve got global scripts like PlaySound
, SaveFile
, Stats
, and so on, which lets me do:
if destroyed:
PlaySound.explosion()
Stats.mook_destroyed()
why are you using godot in 3.6 ?
godot 4 is worse and more difficult in some places than godot 3, I will wait for future global updates to think about the transition