[RenPy] 纯文本查看 复制代码 ## 在renpy文档搜索:Pixellate 或 Pixellate(time, steps)
define AAA_transition = Pixellate(1, 20)
## 定义图片
image BG1 = "images/BG1.png"
image BG2 = "images/BG2.png"
# 游戏在此开始。
label start:
scene BG1
"显示一张背景图"
show BG2
with pixellate
"默认 {a=https://www.renpy.cn/doc/transitions.html#var-pixellate}pixellate{/a} 像素化转场。"
with AAA_transition
show BG1
"可自定义参数 {a=https://www.renpy.cn/doc/transitions.html#Pixellate}Pixellate(time, steps){/a} 像素化转场"
# 此处为游戏结尾。
return |