马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
[RenPy] 纯文本查看 复制代码 screen say(who, what):
style_prefix "say"
zorder 50
window:
id "window"
if who is not None:
window:
id "namebox"
style "namebox"
text who id "who"
if renpy.is_seen(ever = False): # ever 为false时对本次运行起效,此处需要对过去所有阅读起效
text what id "what" color "#efefef" outlines [(2, "#4f4f4f",absolute(0), absolute(0))]# 标记颜色
else:
text what id "what" color "#F5f5f5" outlines [(2, "#4f4f4f",absolute(0), absolute(0))] # 未读颜色
key "mousedown_4" action ShowMenu('history') # 鼠标滚轮打开历史记录
## If there's a side image, display it above the text. Do not display on the
## phone variant - there's no room.
if not renpy.variant("small"):
add SideImage() xalign 0.0 yalign 1.0
已实现向上打开历史记录
|