Ren'Py memo

Ren'Pyの個人的なメモ

2023-10-29から1日間の記事一覧

立ち絵に複数のtransformを指定する

transform zoo: zoom 0.602 transform center: xalign 0.3 define list0 = [zoo, center] layeredimage 0: at list0 always "0_base" group a: attribute a1 default attribute a2

言語によって文章のスタイルを変更する

option renpy.register_style_preference("lang", "0", style.say_dialogue, "xsize",852) renpy.register_style_preference("lang", "1", style.say_dialogue, "xsize",840) screen textbutton _("日本語") action [Language(None), StylePreference("lang"…

ブラウザ版について

Web

参照 Web / HTML5 — Ren'Py Documentation 資料 Creating HTML/Web Builds (Last Tested with 7.5.1.22070801) - Ren'Py All-In-One GUI Template community - itch.io・progressive_download.txtについて ブラウザ版をビルドするとgameフォルダと同じ階層に…

画像ボタンの透過部分を押せるようにする

参照:スタイルのプロパティー — Ren'Py Documentation imagebutton action Skip() focus_mask None focus_maskはデフォルトがTrueですが、Trueの場合ボタンの透明領域もボタンの当たり判定がなくなります。画像ボタンが押しにくいと感じたらfocus_maskをNon…

セーブのmax表示を決める

参照 Ren’Py改造メモ(5) – akakyouryuu Screen Actions, Values, and Functions — Ren'Py Documentation for page in range(1, 9): textbutton "[page]" action FilePage(page) textbutton _(">") action FilePageNext(max=8, wrap=True) for page in range(…

ブラウザ版のスプラッシュ画像とかアイコンが反映されない

Web

gameフォルダの下ではなく、プロジェクトのフォルダに入れます。 gameフォルダなどと並んでいる所です。