記述例
screens.rpy
screen main_menu(): (省略) style_prefix "main_menu" if persistent.cheat == True or (persistent.inu_win == True and persistent.inu_lose == True and persistent.aya_win == True and persistent.aya_lose == True and persistent.kugu_win == True and persistent.kugu_lose == True): add "gui/main_menu2.webp" else: add gui.main_menu_background
\ 変数多過ぎ /
ゲームによりますが、ここまで多くはなくてもいいと思います。
ifの後にクリア後の変数などを添えて。コロンとインデントわすれないで。
add
スクリーン内で使うやつ。画像もテキストも表示できるもん大体追加できる。
スクリーンとスクリーン言語 — Ren'Py Documentation
gui.main_menu_backgroundはgui.rpyで設定したファイルの場所を参照する変数。
なんで変化後の画像をファイルのあるフォルダの場所参照addでまんまつっこむ。
よくわかってません。
完成図省略。