This tutorial is made to be used as a base to bring forth day and night cycles in construct. The clock in determined by global variables, so it's fairly simple to use them when when for example changing the opacity of darkness.
It's easier to understand if you look at the cap.x file.
so i'm going to leave it here, if you have any questions or wonder how exactly it can used, please send me a message!
"Crazy is just another word for creative"