Ren'Py memo

Ren'Pyの個人的なメモ

2024-01-28から1日間の記事一覧

renpy.get_screenで表示している画面を取得して何かする

資料 https://ja.renpy.org/doc/html/screen_python.html#renpy.get_screen 例1 screen notify(message): zorder 100 if renpy.get_screen("main_menu") != None: style_prefix "title_notify" elif renpy.get_screen("nvl") == None: style_prefix "notify…

スクリーンをshowまたはhideした時にactionを起こす

資料 https://ja.renpy.org/doc/html/screens.html#on https://ja.renpy.org/doc/html/atl.html#external-events https://ja.renpy.org/doc/html/screen_actions.html 例1 screen help(): on "show" action SetVariable("persistent.last_menu", "help") 表…

2024/01/28時点の役立つかもしれないブックマーク

ブックマーク系 VNDEv Wiki vndev.wiki ビジュアルノベルに関するリソースと参考資料のリスト Visual Novel Assets, Tutorials, and Tools itch.io itch.ioにある素材(プラグイン・ツール含む)リスト ノベルゲームの最新素材を探すのであればこの方のコレ…

LayeredImageのコードを短縮するプラグイン

draida.itch.io 注意 Ver.8.00以上、pngとwebpの画像のみ対応 2024/01/28現在、ルートフォルダーに無いimageは使用できない→目パチなどでimageに直接transformを使用するLayeredImageには適さない sprite_imagesのエラーが出る場合、55行目辺りに_sprite_ima…