WTS/game/scripts/gui/player.rpy

38 lines
957 B
Plaintext
Raw Normal View History

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
text _("{bounce}Currently Playing{/bounce}")
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), 24, 0, tile=False)
right_bar Frame(Image("gui/creamy_pumpkin_pie/player/player_bar_empty.png", oversample=4), 24, 0, tile=False)