I have 2 different gifs that I want to use as backgrounds (one during the day, one during the night).
I don’t see an option to use tags in the sequencer opacity setting to use #DISDAYTIME#… or maybe I’m not using it right.
Does anyone know how to let me use 1 gif as a background during the day and have it change to the other gif during the night?
Blockquote I have 2 different gifs that I want to use as backgrounds (one during the day, one during the night).
I don’t see an option to use tags in the sequencer opacity setting to use #DISDAYTIME#… or maybe I’m not using it right.
Does anyone know how to let me use 1 gif as a background during the day and have it change to the other gif during the night?
Blockquote
I just spent the last couple of days with the same issue. I was losing sleep and patience trying to get something to work. I ended up using 4 images in the end.
Daysky - this was just a normal image on the bottom layer.
Darksky- gave this one code in the opacity box to make it appear between dusk and dawn. $#DH#>=#WSH#||#DH#<#WRH#?100:0$
You could just leave it like that, with just the two images but I wanted a nice smooth transition as the sun sets.
So I duplicated the Darksky layer, renamed it sunset and set it to fade an hour before sunset. Code in opactiy box - $#DH#==(#WSH#-1)?(#Dm#/0.6):0$ Position it under the darksky layer.
For sunrise I duplicated the daysky layer, renamed it sunrise and put the following in the opacity- $#DH#==(#WRH#-1)?(#Dm#/0.6):0$
So your layers should be from bottom to top- daysky, sunset, darksky, sunrise.
I did the same thing with my foregrounds too, except I changed the timing of the nightscene to when the sun was going down.
But it doesn’t appear at all. I tried using Disdaytime, it also won’t work. I have the feeling that sequence doesn’t like conditionals when put in opacity. Same conditional works with image (sun.png) but Daytime sequence doesn’t appear
edit: oversaw the y=1000 in earlier post, put ($#DH#>=#WSH#||#DH#<#WRH#?-1000:160$) in y-axis and now it works. pity I can’t do any transitioning