moved from projectspark.com
toying around with one of my gamejam entries I came up with a neat way to gradually change the hue of your skybox.
this can be a handy tool for several things. Maybe you want to depict a more gradual sunset.
the Kode is very simple.
W:----D:[draw sphere][(color)Color variable]
W:[countdown timer][in frames][loop]D:[Color][hue][increment by][0.01]
W:[Color][hue][equal to or greater than]D:[color][hue][=]
the colors range from 0-1
both 1 and 0 are a reddish purple. with all other colors between. depending on where you start the loop you will get a different pallet.