forked from SilverStudioGames/WTS
solid colors and gradients
This commit is contained in:
parent
01126edc4e
commit
133c2a41ec
@ -1,31 +1,42 @@
|
|||||||
screen blkfade():
|
image blkfade = "#000"
|
||||||
tag blkfade
|
define config.tag_layer["blkfade"] = "screens"
|
||||||
zorder 25
|
define config.tag_zorder["blkfade"] = 25
|
||||||
add Color("#000")
|
# show screen blkfade -> show blkfade
|
||||||
|
# hide screen blkfade -> hide blkfade
|
||||||
|
|
||||||
screen whitefade():
|
image whitefade = "#fff"
|
||||||
tag whitefade
|
define config.tag_layer["whitefade"] = "screens"
|
||||||
zorder 25
|
define config.tag_zorder["whitefade"] = 25
|
||||||
add Color("#fff")
|
# show screen whitefade -> show whitefade
|
||||||
|
# hide screen whitefade -> hide whitefade
|
||||||
|
|
||||||
screen blktone(alpha=0.5):
|
image blktone = "#0008"
|
||||||
tag blktone
|
define config.tag_layer["blktone"] = "screens"
|
||||||
zorder 14
|
define config.tag_zorder["blktone"] = 14
|
||||||
add Color("#000", alpha=alpha)
|
# show screen blktone -> show blktone
|
||||||
|
# hide screen blktone -> hide blktone
|
||||||
|
# (the parameter was never actually passed, so the alpha was always .5)
|
||||||
|
# to have arbitrary alpha,
|
||||||
|
# show screen blktone(.725) -> show blkfade at Transform(alpha=.725) as blktone
|
||||||
|
# I *think* that puts it at zorder 14
|
||||||
|
|
||||||
screen white():
|
image white = "#fff"
|
||||||
zorder 20
|
define config.tag_layer["white"] = "screens"
|
||||||
add Color("#fff")
|
define config.tag_zorder["white"] = 20
|
||||||
|
# show screen white -> show white
|
||||||
|
# hide screen white -> hide white
|
||||||
|
|
||||||
screen bld1():
|
image bld1 = "interface/bld.webp"
|
||||||
zorder 10
|
define config.tag_layer["bld1"] = "screens"
|
||||||
tag bld1
|
define config.tag_zorder["bld1"] = 10
|
||||||
|
# show screen bld1 -> show bld1
|
||||||
|
# hide screen bld1 -> hide bld1
|
||||||
|
|
||||||
add "interface/bld.webp"
|
image bld2 = Transform("interface/bld.webp", yzoom=-1.0)
|
||||||
|
define config.tag_layer["bld2"] = "screens"
|
||||||
screen bld2():
|
define config.tag_zorder["bld2"] = 10
|
||||||
zorder 10
|
# show screen bld2 -> show bld2
|
||||||
add Transform("interface/bld.webp", yzoom=-1.0)
|
# hide screen bld2 -> hide bld2
|
||||||
|
|
||||||
screen notes():
|
screen notes():
|
||||||
add "notes" xpos 320+140 ypos 330
|
add "notes" xpos 320+140 ypos 330
|
||||||
|
Loading…
Reference in New Issue
Block a user