Hello everyone,
I'd like to setup a real time 24 hour day night cycle by taking the current time (from a 24 hr clock but maybe it's easier with a 12 hr clock) and syncing it with how dark/light the layout should be.
I found an example of a day/night cycle using sine https://www.scirra.com/forum/day-to-night-cycle_t72435?start=20
which I've used as a base (because I believe that's how F.Lux works) but I haven't been able to figure out how plug in my in game clock and have it work.
I read in the manual that sine works in degrees, but I'm working with seconds and have no idea how to convert that into the Period of sine, if that's even what I should be doing...