Hello community,
I have integrated to my game the Rory's Night/Day Cycle.
So i would like to make an Time and Day Counter based on the this cycle, i have not in mind the mathematics algorythm for make it work ...
I think this cycle is based on 360° so 1 day = 360° = 24H = 360/24 = 15° = 1H ... If i have all understand if not it's a bad thing for me XD ...
So i would make something like this :
When hour is between 20 and 8 the night layer was at 90% opacity and then make it go like the rory's one ( 0 to 90 )
and set a text counter with Day/Hours/Minutes.
If someone have the solution a big thanks to him ^^.