![見出し画像](https://assets.st-note.com/production/uploads/images/99583827/rectangle_large_type_2_04c406637342e0f6a9e0c0f3a330edfa.png?width=1200)
【ティラノビルダー】タイトル画面にコンフィグボタンを追加する方法
![](https://assets.st-note.com/production/uploads/images/99583623/picture_pc_f5912f1af7096aebecdef9ec65dddf2a.gif?width=1200)
ティラノビルダーでタイトル画面にコンフィグボタンを追加する方法について解説します。
①ラベルコンポーネントの配置
![](https://assets.st-note.com/img/1678066033456-OIs1MBGLjc.png?width=1200)
title_screen.ksを開き、ラベルコンポーネントを配置します。
今回は、ラベル名をconfigとしました。
②分岐ボタンコンポーネントの配置
![](https://assets.st-note.com/img/1678063457636-qfD53b7lKC.png?width=1200)
分岐ボタンコンポーネントを配置し、
ターゲットでラベルconfigを指定します。
③ティラノスクリプトコンポーネントの配置
![](https://assets.st-note.com/img/1678063715021-BE4Fhlaa6O.png?width=1200)
ティラノスクリプトコンポーネントを配置します。
![](https://assets.st-note.com/img/1678063848550-JNRKmkQOhJ.png?width=1200)
下記のコードを貼り付けます。
[sleepgame storage="config.ks"]
④ジャンプコンポーネントの配置
![](https://assets.st-note.com/img/1678064748646-o0bwmDPmnn.png?width=1200)
ジャンプコンポーネントを配置し、
ターゲットでラベルtitleを指定します。
これで、タイトル画面にコンフィグボタンを追加する方法は完了です。
以上で解説を終わります。おつかれさまでした。
【参考】UIテーマ一括変換を使用する場合
③の項目で貼り付けるコードを下記のコードに変更します。
ダークブルー(960×640)
[sleepgame storage="../others/plugin/theme_kopanda_01/config.ks"]
ダークブルーHD(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_01_HD/config.ks"]
デジタル(960×640)
[sleepgame storage="../others/plugin/theme_kopanda_02/config.ks"]
デジタルHD(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_02_HD/config.ks"]
カジュアル縦(640×960)
[sleepgame storage="../others/plugin/theme_kopanda_03a/config.ks"]
カジュアル縦(960×640)
[sleepgame storage="../others/plugin/theme_kopanda_03b/config.ks"]
カジュアル横HD(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_03_HD/config.ks"]
チョコレート(960×640)
[sleepgame storage="../others/plugin/theme_kopanda_04/config.ks"]
チョコレートHD(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_04_HD/config.ks"]
リボン(960×640)
[sleepgame storage="../others/plugin/theme_kopanda_05/config.ks"]
リボンHD(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_05_HD/config.ks"]
サイバー(960×640)
[sleepgame storage="../others/plugin/theme_kopanda_06/config.ks"]
サイバーHD(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_06_HD/config.ks"]
ライム(960×640)
[sleepgame storage="../others/plugin/theme_kopanda_07/config.ks"]
ライムHD(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_07_HD/config.ks"]
ボックス(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_08/config.ks"]
ヨーロピアン(写真)(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_09_1/config.ks"]
ヨーロピアン(シンプル)(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_09_2/config.ks"]
中世ファンタジー(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_10/config.ks"]
ブラックサイバー(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_11/config.ks"]
ペーパークラフト(640×960)
[sleepgame storage="../others/plugin/theme_kopanda_12/config.ks"]
エメラルドバブル(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_13/config.ks"]
シャイン(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_14/config.ks"]
さくら(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_15/config.ks"]
ガーデン(1280×720)
[sleepgame storage="../others/plugin/theme_kopanda_16/config.ks"]
ティラノフォレスト(960×640)
[sleepgame storage="../others/plugin/theme_tyrano_04/config.ks"]
ティラノブラウン(960×640)
[sleepgame storage="../others/plugin/theme_tyrano_05/config.ks"]
ティラノオーシャン(960×640)
[sleepgame storage="../others/plugin/theme_tyrano_default/config.ks"]
ティラノオーシャン_16:9(1280×720)
[sleepgame storage="../others/plugin/theme_tyrano_default_1280/config.ks"]