2024-06-14 23:05:49 +00:00
|
|
|
init offset = -1
|
|
|
|
|
|
|
|
screen player(pos=(0.025, 0.2)):
|
|
|
|
layer "interface"
|
|
|
|
zorder 8
|
|
|
|
|
|
|
|
style_prefix "player"
|
|
|
|
|
|
|
|
# Note: We cannot use a VBOX here because it breaks with bouncing text.
|
|
|
|
frame style "empty":
|
|
|
|
pos pos
|
|
|
|
|
2024-06-15 16:02:56 +00:00
|
|
|
text _("{bounce}Currently Playing{/bounce}")
|
2024-06-14 23:05:49 +00:00
|
|
|
bar value AudioPositionValue() ypos 20
|
|
|
|
text "[renpy.music.get_playing()!i]" style "player_text_title" ypos 40
|
|
|
|
|
|
|
|
style player_vbox:
|
|
|
|
xfill False
|
|
|
|
yfill False
|
|
|
|
fit_first False
|
|
|
|
ysize 100
|
|
|
|
yspacing 0
|
|
|
|
|
|
|
|
style player_text:
|
|
|
|
color "#fff"
|
|
|
|
outlines [(2, "#000000", 1, 1)]
|
|
|
|
hinting "bytecode"
|
|
|
|
size 24
|
|
|
|
|
|
|
|
style player_text_title is player_text:
|
|
|
|
size 10
|
|
|
|
|
|
|
|
style player_bar is empty:
|
|
|
|
xmaximum 280
|
|
|
|
ysize 20
|
|
|
|
left_bar Frame(Image("gui/creamy_pumpkin_pie/player/player_bar_full.png", oversample=4), tile=False)
|
|
|
|
right_bar Frame(Image("gui/creamy_pumpkin_pie/player/player_bar_empty.png", oversample=4), tile=False)
|