So I've been working/trying/learning godot for a week now and i noticed that it lacks "actions" (for example fade out action. Set a timer, and over that timer the fadeout action would be performed). I've tried replacing it by using fixedprocess or _process to simulate timers by using delta, but that's not really clean. Also used the Timer node, but having multiple of those auto cleaning becomes tricky and it isn't a clean way to do it either.
So I got an idea to make some specific class that would have actions to work on and auto clean after. I have experience writing this kind of thing so writing it is no problem to me. My problem is:
Is there a smart way to include other script files?
Is there a way to make script files part of the core? (Kind of like everything else godot offers) Or do i have to work on the cpp side and recompile the entire engine?
How does load and preload work - exactly. I know load loads when you ask it to, and preload loads before the _ready() is called. But i'm curious when the preload starts? if i have a node that isn't yet added and it has a script that preloads, does the preload only happen when i add the node? If i have multiple nodes that preload the same file, does the same file preload multiple times? How stupid would it be to just use preload for some core helper functions? (Like actions i mentioned)