Hello.
I want to have a function in my game that add points every second. but always active doesn't matter what scene are instancied.
func addPoint():
points += 5
so i'm guessing this is a job for a singleton.
but how can i run this every second? can't have a timer on a singleton,
any ideas?