Files
ProjectGenes/game/screens/popup/notify.rpy
2026-10-13 08:10:59 +00:00

44 lines
1.0 KiB
Plaintext

style notify_text is interface_text
style notify_frame is interface_frame
style notify_bar is interface_bar
style notify_vbar is interface_vbar
style notify_scrollbar is interface_scrollbar
style notify_vscrollbar is interface_vscrollbar
style notify_slider is interface_slider
style notify_button is interface_button
style notify_button_text is interface_button_text
style notify_label is interface_label
style notify_label_text is interface_label_text
screen notify(message):
zorder 100
style_prefix "notify"
frame:
ysize 120
pos (40, 20)
xminimum 500
xmaximum 700
padding (40, 2)
text "[message!tq]":
size 47
align (0.5, 0.5)
color gui.accent_color
bold True
at gui.transforms.notify_transform
timer 3.25 action Hide('notify')
transform gui.transforms.notify_transform:
xalign .02 yalign .015
on show:
alpha 0
linear .25 alpha 1.0
on hide:
linear .5 alpha 0.0