Код
init:
$ morning = Image("morning.png")
$ day = Image("day.png")
$ noon = Image("noon.png")
$ night = Image("night.png")
$ di = morning
$ dt = "Morning"
screen gameUI:
if dc == 0:
$ dt = "Morning [dc]"
add "#8404"
$ di = morning
elif dc == 1:
$ dt = "Day [dc]"
$ di = day
elif dc == 2:
$ dt = "Noon [dc]"
add "#0484"
$ di = noon
elif dc == 3:
$ dt = "Night [dc]"
add "#000b"
$ di = night
elif dc > 3:
$ dc = 0
# clock button
imagebutton:
xalign 1.0
yalign 0.0
xoffset -275
yoffset 20
idle "images/map_buttons/clock_i.png"
hover "images/map_buttons/clock_h.png"
action SetVariable("dc", dc + 1)
$ morning = Image("morning.png")
$ day = Image("day.png")
$ noon = Image("noon.png")
$ night = Image("night.png")
$ di = morning
$ dt = "Morning"
screen gameUI:
if dc == 0:
$ dt = "Morning [dc]"
add "#8404"
$ di = morning
elif dc == 1:
$ dt = "Day [dc]"
$ di = day
elif dc == 2:
$ dt = "Noon [dc]"
add "#0484"
$ di = noon
elif dc == 3:
$ dt = "Night [dc]"
add "#000b"
$ di = night
elif dc > 3:
$ dc = 0
# clock button
imagebutton:
xalign 1.0
yalign 0.0
xoffset -275
yoffset 20
idle "images/map_buttons/clock_i.png"
hover "images/map_buttons/clock_h.png"
action SetVariable("dc", dc + 1)
Как это победить? Я с RenPy только знакомлюсь)