Compare commits
No commits in common. "c2e9c6debc34b05a4199a2bec59352b2a0617ad0" and "8d33aeca8b707dcb01900ec6b719c60725943aac" have entirely different histories.
c2e9c6debc
...
8d33aeca8b
BIN
game/gui/creamy_pumpkin_pie/choice_alt.png
(Stored with Git LFS)
BIN
game/gui/creamy_pumpkin_pie/choice_alt.png
(Stored with Git LFS)
Binary file not shown.
@ -43,7 +43,7 @@ transform gui_modal_popup:
|
|||||||
on show:
|
on show:
|
||||||
zoom 0.0
|
zoom 0.0
|
||||||
alpha 0.0
|
alpha 0.0
|
||||||
easein_back 0.4 zoom 1.0 alpha 1.0
|
easein_back 0.5 zoom 1.0 alpha 1.0
|
||||||
on hide:
|
on hide:
|
||||||
easeout_back 0.4 zoom 0.0 alpha 0.0
|
easeout_back 0.4 zoom 0.0 alpha 0.0
|
||||||
|
|
||||||
@ -55,6 +55,7 @@ style frame is empty:
|
|||||||
xfill False
|
xfill False
|
||||||
yfill False
|
yfill False
|
||||||
padding (50, 10)
|
padding (50, 10)
|
||||||
|
# background Frame(Image("gui/creamy_pumpkin_pie/window_bottom.png", oversample=4), 8, 8, 8, 75, tile=False)
|
||||||
background Frame(Image("gui/creamy_pumpkin_pie/window_frame.png", oversample=4), 50, 100, 50, 75, tile=False)
|
background Frame(Image("gui/creamy_pumpkin_pie/window_frame.png", oversample=4), 50, 100, 50, 75, tile=False)
|
||||||
|
|
||||||
style frame_vbox:
|
style frame_vbox:
|
||||||
@ -78,9 +79,4 @@ style frame_text is what:
|
|||||||
color "#fff"
|
color "#fff"
|
||||||
outlines [(1, "#000000", 1, 1)]
|
outlines [(1, "#000000", 1, 1)]
|
||||||
hinting "bytecode"
|
hinting "bytecode"
|
||||||
size 12
|
size 12
|
||||||
|
|
||||||
style frame_button is button:
|
|
||||||
hover_background Frame(Image("gui/creamy_pumpkin_pie/choice_alt.png", oversample=4), 0, 4, 0, 4, tile=False)
|
|
||||||
style frame_button_text is choice_text:
|
|
||||||
align (0.5, 0.5)
|
|
File diff suppressed because it is too large
Load Diff
@ -3,12 +3,9 @@
|
|||||||
|
|
||||||
init python:
|
init python:
|
||||||
def convert_tags_to_kwargs(contents):
|
def convert_tags_to_kwargs(contents):
|
||||||
kwargs = {"style": "what"}
|
kwargs = {}
|
||||||
for kind, text in contents:
|
for kind, text in contents:
|
||||||
if kind == renpy.TEXT_TAG:
|
if kind == renpy.TEXT_TAG:
|
||||||
if text.startswith("="):
|
|
||||||
kwargs["style"] = text.split("=")[1]
|
|
||||||
|
|
||||||
if text.startswith("color="):
|
if text.startswith("color="):
|
||||||
kwargs["color"] = text.split("=")[1]
|
kwargs["color"] = text.split("=")[1]
|
||||||
|
|
||||||
@ -23,7 +20,6 @@ init python:
|
|||||||
|
|
||||||
if text == "i":
|
if text == "i":
|
||||||
kwargs["italics"] = True
|
kwargs["italics"] = True
|
||||||
|
|
||||||
return kwargs
|
return kwargs
|
||||||
|
|
||||||
@renpy.pure
|
@renpy.pure
|
||||||
@ -58,7 +54,7 @@ init python:
|
|||||||
end_pause = len(text)/100.0
|
end_pause = len(text)/100.0
|
||||||
for i, letter in enumerate(text):
|
for i, letter in enumerate(text):
|
||||||
start_pause = i/100.0
|
start_pause = i/100.0
|
||||||
d = At(Text(letter, **kwargs), wave_text(start_pause, end_pause))
|
d = At(Text(letter, style="what", **kwargs), wave_text(start_pause, end_pause))
|
||||||
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
||||||
else:
|
else:
|
||||||
rv.append((kind, text))
|
rv.append((kind, text))
|
||||||
@ -73,7 +69,7 @@ init python:
|
|||||||
end_pause = len(text)/100.0
|
end_pause = len(text)/100.0
|
||||||
for i, letter in enumerate(text):
|
for i, letter in enumerate(text):
|
||||||
start_pause = i/100.0
|
start_pause = i/100.0
|
||||||
d = At(Text(letter, **kwargs), bounce_text(start_pause, end_pause))
|
d = At(Text(letter, style="what", **kwargs), bounce_text(start_pause, end_pause))
|
||||||
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
||||||
else:
|
else:
|
||||||
rv.append((kind, text))
|
rv.append((kind, text))
|
||||||
@ -86,7 +82,7 @@ init python:
|
|||||||
for kind, text in contents:
|
for kind, text in contents:
|
||||||
if kind == renpy.TEXT_TEXT:
|
if kind == renpy.TEXT_TEXT:
|
||||||
for i, letter in enumerate(text):
|
for i, letter in enumerate(text):
|
||||||
d = At(Text(letter, **kwargs), shake_text)
|
d = At(Text(letter, style="what", **kwargs), shake_text)
|
||||||
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
||||||
else:
|
else:
|
||||||
rv.append((kind, text))
|
rv.append((kind, text))
|
||||||
@ -98,7 +94,7 @@ init python:
|
|||||||
kwargs = convert_tags_to_kwargs(contents)
|
kwargs = convert_tags_to_kwargs(contents)
|
||||||
for kind, text in contents:
|
for kind, text in contents:
|
||||||
if kind == renpy.TEXT_TEXT:
|
if kind == renpy.TEXT_TEXT:
|
||||||
d = At(Text(text, **kwargs), pulse_text)
|
d = At(Text(text, style="what", **kwargs), pulse_text)
|
||||||
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
||||||
else:
|
else:
|
||||||
rv.append((kind, text))
|
rv.append((kind, text))
|
||||||
@ -110,7 +106,7 @@ init python:
|
|||||||
kwargs = convert_tags_to_kwargs(contents)
|
kwargs = convert_tags_to_kwargs(contents)
|
||||||
for kind, text in contents:
|
for kind, text in contents:
|
||||||
if kind == renpy.TEXT_TEXT:
|
if kind == renpy.TEXT_TEXT:
|
||||||
d = At(Text(text, **kwargs), shudder_text)
|
d = At(Text(text, style="what", **kwargs), shudder_text)
|
||||||
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
||||||
else:
|
else:
|
||||||
rv.append((kind, text))
|
rv.append((kind, text))
|
||||||
@ -122,7 +118,7 @@ init python:
|
|||||||
kwargs = convert_tags_to_kwargs(contents)
|
kwargs = convert_tags_to_kwargs(contents)
|
||||||
for kind, text in contents:
|
for kind, text in contents:
|
||||||
if kind == renpy.TEXT_TEXT:
|
if kind == renpy.TEXT_TEXT:
|
||||||
d = Transform(At(Text(text, **kwargs), flip_text), pos=(240, -2))
|
d = Transform(At(Text(text, style="what", **kwargs), flip_text), pos=(240, -2))
|
||||||
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
||||||
else:
|
else:
|
||||||
rv.append((kind, text))
|
rv.append((kind, text))
|
||||||
@ -135,7 +131,7 @@ init python:
|
|||||||
for kind, text in contents:
|
for kind, text in contents:
|
||||||
if kind == renpy.TEXT_TEXT:
|
if kind == renpy.TEXT_TEXT:
|
||||||
for i, letter in enumerate(text):
|
for i, letter in enumerate(text):
|
||||||
d = Transform(At(Text(letter, **kwargs), rotate_text), pos=(240, -2))
|
d = Transform(At(Text(letter, style="what", **kwargs), rotate_text), pos=(240, -2))
|
||||||
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
rv.append((renpy.TEXT_DISPLAYABLE, d))
|
||||||
else:
|
else:
|
||||||
rv.append((kind, text))
|
rv.append((kind, text))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user