[RenPy] 纯文本查看 复制代码 screen say(who, what):
style_prefix "say"
window:
id "window"
if who == "李一":
background Frame("gui/textbox_a.png",
gui.namebox_borders, tile=gui.namebox_tile, xalign=gui.name_xalign)
if who is not None:
window:
id "namebox"
style "namebox"
text who id "who" color "#fff" outlines [ (3, "#000") ] size 40
text what id "what" color "#fff" outlines [ (3, "#000") ]
## 如果有侧边图像,会将其显示在文本之上。请不要在手机界面下显示这个,因为没
## 有空间。
if not renpy.variant("small"):
add SideImage() xalign 0.0 yalign 1.0 |