on my quest of creating timers I need to get the first baby steps done. Is there any way how I can have something triggered on each OS-time-second?
I'm thinking of something like this:
var date_time = OS.get_datetime()
second = date_time.get("second")
This prints, but only once, so I wonder if there is something possible like "if second changes"...
(By the way, concerning
I always worry if
_process(delta) is doing something "all the time", like it prints
print ("xyz") on each frame unless there is no print...
It's as if the function is permanently checking if something is going on (using resources). But that's not the case, right? I'm asking because I have a clock running, updating each second, but if I add a print into the function it prints on each frame. Makes me nervous...)