diff --git a/data/bgimage/title.jpg b/data/bgimage/title.jpg old mode 100644 new mode 100755 index b54759c3..00ecfc97 Binary files a/data/bgimage/title.jpg and b/data/bgimage/title.jpg differ diff --git a/data/image/button/Thumbs.db b/data/image/button/Thumbs.db deleted file mode 100644 index 4a166e6b..00000000 Binary files a/data/image/button/Thumbs.db and /dev/null differ diff --git a/data/image/button/auto.png b/data/image/button/auto.png old mode 100644 new mode 100755 index 30ff7ed4..e2ea94da Binary files a/data/image/button/auto.png and b/data/image/button/auto.png differ diff --git a/data/image/button/auto2.png b/data/image/button/auto2.png old mode 100644 new mode 100755 index 027ecc81..c4e7fc75 Binary files a/data/image/button/auto2.png and b/data/image/button/auto2.png differ diff --git a/data/image/button/close.png b/data/image/button/close.png old mode 100644 new mode 100755 index 13b95ea9..3310c9a0 Binary files a/data/image/button/close.png and b/data/image/button/close.png differ diff --git a/data/image/button/close2.png b/data/image/button/close2.png old mode 100644 new mode 100755 index bb126c88..35a53b7d Binary files a/data/image/button/close2.png and b/data/image/button/close2.png differ diff --git a/data/image/button/load.png b/data/image/button/load.png old mode 100644 new mode 100755 index 164395e4..8634915d Binary files a/data/image/button/load.png and b/data/image/button/load.png differ diff --git a/data/image/button/load2.png b/data/image/button/load2.png old mode 100644 new mode 100755 index f57ee92b..2f777f3f Binary files a/data/image/button/load2.png and b/data/image/button/load2.png differ diff --git a/data/image/button/log.png b/data/image/button/log.png old mode 100644 new mode 100755 index 362e367b..30dccd71 Binary files a/data/image/button/log.png and b/data/image/button/log.png differ diff --git a/data/image/button/log2.png b/data/image/button/log2.png old mode 100644 new mode 100755 index 875f3f52..2e27a43f Binary files a/data/image/button/log2.png and b/data/image/button/log2.png differ diff --git a/data/image/button/menu.png b/data/image/button/menu.png old mode 100644 new mode 100755 index 51bcde62..2081d04d Binary files a/data/image/button/menu.png and b/data/image/button/menu.png differ diff --git a/data/image/button/menu2.png b/data/image/button/menu2.png old mode 100644 new mode 100755 index 1b185566..0e0a2be5 Binary files a/data/image/button/menu2.png and b/data/image/button/menu2.png differ diff --git a/data/image/button/qload.png b/data/image/button/qload.png old mode 100644 new mode 100755 index 8b3c283c..9a8e8695 Binary files a/data/image/button/qload.png and b/data/image/button/qload.png differ diff --git a/data/image/button/qload2.png b/data/image/button/qload2.png old mode 100644 new mode 100755 index 2690f4f0..222e34de Binary files a/data/image/button/qload2.png and b/data/image/button/qload2.png differ diff --git a/data/image/button/qsave.png b/data/image/button/qsave.png old mode 100644 new mode 100755 index 340c9703..67de819f Binary files a/data/image/button/qsave.png and b/data/image/button/qsave.png differ diff --git a/data/image/button/qsave2.png b/data/image/button/qsave2.png old mode 100644 new mode 100755 index 99760112..6431f1d8 Binary files a/data/image/button/qsave2.png and b/data/image/button/qsave2.png differ diff --git a/data/image/button/save.png b/data/image/button/save.png old mode 100644 new mode 100755 index 45c8b941..524936e3 Binary files a/data/image/button/save.png and b/data/image/button/save.png differ diff --git a/data/image/button/save2.png b/data/image/button/save2.png old mode 100644 new mode 100755 index b4a612d9..d8efe556 Binary files a/data/image/button/save2.png and b/data/image/button/save2.png differ diff --git a/data/image/button/screen.png b/data/image/button/screen.png old mode 100644 new mode 100755 index b1d5d91e..abdc1ddd Binary files a/data/image/button/screen.png and b/data/image/button/screen.png differ diff --git a/data/image/button/screen2.png b/data/image/button/screen2.png old mode 100644 new mode 100755 index 6a914978..a8aa5c72 Binary files a/data/image/button/screen2.png and b/data/image/button/screen2.png differ diff --git a/data/image/button/skip.png b/data/image/button/skip.png old mode 100644 new mode 100755 index fd3e7a8b..946ab7d9 Binary files a/data/image/button/skip.png and b/data/image/button/skip.png differ diff --git a/data/image/button/skip2.png b/data/image/button/skip2.png old mode 100644 new mode 100755 index e34fb324..20846dc2 Binary files a/data/image/button/skip2.png and b/data/image/button/skip2.png differ diff --git a/data/image/button/sleep.png b/data/image/button/sleep.png old mode 100644 new mode 100755 index 27970a9a..e7a71758 Binary files a/data/image/button/sleep.png and b/data/image/button/sleep.png differ diff --git a/data/image/button/sleep2.png b/data/image/button/sleep2.png old mode 100644 new mode 100755 index e6e28d0c..3b08fc03 Binary files a/data/image/button/sleep2.png and b/data/image/button/sleep2.png differ diff --git a/data/image/button/title.png b/data/image/button/title.png old mode 100644 new mode 100755 index 96921503..8988495d Binary files a/data/image/button/title.png and b/data/image/button/title.png differ diff --git a/data/image/button/title2.png b/data/image/button/title2.png old mode 100644 new mode 100755 index b596299b..3ce70b00 Binary files a/data/image/button/title2.png and b/data/image/button/title2.png differ diff --git a/data/image/config/arrow_next.png b/data/image/config/arrow_next.png old mode 100644 new mode 100755 diff --git a/data/image/config/arrow_prev.png b/data/image/config/arrow_prev.png old mode 100644 new mode 100755 diff --git a/data/image/config/bg_config.jpg b/data/image/config/bg_config.jpg old mode 100644 new mode 100755 diff --git a/data/image/config/bg_config.png b/data/image/config/bg_config.png new file mode 100755 index 00000000..e4b87db4 Binary files /dev/null and b/data/image/config/bg_config.png differ diff --git a/data/image/config/button_unread_off.png b/data/image/config/button_unread_off.png old mode 100644 new mode 100755 diff --git a/data/image/config/button_unread_on.png b/data/image/config/button_unread_on.png old mode 100644 new mode 100755 diff --git a/data/image/config/c_btn.gif b/data/image/config/c_btn.gif new file mode 100755 index 00000000..106b9570 Binary files /dev/null and b/data/image/config/c_btn.gif differ diff --git a/data/image/config/c_btn.png b/data/image/config/c_btn.png old mode 100644 new mode 100755 diff --git a/data/image/config/c_btn_back.png b/data/image/config/c_btn_back.png old mode 100644 new mode 100755 index aadcb79f..5265cc1c Binary files a/data/image/config/c_btn_back.png and b/data/image/config/c_btn_back.png differ diff --git a/data/image/config/c_btn_back2.png b/data/image/config/c_btn_back2.png old mode 100644 new mode 100755 index 15194de2..d81c971c Binary files a/data/image/config/c_btn_back2.png and b/data/image/config/c_btn_back2.png differ diff --git a/data/image/config/c_set.png b/data/image/config/c_set.png old mode 100644 new mode 100755 index 377751ec..31535173 Binary files a/data/image/config/c_set.png and b/data/image/config/c_set.png differ diff --git a/data/image/config/c_skipoff.png b/data/image/config/c_skipoff.png new file mode 100755 index 00000000..5f1900bb Binary files /dev/null and b/data/image/config/c_skipoff.png differ diff --git a/data/image/config/c_skipon.png b/data/image/config/c_skipon.png new file mode 100755 index 00000000..191eeb4a Binary files /dev/null and b/data/image/config/c_skipon.png differ diff --git a/data/image/config/c_uts_off.png b/data/image/config/c_uts_off.png old mode 100644 new mode 100755 diff --git a/data/image/config/c_uts_on.png b/data/image/config/c_uts_on.png old mode 100644 new mode 100755 diff --git a/data/image/config/label_cg.png b/data/image/config/label_cg.png old mode 100644 new mode 100755 diff --git a/data/image/config/label_config.png b/data/image/config/label_config.png old mode 100644 new mode 100755 diff --git a/data/image/config/label_recollection.png b/data/image/config/label_recollection.png old mode 100644 new mode 100755 diff --git a/data/image/config/menu_button_close.png b/data/image/config/menu_button_close.png old mode 100644 new mode 100755 diff --git a/data/image/config/menu_button_close2.png b/data/image/config/menu_button_close2.png old mode 100644 new mode 100755 diff --git a/data/image/config/message_box.png b/data/image/config/message_box.png old mode 100644 new mode 100755 diff --git a/data/image/frame.png b/data/image/frame.png old mode 100644 new mode 100755 index 8017e05d..b66ddd67 Binary files a/data/image/frame.png and b/data/image/frame.png differ diff --git a/data/image/title/button_cg.png b/data/image/title/button_cg.png old mode 100644 new mode 100755 index 20585583..48f040cf Binary files a/data/image/title/button_cg.png and b/data/image/title/button_cg.png differ diff --git a/data/image/title/button_cg2.png b/data/image/title/button_cg2.png new file mode 100755 index 00000000..e4b5b77b Binary files /dev/null and b/data/image/title/button_cg2.png differ diff --git a/data/image/title/button_cg3.png b/data/image/title/button_cg3.png new file mode 100755 index 00000000..e4a3a07b Binary files /dev/null and b/data/image/title/button_cg3.png differ diff --git a/data/image/title/button_config.png b/data/image/title/button_config.png old mode 100644 new mode 100755 index d36ecc2f..e6b2b0f8 Binary files a/data/image/title/button_config.png and b/data/image/title/button_config.png differ diff --git a/data/image/title/button_config2.png b/data/image/title/button_config2.png new file mode 100755 index 00000000..c3710f48 Binary files /dev/null and b/data/image/title/button_config2.png differ diff --git a/data/image/title/button_config3.png b/data/image/title/button_config3.png new file mode 100755 index 00000000..cf3a467f Binary files /dev/null and b/data/image/title/button_config3.png differ diff --git a/data/image/title/button_load.png b/data/image/title/button_load.png old mode 100644 new mode 100755 index 321cf9dd..e07b9ab0 Binary files a/data/image/title/button_load.png and b/data/image/title/button_load.png differ diff --git a/data/image/title/button_load2.png b/data/image/title/button_load2.png new file mode 100755 index 00000000..3f338ecf Binary files /dev/null and b/data/image/title/button_load2.png differ diff --git a/data/image/title/button_load3.png b/data/image/title/button_load3.png new file mode 100755 index 00000000..2e859ab5 Binary files /dev/null and b/data/image/title/button_load3.png differ diff --git a/data/image/title/button_replay.png b/data/image/title/button_replay.png old mode 100644 new mode 100755 index 9daa0031..a4519d98 Binary files a/data/image/title/button_replay.png and b/data/image/title/button_replay.png differ diff --git a/data/image/title/button_replay2.png b/data/image/title/button_replay2.png new file mode 100755 index 00000000..316224ba Binary files /dev/null and b/data/image/title/button_replay2.png differ diff --git a/data/image/title/button_replay3.png b/data/image/title/button_replay3.png new file mode 100755 index 00000000..f049788b Binary files /dev/null and b/data/image/title/button_replay3.png differ diff --git a/data/image/title/button_start.png b/data/image/title/button_start.png old mode 100644 new mode 100755 index 708a441d..6e5cdb72 Binary files a/data/image/title/button_start.png and b/data/image/title/button_start.png differ diff --git a/data/image/title/button_start2.png b/data/image/title/button_start2.png new file mode 100755 index 00000000..55a1a12a Binary files /dev/null and b/data/image/title/button_start2.png differ diff --git a/data/image/title/button_start3.png b/data/image/title/button_start3.png new file mode 100755 index 00000000..5c6b7768 Binary files /dev/null and b/data/image/title/button_start3.png differ diff --git a/data/scenario/cg.ks b/data/scenario/cg.ks index 4a0f8465..5b3a9273 100644 --- a/data/scenario/cg.ks +++ b/data/scenario/cg.ks @@ -26,7 +26,7 @@ [layopt layer=1 visible=true] [cm] -[button graphic="config/menu_button_close.png" enterimg="config/menu_button_close2.png" target="*backtitle" x=820 y=20 ] +[button graphic="config/menu_button_close.png" enterimg="config/menu_button_close2.png" target="*backtitle" x=1150 y=40 ] [iscript] tf.tmp_index = 0; diff --git a/data/scenario/config.ks b/data/scenario/config.ks index dbec3e9d..cb3b130c 100644 --- a/data/scenario/config.ks +++ b/data/scenario/config.ks @@ -1,152 +1,180 @@ -; ティラノスクリプト標準テーマプラグイン - ;========================================= ; コンフィグ モード 画面作成 ;========================================= -; メッセージレイヤ0を不可視に - [layopt layer=message0 visible=false] -; fixボタン消し +; メッセージレイヤ0を不可視に + [layopt layer="message0" visible="false"] + +; fixボタンをクリア [clearfix] - -;ゲーム中に効果が設定されている場合は無効 -[free_layermode time=0 ] -[reset_camera time=0] - -; イメージ消去 -[iscript] -$(".layer_camera").empty(); -[endscript] +; キーコンフィグの無効化 + [stop_keyconfig] + +; レイヤーモードの解放 + [free_layermode time="100" wait="true"] + +; カメラのリセット + [reset_camera time="100" wait="true"] + +; 前景レイヤの中身をすべて空に + [iscript] + $(".layer_camera").empty(); + [endscript] ; メニューボタン非表示 [hidemenubutton] -[iscript] + [iscript] - tf.current_bgm_vol=parseInt(TG.config.defaultBgmVolume); - tf.current_se_vol=parseInt(TG.config.defaultSeVolume); - - tf.current_ch_speed=parseInt(TG.config.chSpeed); - tf.current_auto_speed=parseInt(TG.config.autoSpeed); + TG.config.autoRecordLabel = "true"; // ラベル通過記録を有効に + + tf.current_bgm_vol = parseInt(TG.config.defaultBgmVolume); // BGM音量 + tf.current_se_vol = parseInt(TG.config.defaultSeVolume); // SE音量 - tf.text_skip ="ON"; + tf.current_ch_speed = parseInt(TG.config.chSpeed); // テキスト表示速度 + tf.current_auto_speed = parseInt(TG.config.autoSpeed); // オート時のテキスト表示速度 + tf.text_skip ="ON"; // 未読スキップ if(TG.config.unReadTextSkip != "true"){ tf.text_skip ="OFF"; - } + } -[endscript] + tf.user_setting = TG.config.alreadyReadTextColor; + if(tf.user_setting != 'default'){ + TG.config.alreadyReadTextColor = 'default'; // 一時的に既読テキストの文字色を変更しないようにしています + } + + [endscript] + + [iscript] -; レイヤ1を可視に - [layopt layer=1 visible=true] + /* 画像類のパス */ + tf.img_path = '../image/config/'; + + /* 画像類のパス(ボタン) */ + tf.btn_path_off = tf.img_path + 'c_btn.gif'; + tf.btn_path_on = tf.img_path + 'c_set.png'; + + // ボタン画像の幅と高さ + tf.btn_w = 46; // 幅 + tf.btn_h = 46; // 高さ + + // ボタンを表示する座標(tf.config_y_ch[0]とtf.config_y_auto[0]は未使用) + tf.config_x = [1040, 400, 454, 508, 562, 616, 670, 724, 778, 832, 886]; // X座標(共通) + + tf.config_y_bgm = 190; // BGMのY座標 + tf.config_y_se = 250; // SEのY座標 + tf.config_y_ch = 325; // テキスト速度のY座標 + tf.config_y_auto = 385; // オート速度のY座標 + + // 上記の配列変数の添字を格納しておく変数。選択した音量や速度に対応。 + tf.config_num_bgm; // BGM + tf.config_num_se; // SE + tf.config_num_ch; // テキスト速度 + tf.config_num_auto; // オート速度 + + // テキスト速度のサンプルテキストとして表示する文字列(お好みに合わせて変更してください) + tf.text_sample = 'テストメッセージです。このスピードでテキストが表示されます。'; + + // サンプルテキストを表示しておく時間(テキストを表示し終わってから700ミリ秒で消去させています) + tf.text_sample_speed; + + // 既読スキップの画像ファイル名を格納しておく変数 + tf.img_unread_skip; + + [endscript] [cm] ; コンフィグ用の背景を読み込んでトランジション - [bg storage="../../tyrano/images/system/bg_config.jpg" time=100] + [bg storage="&tf.img_path +'bg_config.png'" time="100"] ; 画面右上の「Back」ボタン - [button graphic="config/c_btn_back.png" fix=true enterimg="config/c_btn_back2.png" target="*backtitle" x=840 y=20] + [button fix="true" graphic="&tf.img_path + 'c_btn_back.png'" enterimg="&tf.img_path + 'c_btn_back2.png'" target="*backtitle" x="1160" y="20"] [jump target="*config_page"] -*config_page - -;かなり横長なスクリプトになってしまったのでマクロにしたほうがスッキリします -;c_btn.png は 4×4px の完全透明な画像です。width.heightを使って拡大しています -;一部のスマホブラウザでは音量変更に対応していないのでご留意ください +*config_page ;------------------------------------------------------------------------------------------------------ -;▼BGM音量 +; BGM音量 ;------------------------------------------------------------------------------------------------------ -;BGM音量-10 -[button name="bgmvol,bgmvol_10" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=300 y=170 exp="tf.current_bgm_vol=10"] -;BGM音量-20 -[button name="bgmvol,bgmvol_20" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=340 y=170 exp="tf.current_bgm_vol=20"] -;BGM音量-30 -[button name="bgmvol,bgmvol_30" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=380 y=170 exp="tf.current_bgm_vol=30"] -;BGM音量-40 -[button name="bgmvol,bgmvol_40" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=420 y=170 exp="tf.current_bgm_vol=40"] -;BGM音量-50 -[button name="bgmvol,bgmvol_50" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=460 y=170 exp="tf.current_bgm_vol=50"] -;BGM音量-60 -[button name="bgmvol,bgmvol_60" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=500 y=170 exp="tf.current_bgm_vol=60"] -;BGM音量-70 -[button name="bgmvol,bgmvol_70" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=540 y=170 exp="tf.current_bgm_vol=70"] -;BGM音量-80 -[button name="bgmvol,bgmvol_80" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=580 y=170 exp="tf.current_bgm_vol=80"] -;BGM音量-90 -[button name="bgmvol,bgmvol_90" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=620 y=170 exp="tf.current_bgm_vol=90"] -;BGM音量-100 -[button name="bgmvol,bgmvol_100" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=660 y=170 exp="tf.current_bgm_vol=100"] - -;BGM音量-ミュート(音量=0) -[button name="bgmvol,bgmvol_0" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=780 y=170 exp="tf.current_bgm_vol=0"] - + [button name="bgmvol,bgmvol_10" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[1]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 10; tf.config_num_bgm = 1"] + [button name="bgmvol,bgmvol_20" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[2]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 20; tf.config_num_bgm = 2"] + [button name="bgmvol,bgmvol_30" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[3]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 30; tf.config_num_bgm = 3"] + [button name="bgmvol,bgmvol_40" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[4]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 40; tf.config_num_bgm = 4"] + [button name="bgmvol,bgmvol_50" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[5]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 50; tf.config_num_bgm = 5"] + [button name="bgmvol,bgmvol_60" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[6]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 60; tf.config_num_bgm = 6"] + [button name="bgmvol,bgmvol_70" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[7]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 70; tf.config_num_bgm = 7"] + [button name="bgmvol,bgmvol_80" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[8]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 80; tf.config_num_bgm = 8"] + [button name="bgmvol,bgmvol_90" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[9]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 90; tf.config_num_bgm = 9"] + [button name="bgmvol,bgmvol_100" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[10]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 100; tf.config_num_bgm = 10"] + +; BGMミュート + [button name="bgmvol,bgmvol_0" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[0]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 0; tf.config_num_bgm = 0"] ;------------------------------------------------------------------------------------------------------ -;▼SE音量 +; SE音量 ;------------------------------------------------------------------------------------------------------ -[button name="sevol,sevol_10" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=300 y=220 exp="tf.current_se_vol=10"] -[button name="sevol,sevol_20" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=340 y=220 exp="tf.current_se_vol=20"] -[button name="sevol,sevol_30" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=380 y=220 exp="tf.current_se_vol=30"] -[button name="sevol,sevol_40" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=420 y=220 exp="tf.current_se_vol=40"] -[button name="sevol,sevol_50" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=460 y=220 exp="tf.current_se_vol=50"] -[button name="sevol,sevol_60" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=500 y=220 exp="tf.current_se_vol=60"] -[button name="sevol,sevol_70" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=540 y=220 exp="tf.current_se_vol=70"] -[button name="sevol,sevol_80" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=580 y=220 exp="tf.current_se_vol=80"] -[button name="sevol,sevol_90" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=620 y=220 exp="tf.current_se_vol=90"] -[button name="sevol,sevol_100" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=660 y=220 exp="tf.current_se_vol=100"] - -;SEミュート -[button name="sevol,sevol_0" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=780 y=220 exp="tf.current_se_vol=0"] + [button name="sevol,sevol_10" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[1]" y="&tf.config_y_se" exp="tf.current_se_vol = 10; tf.config_num_se = 1"] + [button name="sevol,sevol_20" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[2]" y="&tf.config_y_se" exp="tf.current_se_vol = 20; tf.config_num_se = 2"] + [button name="sevol,sevol_30" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[3]" y="&tf.config_y_se" exp="tf.current_se_vol = 30; tf.config_num_se = 3"] + [button name="sevol,sevol_40" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[4]" y="&tf.config_y_se" exp="tf.current_se_vol = 40; tf.config_num_se = 4"] + [button name="sevol,sevol_50" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[5]" y="&tf.config_y_se" exp="tf.current_se_vol = 50; tf.config_num_se = 5"] + [button name="sevol,sevol_60" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[6]" y="&tf.config_y_se" exp="tf.current_se_vol = 60; tf.config_num_se = 6"] + [button name="sevol,sevol_70" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[7]" y="&tf.config_y_se" exp="tf.current_se_vol = 70; tf.config_num_se = 7"] + [button name="sevol,sevol_80" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[8]" y="&tf.config_y_se" exp="tf.current_se_vol = 80; tf.config_num_se = 8"] + [button name="sevol,sevol_90" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[9]" y="&tf.config_y_se" exp="tf.current_se_vol = 90; tf.config_num_se = 9"] + [button name="sevol,sevol_100" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[10]" y="&tf.config_y_se" exp="tf.current_se_vol = 100; tf.config_num_se = 10"] + +; SEミュート + [button name="sevol,sevol_0" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[0]" y="&tf.config_y_se" exp="tf.current_se_vol = 0; tf.config_num_se = 0"] ;------------------------------------------------------------------------------------------------------ -;▼テキスト速度 +; テキスト速度 ;------------------------------------------------------------------------------------------------------ -[button name="ch,ch_100" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=100" graphic="config/c_btn.png" width=35 height=35 x=300 y=290] -[button name="ch,ch_80" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=80" graphic="config/c_btn.png" width=35 height=35 x=340 y=290] -[button name="ch,ch_50" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=50" graphic="config/c_btn.png" width=35 height=35 x=380 y=290] -[button name="ch,ch_40" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=40" graphic="config/c_btn.png" width=35 height=35 x=420 y=290] -[button name="ch,ch_30" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=30" graphic="config/c_btn.png" width=35 height=35 x=460 y=290] -[button name="ch,ch_25" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=25" graphic="config/c_btn.png" width=35 height=35 x=500 y=290] -[button name="ch,ch_20" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=20" graphic="config/c_btn.png" width=35 height=35 x=540 y=290] -[button name="ch,ch_11" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=11" graphic="config/c_btn.png" width=35 height=35 x=580 y=290] -[button name="ch,ch_8" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=8" graphic="config/c_btn.png" width=35 height=35 x=620 y=290] -[button name="ch,ch_5" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=5" graphic="config/c_btn.png" width=35 height=35 x=660 y=290] + [button name="ch,ch_100" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[1]" y="&tf.config_y_ch" exp="tf.set_ch_speed =100; tf.config_num_ch = 0"] + [button name="ch,ch_80" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[2]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 80; tf.config_num_ch = 1"] + [button name="ch,ch_50" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[3]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 50; tf.config_num_ch = 2"] + [button name="ch,ch_40" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[4]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 40; tf.config_num_ch = 3"] + [button name="ch,ch_30" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[5]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 30; tf.config_num_ch = 4"] + [button name="ch,ch_25" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[6]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 25; tf.config_num_ch = 5"] + [button name="ch,ch_20" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[7]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 20; tf.config_num_ch = 6"] + [button name="ch,ch_11" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[8]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 11; tf.config_num_ch = 7"] + [button name="ch,ch_8" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[9]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 8; tf.config_num_ch = 8"] + [button name="ch,ch_5" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[10]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 5; tf.config_num_ch = 9"] ;------------------------------------------------------------------------------------------------------ -;▼オート速度 +; オート速度 ;------------------------------------------------------------------------------------------------------ -[button fix="true" name="auto,auto_5000" target="*auto_speed_change" exp="tf.set_auto_speed=5000;tf.text_auto=0" graphic="config/c_btn.png" width=35 height=35 x=300 y=340] -[button fix="true" name="auto,auto_4500" target="*auto_speed_change" exp="tf.set_auto_speed=4500;tf.text_auto=1" graphic="config/c_btn.png" width=35 height=35 x=340 y=340] -[button fix="true" name="auto,auto_4000" target="*auto_speed_change" exp="tf.set_auto_speed=4000;tf.text_auto=2" graphic="config/c_btn.png" width=35 height=35 x=380 y=340] -[button fix="true" name="auto,auto_3500" target="*auto_speed_change" exp="tf.set_auto_speed=3500;tf.text_auto=3" graphic="config/c_btn.png" width=35 height=35 x=420 y=340] -[button fix="true" name="auto,auto_3000" target="*auto_speed_change" exp="tf.set_auto_speed=3000;tf.text_auto=4" graphic="config/c_btn.png" width=35 height=35 x=460 y=340] -[button fix="true" name="auto,auto_2500" target="*auto_speed_change" exp="tf.set_auto_speed=2500;tf.text_auto=5" graphic="config/c_btn.png" width=35 height=35 x=500 y=340] -[button fix="true" name="auto,auto_2000" target="*auto_speed_change" exp="tf.set_auto_speed=2000;tf.text_auto=6" graphic="config/c_btn.png" width=35 height=35 x=540 y=340] -[button fix="true" name="auto,auto_1300" target="*auto_speed_change" exp="tf.set_auto_speed=1300;tf.text_auto=7" graphic="config/c_btn.png" width=35 height=35 x=580 y=340] -[button fix="true" name="auto,auto_800" target="*auto_speed_change" exp="tf.set_auto_speed=800;tf.text_auto=8" graphic="config/c_btn.png" width=35 height=35 x=620 y=340] -[button fix="true" name="auto,auto_500" target="*auto_speed_change" exp="tf.set_auto_speed=500;tf.text_auto=9" graphic="config/c_btn.png" width=35 height=35 x=660 y=340] + [button name="auto,auto_5000" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[1]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 5000; tf.config_num_auto = 0"] + [button name="auto,auto_4500" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[2]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 4500; tf.config_num_auto = 1"] + [button name="auto,auto_4000" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[3]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 4000; tf.config_num_auto = 2"] + [button name="auto,auto_3500" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[4]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 3500; tf.config_num_auto = 3"] + [button name="auto,auto_3000" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[5]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 3000; tf.config_num_auto = 4"] + [button name="auto,auto_2500" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[6]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 2500; tf.config_num_auto = 5"] + [button name="auto,auto_2000" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[7]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 2000; tf.config_num_auto = 6"] + [button name="auto,auto_1300" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[8]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 1300; tf.config_num_auto = 7"] + [button name="auto,auto_800" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[9]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 800; tf.config_num_auto = 8"] + [button name="auto,auto_500" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[10]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 500; tf.config_num_auto = 9"] ;------------------------------------------------------------------------------------------------------ -;▼未読スキップ +; 未読スキップ ;------------------------------------------------------------------------------------------------------ -; 未読スキップ-OFF -[button name="unread_off" fix="true" target="*skip_off" graphic="config/c_btn.png" width=125 height=35 x=300 y=420] -; 未読スキップ-ON -[button name="unread_on" fix="true" target="*skip_on" graphic="config/c_btn.png" width=125 height=35 x=435 y=420] + +; 未読スキップ-OFF + [button name="unread_off" fix="true" target="*skip_off" graphic="&tf.btn_path_off" width="170" height="45" x="400" y="470"] + +; 未読スキップ-ON + [button name="unread_on" fix="true" target="*skip_on" graphic="&tf.btn_path_off" width="170" height="45" x="580" y="470"] ;------------------------------------------------------------------------------------------------------ -;▼コンフィグ起動時の画面更新 +; コンフィグ起動時の画面更新 ;------------------------------------------------------------------------------------------------------ -; BGM音量・SE音量・テキスト速度・オート速度・未読スキップの順 -; $(セレクタ).attr("src","画像ファイルの場所"); -;※画像差し替え版を使用するときは c_set.gif を c_set.png に書き換えてね + [iscript] -[iscript] $(".bgmvol_"+tf.current_bgm_vol).attr("src","data/image/config/c_set.png"); $(".sevol_"+tf.current_se_vol).attr("src","data/image/config/c_set.png"); @@ -156,122 +184,316 @@ $(".layer_camera").empty(); $(".auto_"+tf.current_auto_speed).attr("src","data/image/config/c_set.png"); if(tf.text_skip == 'OFF'){ - $(".unread_off").attr("src","data/image/config/c_uts_off.png"); + $(".unread_off").attr("src","./data/image/config/c_skipoff.png"); }else{ - $(".unread_on").attr("src","data/image/config/c_uts_on.png"); + $(".unread_on").attr("src","./data/image/config/c_skipon.png"); } -[endscript] + [endscript] [s] ;-------------------------------------------------------------------------------- -; タイトルに戻る +; コンフィグモードの終了 ;-------------------------------------------------------------------------------- *backtitle +[cm] -[iscript] -tf.flag_back=$(".message1_fore").css("display"); -[endscript] + [iscript] + TG.config.alreadyReadTextColor = tf.user_setting; // 既読テキストの文字色を復帰 + [endscript] -[if exp="tf.flag_back=='none'"] +; テキスト速度のサンプル表示に使用していたメッセージレイヤを非表示に + [layopt layer="message1" visible="false"] -[cm] -[layopt layer=message1 visible=false] -[freeimage layer=1] -[clearfix] -;コンフィグの呼び出しに sleepgame を使っているので、必ず awakegame で戻してやってください -[awakegame] +; fixボタンをクリア + [clearfix] -[endif] +; キーコンフィグの有効化 + [start_keyconfig] -[return] +; コールスタックのクリア + [clearstack] +; ゲーム復帰 + [awakegame] -;=================================================== +;================================================================================ -;★ボタンクリック時の処理 +; ボタンクリック時の処理 -;=================================================== +;================================================================================ ;-------------------------------------------------------------------------------- -;▼BGM音量 +; BGM音量 ;-------------------------------------------------------------------------------- *vol_bgm_change + [iscript] $(".bgmvol").attr("src","data/image/config/c_btn.png"); $(".bgmvol_"+tf.current_bgm_vol).attr("src","data/image/config/c_set.png"); [endscript] + [bgmopt volume="&tf.current_bgm_vol"] + [return] ;-------------------------------------------------------------------------------- -;▼SE音量 +; SE音量 ;-------------------------------------------------------------------------------- *vol_se_change + [iscript] $(".sevol").attr("src","data/image/config/c_btn.png"); $(".sevol_"+tf.current_se_vol).attr("src","data/image/config/c_set.png"); [endscript] + [seopt volume="&tf.current_se_vol"] + [return] ;--------------------------------------------------------------------------------- -;▼テキスト速度 +; テキスト速度 ;-------------------------------------------------------------------------------- *ch_speed_change -[iscript] + + [iscript] + $(".ch").attr("src","data/image/config/c_btn.png"); $(".ch_"+tf.set_ch_speed).attr("src","data/image/config/c_set.png"); -[endscript] -[configdelay speed="&tf.set_ch_speed"] + tf.current_ch_speed = tf.set_ch_speed; + + [endscript] + + [configdelay speed="&tf.set_ch_speed"] + +; テキスト表示速度のサンプルに使用するメッセージレイヤの設定 + [position layer="message1" left="90" top="580" width="1100" height="100" margint="2" marginl="30" page="fore" visible="true" opacity="0"] + [layopt layer="message1" visible="true"] + [current layer="message1"] -; テキスト速度サンプル - [position layer=message1 left=40 top=490 width=880 height=110 page=fore visible=true opacity=0] - [layopt layer=message1 visible=true] - [current layer=message1] - [font color="0x454D51"] - このスピードで表示されます +; サンプルテキストを表示する + [emb exp="tf.text_sample"] [iscript] - tf.system.backlog.pop(); // 上の「このスピードで表示されます」のテキストを履歴から削除 + $(".current_span").css("color","#66564C"); // サンプルテキストのフォントカラーを指定 + tf.system.backlog.pop(); // サンプルテキストを履歴から削除(nolog~endnologタグと同じです) [endscript] - [wait time=2000] +; 待ち時間をテキスト速度とサンプルの文字数に対応(消えるのが早すぎるときは後ろの数字を好きなだけ増やそう) + [eval exp="tf.text_sample_speed = tf.set_ch_speed * tf.text_sample.length + 700"] + [wait time="&tf.text_sample_speed"] + [er] - [layopt layer=message1 visible=false] - [return] + [layopt layer="message1" visible="false"] + +[return] ;-------------------------------------------------------------------------------- -;▼オート速度 +; オート速度 ;-------------------------------------------------------------------------------- *auto_speed_change -[iscript] + + [iscript] + $(".auto").attr("src","data/image/config/c_btn.png"); $(".auto_"+tf.set_auto_speed).attr("src","data/image/config/c_set.png"); -[endscript] -[autoconfig speed="&tf.set_auto_speed"] + + [endscript] + [autoconfig speed="&tf.set_auto_speed"] + [return] ;-------------------------------------------------------------------------------- -;▼スキップ処理-OFF +; スキップ処理-OFF ;-------------------------------------------------------------------------------- *skip_off -[iscript] - $(".unread_off").attr("src","data/image/config/c_uts_off.png"); - $(".unread_on").attr("src","data/image/config/c_btn.png"); - tf.text_skip="OFF"; -[endscript] -[config_record_label skip=false] + + [iscript] + $(".unread_off").attr("src","./data/image/config/c_skipoff.png"); + $(".unread_on").attr("src","./data/image/config/c_btn.gif"); + tf.text_skip = "OFF"; + [endscript] + + [config_record_label skip="false"] + [return] ;-------------------------------------------------------------------------------- -;▼スキップ処理-ON +; スキップ処理-ON ;-------------------------------------------------------------------------------- *skip_on -[iscript] - $(".unread_off").attr("src","data/image/config/c_btn.png"); - $(".unread_on").attr("src","data/image/config/c_uts_on.png"); - tf.text_skip="ON"; -[endscript] -[config_record_label skip=true] + + [iscript] + $(".unread_off").attr("src","./data/image/config/c_btn.gif"); + $(".unread_on").attr("src","./data/image/config/c_skipon.png"); + tf.text_skip = "ON"; + [endscript] + + [config_record_label skip="true"] + [return] +;================================================================================ + +; サブルーチン + +;================================================================================ +;-------------------------------------------------------------------------------- + +; BGM更新 + +;-------------------------------------------------------------------------------- +*icon_bgm + + [iscript] + + // 設定した音量によって色付き画像の表示・非表示を切替える + + $( ".bgm_img_0").css( "visibility", tf.config_num_bgm == 0 ? 'visible' : 'hidden' ); + $( ".bgm_img_1").css( "visibility", tf.config_num_bgm > 0 ? 'visible' : 'hidden' ); + $( ".bgm_img_2").css( "visibility", tf.config_num_bgm > 1 ? 'visible' : 'hidden' ); + $( ".bgm_img_3").css( "visibility", tf.config_num_bgm > 2 ? 'visible' : 'hidden' ); + $( ".bgm_img_4").css( "visibility", tf.config_num_bgm > 3 ? 'visible' : 'hidden' ); + $( ".bgm_img_5").css( "visibility", tf.config_num_bgm > 4 ? 'visible' : 'hidden' ); + $( ".bgm_img_6").css( "visibility", tf.config_num_bgm > 5 ? 'visible' : 'hidden' ); + $( ".bgm_img_7").css( "visibility", tf.config_num_bgm > 6 ? 'visible' : 'hidden' ); + $( ".bgm_img_8").css( "visibility", tf.config_num_bgm > 7 ? 'visible' : 'hidden' ); + $( ".bgm_img_9").css( "visibility", tf.config_num_bgm > 8 ? 'visible' : 'hidden' ); + $(".bgm_img_10").css( "visibility", tf.config_num_bgm > 9 ? 'visible' : 'hidden' ); + + [endscript] + +[return] + +;-------------------------------------------------------------------------------- + +; SE更新 + +;-------------------------------------------------------------------------------- +*icon_se + + [iscript] + + $(".se_img_0").css( "visibility", tf.config_num_se == 0 ? 'visible' : 'hidden'); + $(".se_img_1").css( "visibility", tf.config_num_se > 0 ? 'visible' : 'hidden'); + $(".se_img_2").css( "visibility", tf.config_num_se > 1 ? 'visible' : 'hidden'); + $(".se_img_3").css( "visibility", tf.config_num_se > 2 ? 'visible' : 'hidden'); + $(".se_img_4").css( "visibility", tf.config_num_se > 3 ? 'visible' : 'hidden'); + $(".se_img_5").css( "visibility", tf.config_num_se > 4 ? 'visible' : 'hidden'); + $(".se_img_6").css( "visibility", tf.config_num_se > 5 ? 'visible' : 'hidden'); + $(".se_img_7").css( "visibility", tf.config_num_se > 6 ? 'visible' : 'hidden'); + $(".se_img_8").css( "visibility", tf.config_num_se > 7 ? 'visible' : 'hidden'); + $(".se_img_9").css( "visibility", tf.config_num_se > 8 ? 'visible' : 'hidden'); + $(".se_img_10").css("visibility", tf.config_num_se > 9 ? 'visible' : 'hidden'); + + [endscript] + +[return] + +;-------------------------------------------------------------------------------- + +; テキスト速度更新 + +;-------------------------------------------------------------------------------- +*icon_ch + + [iscript] + + $(".ch_img_1").css( "visibility", tf.config_num_ch >= 0 ? 'visible' : 'hidden'); + $(".ch_img_2").css( "visibility", tf.config_num_ch > 0 ? 'visible' : 'hidden'); + $(".ch_img_3").css( "visibility", tf.config_num_ch > 1 ? 'visible' : 'hidden'); + $(".ch_img_4").css( "visibility", tf.config_num_ch > 2 ? 'visible' : 'hidden'); + $(".ch_img_5").css( "visibility", tf.config_num_ch > 3 ? 'visible' : 'hidden'); + $(".ch_img_6").css( "visibility", tf.config_num_ch > 4 ? 'visible' : 'hidden'); + $(".ch_img_7").css( "visibility", tf.config_num_ch > 5 ? 'visible' : 'hidden'); + $(".ch_img_8").css( "visibility", tf.config_num_ch > 6 ? 'visible' : 'hidden'); + $(".ch_img_9").css( "visibility", tf.config_num_ch > 7 ? 'visible' : 'hidden'); + $(".ch_img_10").css("visibility", tf.config_num_ch > 8 ? 'visible' : 'hidden'); + + [endscript] + +[return] + +;-------------------------------------------------------------------------------- + +; オート速度更新 + +;-------------------------------------------------------------------------------- +*icon_auto + + [iscript] + + $(".auto_img_1").css( "visibility", tf.config_num_auto >= 0 ? 'visible' : 'hidden'); + $(".auto_img_2").css( "visibility", tf.config_num_auto > 0 ? 'visible' : 'hidden'); + $(".auto_img_3").css( "visibility", tf.config_num_auto > 1 ? 'visible' : 'hidden'); + $(".auto_img_4").css( "visibility", tf.config_num_auto > 2 ? 'visible' : 'hidden'); + $(".auto_img_5").css( "visibility", tf.config_num_auto > 3 ? 'visible' : 'hidden'); + $(".auto_img_6").css( "visibility", tf.config_num_auto > 4 ? 'visible' : 'hidden'); + $(".auto_img_7").css( "visibility", tf.config_num_auto > 5 ? 'visible' : 'hidden'); + $(".auto_img_8").css( "visibility", tf.config_num_auto > 6 ? 'visible' : 'hidden'); + $(".auto_img_9").css( "visibility", tf.config_num_auto > 7 ? 'visible' : 'hidden'); + $(".auto_img_10").css("visibility", tf.config_num_auto > 8 ? 'visible' : 'hidden'); + + [endscript] + +[return] + +;================================================================================ + +; 画像の読み込み(コンフィグ画面の起動時のみコール) + +;================================================================================ +*load_img + + [layopt layer="0" visible="true"] + +; BGM + [image layer="0" name="bgm_img_0" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[0]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_1" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[1]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_2" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[2]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_3" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[3]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_4" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[4]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_5" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[5]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_6" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[6]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_7" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[7]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_8" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[8]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_9" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[9]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_10" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[10]" y="&tf.config_y_bgm"] + +; SE + [image layer="0" name="se_img_0" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[0]" y="&tf.config_y_se"] + [image layer="0" name="se_img_1" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[1]" y="&tf.config_y_se"] + [image layer="0" name="se_img_2" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[2]" y="&tf.config_y_se"] + [image layer="0" name="se_img_3" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[3]" y="&tf.config_y_se"] + [image layer="0" name="se_img_4" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[4]" y="&tf.config_y_se"] + [image layer="0" name="se_img_5" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[5]" y="&tf.config_y_se"] + [image layer="0" name="se_img_6" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[6]" y="&tf.config_y_se"] + [image layer="0" name="se_img_7" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[7]" y="&tf.config_y_se"] + [image layer="0" name="se_img_8" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[8]" y="&tf.config_y_se"] + [image layer="0" name="se_img_9" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[9]" y="&tf.config_y_se"] + [image layer="0" name="se_img_10" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[10]" y="&tf.config_y_se"] + +; テキスト速度 + [image layer="0" name="ch_img_1" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[1]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_2" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[2]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_3" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[3]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_4" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[4]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_5" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[5]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_6" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[6]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_7" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[7]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_8" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[8]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_9" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[9]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_10" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[10]" y="&tf.config_y_ch"] + +; オート速度 + [image layer="0" name="auto_img_1" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[1]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_2" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[2]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_3" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[3]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_4" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[4]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_5" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[5]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_6" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[6]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_7" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[7]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_8" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[8]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_9" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[9]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_10" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[10]" y="&tf.config_y_auto"] + +[return] diff --git a/data/scenario/replay.ks b/data/scenario/replay.ks index a3f797d5..0f429e25 100644 --- a/data/scenario/replay.ks +++ b/data/scenario/replay.ks @@ -24,7 +24,7 @@ *replaypage [cm] -[button graphic="config/menu_button_close.png" enterimg="config/menu_button_close2.png" target="*backtitle" x=820 y=20 ] +[button graphic="config/menu_button_close.png" enterimg="config/menu_button_close2.png" target="*backtitle" x=1150 y=40 ] [iscript] tf.target_page = "page_"+tf.page; diff --git a/data/scenario/scene1.ks b/data/scenario/scene1.ks index f9e7f077..e033408e 100644 --- a/data/scenario/scene1.ks +++ b/data/scenario/scene1.ks @@ -13,7 +13,7 @@ @showmenubutton ;メッセージウィンドウの設定 -[position layer="message0" left=20 top=400 width=920 height=200 page=fore visible=true] +[position layer="message0" left=160 top=500 width=1000 height=200 page=fore visible=true] ;文字が表示される領域を調整 [position layer=message0 page=fore margint="45" marginl="50" marginr="70" marginb="60"] @@ -23,7 +23,7 @@ @layopt layer=message0 visible=true ;キャラクターの名前が表示される文字領域 -[ptext name="chara_name_area" layer="message0" color="white" size=24 x=50 y=410] +[ptext name="chara_name_area" layer="message0" color="white" size=28 bold=true x=180 y=510] ;上記で定義した領域がキャラクターの名前表示であることを宣言(これがないと#の部分でエラーになります) [chara_config ptext="chara_name_area"] @@ -64,9 +64,9 @@ #あかね もしかして、ノベルゲームの開発に興味があるの?[p] -[glink color="blue" storage="scene1.ks" size="20" x="260" width="400" y="100" text="はい。興味あります" target="*selectinterest" ] -[glink color="blue" storage="scene1.ks" size="20" x="260" width="400" y="170" text="興味あります!" target="*selectinterest" ] -[glink color="blue" storage="scene1.ks" size="20" x="260" width="400" y="240" text="どちらかと言うと興味あり" target="*selectinterest" ] +[glink color="blue" storage="scene1.ks" size="28" x="360" width="500" y="150" text="はい。興味あります" target="*selectinterest" ] +[glink color="blue" storage="scene1.ks" size="28" x="360" width="500" y="250" text="興味あります!" target="*selectinterest" ] +[glink color="blue" storage="scene1.ks" size="28" x="360" width="500" y="350" text="どちらかと言うと興味あり" target="*selectinterest" ] [s ] *selectinterest @@ -177,7 +177,7 @@ AppStoreやGooglePlayに向けてアプリ化して販売することもでき ;メッセージを全画面に切り替え -[position layer="message0" left=20 top=40 width=920 height=560 page=fore visible=true ] +[position layer="message0" left=20 top=40 width=1200 height=660 page=fore visible=true ] どうかな? 物語をじっくり読ませたい場合はこの方式が便利ですね[l][r] ティラノスクリプトは非常に強力で、柔軟な表現が可能です。[l][cm] @@ -216,17 +216,20 @@ AppStoreやGooglePlayに向けてアプリ化して販売することもでき [font color="0x454D51"] [deffont color="0x454D51"] -;名前の表示位置も変更 -[free name="chara_name_area" layer="message0"] -[position layer=message0 width=960 height=210 top=430 left=0] -[position layer=message0 page=fore frame="frame.png" margint="45" marginl="50" marginr="70" marginb="60" opacity=230 ] +;名前部分のメッセージレイヤ削除 +[free name="chara_name_area" layer="message0"] +;メッセージウィンドウの設定 +[position layer="message0" width="1280" height="210" top="510" left="0"] +[position layer="message0" frame="frame.png" margint="50" marginl="100" marginr="100" opacity="230" page="fore"] ;名前枠の設定 -[ptext name="chara_name_area" layer="message0" color="0xFAFAFA" size=24 x=40 y=435] +[ptext name="chara_name_area" layer="message0" color="0xFAFAFA" size="28" bold="true" x="100" y="514"] [chara_config ptext="chara_name_area"] + + どうかな?[p] ゲームに合わせて自分の好きなデザインを作ってくださいね[p] @@ -237,41 +240,45 @@ AppStoreやGooglePlayに向けてアプリ化して販売することもでき @hidemenubutton ;ロールボタン追加;;;;;;;;;;;;;; - -[button name="role_button" role="skip" graphic="button/skip.png" enterimg="button/skip2.png" x=35 y=610] -; オート -[button name="role_button" role="auto" graphic="button/auto.png" enterimg="button/auto2.png" x=110 y=610] -; セーブ -[button name="role_button" role="save" graphic="button/save.png" enterimg="button/save2.png" x=185 y=610] +; ロールボタン配置 + +;クイックセーブボタン +[button name="role_button" role="quicksave" graphic="button/qsave.png" enterimg="button/qsave2.png" x="40" y="690"] + +;クイックロードボタン +[button name="role_button" role="quickload" graphic="button/qload.png" enterimg="button/qload2.png" x="140" y="690"] + +;セーブボタン +[button name="role_button" role="save" graphic="button/save.png" enterimg="button/save2.png" x="240" y="690"] -;ロード -[button name="role_button" role="load" graphic="button/load.png" enterimg="button/load2.png" x=260 y=610] +;ロードボタン +[button name="role_button" role="load" graphic="button/load.png" enterimg="button/load2.png" x="340" y="690"] -;クイックセーブ -[button name="role_button" role="quicksave" graphic="button/qsave.png" enterimg="button/qsave2.png" x=335 y=610] +;オートボタン +[button name="role_button" role="auto" graphic="button/auto.png" enterimg="button/auto2.png" x="440" y="690"] -;クイックロード -[button name="role_button" role="quickload" graphic="button/qload.png" enterimg="button/qload2.png" x=410 y=610] +;スキップボタン +[button name="role_button" role="skip" graphic="button/skip.png" enterimg="button/skip2.png" x="540" y="690"] -;バックログ -[button name="role_button" role="backlog" graphic="button/log.png" enterimg="button/log2.png" x=485 y=610] +;バックログボタン +[button name="role_button" role="backlog" graphic="button/log.png" enterimg="button/log2.png" x="640" y="690"] -;メッセージウィンドウ非表示 -[button name="role_button" role="window" graphic="button/close.png" enterimg="button/close2.png" x=560 y=610] +;フルスクリーン切替ボタン +[button name="role_button" role="fullscreen" graphic="button/screen.png" enterimg="button/screen2.png" x="740" y="690"] -;フルスクリーン切替 -[button name="role_button" role="fullscreen" graphic="button/screen.png" enterimg="button/screen2.png" x=635 y=610] +;コンフィグボタン(※sleepgame を使用して config.ks を呼び出しています) +[button name="role_button" role="sleepgame" graphic="button/sleep.png" enterimg="button/sleep2.png" storage="config.ks" x="840" y="690"] -;メニュー呼び出し(※ロールボタンを使うなら不要) -[button name="role_button" role="menu" graphic="button/menu.png" enterimg="button/menu2.png" x=710 y=610] +;メニュー呼び出しボタン(※ロールボタンを使うなら不要) +[button name="role_button" role="menu" graphic="button/menu.png" enterimg="button/menu2.png" x="940" y="690"] -;コンフィグ(※sleepgame を使用して config.ks を呼び出しています) -[button name="role_button" role="sleepgame" graphic="button/sleep.png" enterimg="button/sleep2.png" x=785 y=610 storage="config.ks"] +;メッセージウィンドウ非表示ボタン +[button name="role_button" role="window" graphic="button/close.png" enterimg="button/close2.png" x="1040" y="690"] -;タイトルに戻る -[button name="role_button" role="title" graphic="button/title.png" enterimg="button/title2.png" x=860 y=610] +;タイトルに戻るボタン +[button name="role_button" role="title" graphic="button/title.png" enterimg="button/title2.png" x="1140" y="690"] ;;ロールボタン追加終わり diff --git a/data/scenario/title.ks b/data/scenario/title.ks index 98c8b16d..75aa922c 100644 --- a/data/scenario/title.ks +++ b/data/scenario/title.ks @@ -7,11 +7,11 @@ *start -[button x=100 y=250 graphic="title/button_start.png" target="gamestart"] -[button x=100 y=320 graphic="title/button_load.png" role="load" ] -[button x=100 y=390 graphic="title/button_cg.png" storage="cg.ks" ] -[button x=100 y=460 graphic="title/button_replay.png" storage="replay.ks" ] -[button x=100 y=530 graphic="title/button_config.png" role="sleepgame" storage="config.ks" ] +[button x=135 y=230 graphic="title/button_start.png" enterimg="title/button_start2.png" target="gamestart"] +[button x=135 y=320 graphic="title/button_load.png" enterimg="title/button_load2.png" role="load" ] +[button x=135 y=410 graphic="title/button_cg.png" enterimg="title/button_cg2.png" storage="cg.ks" ] +[button x=135 y=500 graphic="title/button_replay.png" enterimg="title/button_replay2.png" storage="replay.ks" ] +[button x=135 y=590 graphic="title/button_config.png" enterimg="title/button_config2.png" role="sleepgame" storage="config.ks" ] [s] diff --git a/data/system/Config.tjs b/data/system/Config.tjs index 4f85b5cb..7b1ce6fc 100644 --- a/data/system/Config.tjs +++ b/data/system/Config.tjs @@ -1,7 +1,7 @@ // Config.tjs - ティラノスクリプト 設定 // Copyright (C) 2012-2017 ShikemokuMK -;global.config_version = "4.50"; // この行を消さないでください +;global.config_version = "5.00"; // この行を消さないでください // ティラノスクリプトの基本設定になります。 // 吉里吉里で動かす場合は同一フォルダ内のKirikiri_Config.tjs を使用して下さい @@ -56,8 +56,16 @@ // ◆ 画面サイズ // scWidth に画面の幅、scHeight に画面の高さをピクセル単位で指定します。 -;scWidth = 960; -;scHeight = 640; +;scWidth = 1280; +;scHeight = 720; + +// ◆ チャットノベル形式 +// V5より。trueにするとチャットストーリー形式でゲームがプレイできます。 +;vchat = false; + +// ◆ チャットノベル形式のメニュー +// チャットノベルで便利なセーブやロードなどを備えたメニューを表示するか否か。 +;vchatMenuVisible = false; // ◆ 文字表示スピード // delay で指定した場合はその値が優先されます。resetdelayで元に戻ります @@ -184,7 +192,7 @@ ;unReadTextSkip = false   //既読のテキストの色(0x000000形式)を変更できます。default を指定すると既読テキストでも色は変わりません。 -;alreadyReadTextColor = 0x87cefa +;alreadyReadTextColor = default // ◆ 初期状態の前景レイヤの数 // 必要なければ 0 を指定してかまいません。 @@ -287,7 +295,7 @@ // ◆ 文字の大きさ // デフォルトの文字の大きさ ( 高さ ) を pixel 単位で指定します。 -;defaultFontSize = 24; // deffont タグの size 属性に相当 +;defaultFontSize = 28; // deffont タグの size 属性に相当 // ◆ 行間 @@ -308,7 +316,7 @@ // userFace の設定を変更し、適用したい場合はシステム変数ファイル // カンマで区切って複数のフォントを指定することができます。その場合は、最初 // の方に書いたフォントが存在すれば、優先されます。 -;userFace = メイリオ,sans-serif; // deffont タグの face 属性に相当 +;userFace = Quicksand, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif, Arial; // ◆ 文字の色 diff --git a/release/master_tyrano/data/image/button/Thumbs.db b/release/master_tyrano/data/image/button/Thumbs.db deleted file mode 100644 index 4a166e6b..00000000 Binary files a/release/master_tyrano/data/image/button/Thumbs.db and /dev/null differ diff --git a/release/master_tyrano/data/image/button/auto.png b/release/master_tyrano/data/image/button/auto.png old mode 100644 new mode 100755 index 30ff7ed4..e2ea94da Binary files a/release/master_tyrano/data/image/button/auto.png and b/release/master_tyrano/data/image/button/auto.png differ diff --git a/release/master_tyrano/data/image/button/auto2.png b/release/master_tyrano/data/image/button/auto2.png old mode 100644 new mode 100755 index 027ecc81..c4e7fc75 Binary files a/release/master_tyrano/data/image/button/auto2.png and b/release/master_tyrano/data/image/button/auto2.png differ diff --git a/release/master_tyrano/data/image/button/close.png b/release/master_tyrano/data/image/button/close.png old mode 100644 new mode 100755 index 13b95ea9..3310c9a0 Binary files a/release/master_tyrano/data/image/button/close.png and b/release/master_tyrano/data/image/button/close.png differ diff --git a/release/master_tyrano/data/image/button/close2.png b/release/master_tyrano/data/image/button/close2.png old mode 100644 new mode 100755 index bb126c88..35a53b7d Binary files a/release/master_tyrano/data/image/button/close2.png and b/release/master_tyrano/data/image/button/close2.png differ diff --git a/release/master_tyrano/data/image/button/load.png b/release/master_tyrano/data/image/button/load.png old mode 100644 new mode 100755 index 164395e4..8634915d Binary files a/release/master_tyrano/data/image/button/load.png and b/release/master_tyrano/data/image/button/load.png differ diff --git a/release/master_tyrano/data/image/button/load2.png b/release/master_tyrano/data/image/button/load2.png old mode 100644 new mode 100755 index f57ee92b..2f777f3f Binary files a/release/master_tyrano/data/image/button/load2.png and b/release/master_tyrano/data/image/button/load2.png differ diff --git a/release/master_tyrano/data/image/button/log.png b/release/master_tyrano/data/image/button/log.png old mode 100644 new mode 100755 index 362e367b..30dccd71 Binary files a/release/master_tyrano/data/image/button/log.png and b/release/master_tyrano/data/image/button/log.png differ diff --git a/release/master_tyrano/data/image/button/log2.png b/release/master_tyrano/data/image/button/log2.png old mode 100644 new mode 100755 index 875f3f52..2e27a43f Binary files a/release/master_tyrano/data/image/button/log2.png and b/release/master_tyrano/data/image/button/log2.png differ diff --git a/release/master_tyrano/data/image/button/menu.png b/release/master_tyrano/data/image/button/menu.png old mode 100644 new mode 100755 index 51bcde62..2081d04d Binary files a/release/master_tyrano/data/image/button/menu.png and b/release/master_tyrano/data/image/button/menu.png differ diff --git a/release/master_tyrano/data/image/button/menu2.png b/release/master_tyrano/data/image/button/menu2.png old mode 100644 new mode 100755 index 1b185566..0e0a2be5 Binary files a/release/master_tyrano/data/image/button/menu2.png and b/release/master_tyrano/data/image/button/menu2.png differ diff --git a/release/master_tyrano/data/image/button/qload.png b/release/master_tyrano/data/image/button/qload.png old mode 100644 new mode 100755 index 8b3c283c..9a8e8695 Binary files a/release/master_tyrano/data/image/button/qload.png and b/release/master_tyrano/data/image/button/qload.png differ diff --git a/release/master_tyrano/data/image/button/qload2.png b/release/master_tyrano/data/image/button/qload2.png old mode 100644 new mode 100755 index 2690f4f0..222e34de Binary files a/release/master_tyrano/data/image/button/qload2.png and b/release/master_tyrano/data/image/button/qload2.png differ diff --git a/release/master_tyrano/data/image/button/qsave.png b/release/master_tyrano/data/image/button/qsave.png old mode 100644 new mode 100755 index 340c9703..67de819f Binary files a/release/master_tyrano/data/image/button/qsave.png and b/release/master_tyrano/data/image/button/qsave.png differ diff --git a/release/master_tyrano/data/image/button/qsave2.png b/release/master_tyrano/data/image/button/qsave2.png old mode 100644 new mode 100755 index 99760112..6431f1d8 Binary files a/release/master_tyrano/data/image/button/qsave2.png and b/release/master_tyrano/data/image/button/qsave2.png differ diff --git a/release/master_tyrano/data/image/button/save.png b/release/master_tyrano/data/image/button/save.png old mode 100644 new mode 100755 index 45c8b941..524936e3 Binary files a/release/master_tyrano/data/image/button/save.png and b/release/master_tyrano/data/image/button/save.png differ diff --git a/release/master_tyrano/data/image/button/save2.png b/release/master_tyrano/data/image/button/save2.png old mode 100644 new mode 100755 index b4a612d9..d8efe556 Binary files a/release/master_tyrano/data/image/button/save2.png and b/release/master_tyrano/data/image/button/save2.png differ diff --git a/release/master_tyrano/data/image/button/screen.png b/release/master_tyrano/data/image/button/screen.png old mode 100644 new mode 100755 index b1d5d91e..abdc1ddd Binary files a/release/master_tyrano/data/image/button/screen.png and b/release/master_tyrano/data/image/button/screen.png differ diff --git a/release/master_tyrano/data/image/button/screen2.png b/release/master_tyrano/data/image/button/screen2.png old mode 100644 new mode 100755 index 6a914978..a8aa5c72 Binary files a/release/master_tyrano/data/image/button/screen2.png and b/release/master_tyrano/data/image/button/screen2.png differ diff --git a/release/master_tyrano/data/image/button/skip.png b/release/master_tyrano/data/image/button/skip.png old mode 100644 new mode 100755 index fd3e7a8b..946ab7d9 Binary files a/release/master_tyrano/data/image/button/skip.png and b/release/master_tyrano/data/image/button/skip.png differ diff --git a/release/master_tyrano/data/image/button/skip2.png b/release/master_tyrano/data/image/button/skip2.png old mode 100644 new mode 100755 index e34fb324..20846dc2 Binary files a/release/master_tyrano/data/image/button/skip2.png and b/release/master_tyrano/data/image/button/skip2.png differ diff --git a/release/master_tyrano/data/image/button/sleep.png b/release/master_tyrano/data/image/button/sleep.png old mode 100644 new mode 100755 index 27970a9a..e7a71758 Binary files a/release/master_tyrano/data/image/button/sleep.png and b/release/master_tyrano/data/image/button/sleep.png differ diff --git a/release/master_tyrano/data/image/button/sleep2.png b/release/master_tyrano/data/image/button/sleep2.png old mode 100644 new mode 100755 index e6e28d0c..3b08fc03 Binary files a/release/master_tyrano/data/image/button/sleep2.png and b/release/master_tyrano/data/image/button/sleep2.png differ diff --git a/release/master_tyrano/data/image/button/title.png b/release/master_tyrano/data/image/button/title.png old mode 100644 new mode 100755 index 96921503..8988495d Binary files a/release/master_tyrano/data/image/button/title.png and b/release/master_tyrano/data/image/button/title.png differ diff --git a/release/master_tyrano/data/image/button/title2.png b/release/master_tyrano/data/image/button/title2.png old mode 100644 new mode 100755 index b596299b..3ce70b00 Binary files a/release/master_tyrano/data/image/button/title2.png and b/release/master_tyrano/data/image/button/title2.png differ diff --git a/release/master_tyrano/data/image/config/arrow_next.png b/release/master_tyrano/data/image/config/arrow_next.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/arrow_prev.png b/release/master_tyrano/data/image/config/arrow_prev.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/bg_config.jpg b/release/master_tyrano/data/image/config/bg_config.jpg old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/button_unread_off.png b/release/master_tyrano/data/image/config/button_unread_off.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/button_unread_on.png b/release/master_tyrano/data/image/config/button_unread_on.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/c_btn.png b/release/master_tyrano/data/image/config/c_btn.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/c_btn_back.png b/release/master_tyrano/data/image/config/c_btn_back.png old mode 100644 new mode 100755 index aadcb79f..5265cc1c Binary files a/release/master_tyrano/data/image/config/c_btn_back.png and b/release/master_tyrano/data/image/config/c_btn_back.png differ diff --git a/release/master_tyrano/data/image/config/c_btn_back2.png b/release/master_tyrano/data/image/config/c_btn_back2.png old mode 100644 new mode 100755 index 15194de2..d81c971c Binary files a/release/master_tyrano/data/image/config/c_btn_back2.png and b/release/master_tyrano/data/image/config/c_btn_back2.png differ diff --git a/release/master_tyrano/data/image/config/c_set.png b/release/master_tyrano/data/image/config/c_set.png old mode 100644 new mode 100755 index 377751ec..31535173 Binary files a/release/master_tyrano/data/image/config/c_set.png and b/release/master_tyrano/data/image/config/c_set.png differ diff --git a/release/master_tyrano/data/image/config/c_uts_off.png b/release/master_tyrano/data/image/config/c_uts_off.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/c_uts_on.png b/release/master_tyrano/data/image/config/c_uts_on.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/label_cg.png b/release/master_tyrano/data/image/config/label_cg.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/label_config.png b/release/master_tyrano/data/image/config/label_config.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/label_recollection.png b/release/master_tyrano/data/image/config/label_recollection.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/menu_button_close.png b/release/master_tyrano/data/image/config/menu_button_close.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/menu_button_close2.png b/release/master_tyrano/data/image/config/menu_button_close2.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/config/message_box.png b/release/master_tyrano/data/image/config/message_box.png old mode 100644 new mode 100755 diff --git a/release/master_tyrano/data/image/frame.png b/release/master_tyrano/data/image/frame.png old mode 100644 new mode 100755 index 8017e05d..b66ddd67 Binary files a/release/master_tyrano/data/image/frame.png and b/release/master_tyrano/data/image/frame.png differ diff --git a/release/master_tyrano/data/scenario/cg.ks b/release/master_tyrano/data/scenario/cg.ks index 4a0f8465..5b3a9273 100644 --- a/release/master_tyrano/data/scenario/cg.ks +++ b/release/master_tyrano/data/scenario/cg.ks @@ -26,7 +26,7 @@ [layopt layer=1 visible=true] [cm] -[button graphic="config/menu_button_close.png" enterimg="config/menu_button_close2.png" target="*backtitle" x=820 y=20 ] +[button graphic="config/menu_button_close.png" enterimg="config/menu_button_close2.png" target="*backtitle" x=1150 y=40 ] [iscript] tf.tmp_index = 0; diff --git a/release/master_tyrano/data/scenario/config.ks b/release/master_tyrano/data/scenario/config.ks index dbec3e9d..cb3b130c 100644 --- a/release/master_tyrano/data/scenario/config.ks +++ b/release/master_tyrano/data/scenario/config.ks @@ -1,152 +1,180 @@ -; ティラノスクリプト標準テーマプラグイン - ;========================================= ; コンフィグ モード 画面作成 ;========================================= -; メッセージレイヤ0を不可視に - [layopt layer=message0 visible=false] -; fixボタン消し +; メッセージレイヤ0を不可視に + [layopt layer="message0" visible="false"] + +; fixボタンをクリア [clearfix] - -;ゲーム中に効果が設定されている場合は無効 -[free_layermode time=0 ] -[reset_camera time=0] - -; イメージ消去 -[iscript] -$(".layer_camera").empty(); -[endscript] +; キーコンフィグの無効化 + [stop_keyconfig] + +; レイヤーモードの解放 + [free_layermode time="100" wait="true"] + +; カメラのリセット + [reset_camera time="100" wait="true"] + +; 前景レイヤの中身をすべて空に + [iscript] + $(".layer_camera").empty(); + [endscript] ; メニューボタン非表示 [hidemenubutton] -[iscript] + [iscript] - tf.current_bgm_vol=parseInt(TG.config.defaultBgmVolume); - tf.current_se_vol=parseInt(TG.config.defaultSeVolume); - - tf.current_ch_speed=parseInt(TG.config.chSpeed); - tf.current_auto_speed=parseInt(TG.config.autoSpeed); + TG.config.autoRecordLabel = "true"; // ラベル通過記録を有効に + + tf.current_bgm_vol = parseInt(TG.config.defaultBgmVolume); // BGM音量 + tf.current_se_vol = parseInt(TG.config.defaultSeVolume); // SE音量 - tf.text_skip ="ON"; + tf.current_ch_speed = parseInt(TG.config.chSpeed); // テキスト表示速度 + tf.current_auto_speed = parseInt(TG.config.autoSpeed); // オート時のテキスト表示速度 + tf.text_skip ="ON"; // 未読スキップ if(TG.config.unReadTextSkip != "true"){ tf.text_skip ="OFF"; - } + } -[endscript] + tf.user_setting = TG.config.alreadyReadTextColor; + if(tf.user_setting != 'default'){ + TG.config.alreadyReadTextColor = 'default'; // 一時的に既読テキストの文字色を変更しないようにしています + } + + [endscript] + + [iscript] -; レイヤ1を可視に - [layopt layer=1 visible=true] + /* 画像類のパス */ + tf.img_path = '../image/config/'; + + /* 画像類のパス(ボタン) */ + tf.btn_path_off = tf.img_path + 'c_btn.gif'; + tf.btn_path_on = tf.img_path + 'c_set.png'; + + // ボタン画像の幅と高さ + tf.btn_w = 46; // 幅 + tf.btn_h = 46; // 高さ + + // ボタンを表示する座標(tf.config_y_ch[0]とtf.config_y_auto[0]は未使用) + tf.config_x = [1040, 400, 454, 508, 562, 616, 670, 724, 778, 832, 886]; // X座標(共通) + + tf.config_y_bgm = 190; // BGMのY座標 + tf.config_y_se = 250; // SEのY座標 + tf.config_y_ch = 325; // テキスト速度のY座標 + tf.config_y_auto = 385; // オート速度のY座標 + + // 上記の配列変数の添字を格納しておく変数。選択した音量や速度に対応。 + tf.config_num_bgm; // BGM + tf.config_num_se; // SE + tf.config_num_ch; // テキスト速度 + tf.config_num_auto; // オート速度 + + // テキスト速度のサンプルテキストとして表示する文字列(お好みに合わせて変更してください) + tf.text_sample = 'テストメッセージです。このスピードでテキストが表示されます。'; + + // サンプルテキストを表示しておく時間(テキストを表示し終わってから700ミリ秒で消去させています) + tf.text_sample_speed; + + // 既読スキップの画像ファイル名を格納しておく変数 + tf.img_unread_skip; + + [endscript] [cm] ; コンフィグ用の背景を読み込んでトランジション - [bg storage="../../tyrano/images/system/bg_config.jpg" time=100] + [bg storage="&tf.img_path +'bg_config.png'" time="100"] ; 画面右上の「Back」ボタン - [button graphic="config/c_btn_back.png" fix=true enterimg="config/c_btn_back2.png" target="*backtitle" x=840 y=20] + [button fix="true" graphic="&tf.img_path + 'c_btn_back.png'" enterimg="&tf.img_path + 'c_btn_back2.png'" target="*backtitle" x="1160" y="20"] [jump target="*config_page"] -*config_page - -;かなり横長なスクリプトになってしまったのでマクロにしたほうがスッキリします -;c_btn.png は 4×4px の完全透明な画像です。width.heightを使って拡大しています -;一部のスマホブラウザでは音量変更に対応していないのでご留意ください +*config_page ;------------------------------------------------------------------------------------------------------ -;▼BGM音量 +; BGM音量 ;------------------------------------------------------------------------------------------------------ -;BGM音量-10 -[button name="bgmvol,bgmvol_10" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=300 y=170 exp="tf.current_bgm_vol=10"] -;BGM音量-20 -[button name="bgmvol,bgmvol_20" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=340 y=170 exp="tf.current_bgm_vol=20"] -;BGM音量-30 -[button name="bgmvol,bgmvol_30" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=380 y=170 exp="tf.current_bgm_vol=30"] -;BGM音量-40 -[button name="bgmvol,bgmvol_40" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=420 y=170 exp="tf.current_bgm_vol=40"] -;BGM音量-50 -[button name="bgmvol,bgmvol_50" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=460 y=170 exp="tf.current_bgm_vol=50"] -;BGM音量-60 -[button name="bgmvol,bgmvol_60" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=500 y=170 exp="tf.current_bgm_vol=60"] -;BGM音量-70 -[button name="bgmvol,bgmvol_70" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=540 y=170 exp="tf.current_bgm_vol=70"] -;BGM音量-80 -[button name="bgmvol,bgmvol_80" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=580 y=170 exp="tf.current_bgm_vol=80"] -;BGM音量-90 -[button name="bgmvol,bgmvol_90" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=620 y=170 exp="tf.current_bgm_vol=90"] -;BGM音量-100 -[button name="bgmvol,bgmvol_100" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=660 y=170 exp="tf.current_bgm_vol=100"] - -;BGM音量-ミュート(音量=0) -[button name="bgmvol,bgmvol_0" fix="true" target="*vol_bgm_change" graphic="config/c_btn.png" width=35 height=35 x=780 y=170 exp="tf.current_bgm_vol=0"] - + [button name="bgmvol,bgmvol_10" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[1]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 10; tf.config_num_bgm = 1"] + [button name="bgmvol,bgmvol_20" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[2]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 20; tf.config_num_bgm = 2"] + [button name="bgmvol,bgmvol_30" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[3]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 30; tf.config_num_bgm = 3"] + [button name="bgmvol,bgmvol_40" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[4]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 40; tf.config_num_bgm = 4"] + [button name="bgmvol,bgmvol_50" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[5]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 50; tf.config_num_bgm = 5"] + [button name="bgmvol,bgmvol_60" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[6]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 60; tf.config_num_bgm = 6"] + [button name="bgmvol,bgmvol_70" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[7]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 70; tf.config_num_bgm = 7"] + [button name="bgmvol,bgmvol_80" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[8]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 80; tf.config_num_bgm = 8"] + [button name="bgmvol,bgmvol_90" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[9]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 90; tf.config_num_bgm = 9"] + [button name="bgmvol,bgmvol_100" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[10]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 100; tf.config_num_bgm = 10"] + +; BGMミュート + [button name="bgmvol,bgmvol_0" fix="true" target="*vol_bgm_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[0]" y="&tf.config_y_bgm" exp="tf.current_bgm_vol = 0; tf.config_num_bgm = 0"] ;------------------------------------------------------------------------------------------------------ -;▼SE音量 +; SE音量 ;------------------------------------------------------------------------------------------------------ -[button name="sevol,sevol_10" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=300 y=220 exp="tf.current_se_vol=10"] -[button name="sevol,sevol_20" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=340 y=220 exp="tf.current_se_vol=20"] -[button name="sevol,sevol_30" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=380 y=220 exp="tf.current_se_vol=30"] -[button name="sevol,sevol_40" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=420 y=220 exp="tf.current_se_vol=40"] -[button name="sevol,sevol_50" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=460 y=220 exp="tf.current_se_vol=50"] -[button name="sevol,sevol_60" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=500 y=220 exp="tf.current_se_vol=60"] -[button name="sevol,sevol_70" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=540 y=220 exp="tf.current_se_vol=70"] -[button name="sevol,sevol_80" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=580 y=220 exp="tf.current_se_vol=80"] -[button name="sevol,sevol_90" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=620 y=220 exp="tf.current_se_vol=90"] -[button name="sevol,sevol_100" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=660 y=220 exp="tf.current_se_vol=100"] - -;SEミュート -[button name="sevol,sevol_0" fix="true" target="*vol_se_change" graphic="config/c_btn.png" width=35 height=35 x=780 y=220 exp="tf.current_se_vol=0"] + [button name="sevol,sevol_10" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[1]" y="&tf.config_y_se" exp="tf.current_se_vol = 10; tf.config_num_se = 1"] + [button name="sevol,sevol_20" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[2]" y="&tf.config_y_se" exp="tf.current_se_vol = 20; tf.config_num_se = 2"] + [button name="sevol,sevol_30" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[3]" y="&tf.config_y_se" exp="tf.current_se_vol = 30; tf.config_num_se = 3"] + [button name="sevol,sevol_40" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[4]" y="&tf.config_y_se" exp="tf.current_se_vol = 40; tf.config_num_se = 4"] + [button name="sevol,sevol_50" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[5]" y="&tf.config_y_se" exp="tf.current_se_vol = 50; tf.config_num_se = 5"] + [button name="sevol,sevol_60" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[6]" y="&tf.config_y_se" exp="tf.current_se_vol = 60; tf.config_num_se = 6"] + [button name="sevol,sevol_70" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[7]" y="&tf.config_y_se" exp="tf.current_se_vol = 70; tf.config_num_se = 7"] + [button name="sevol,sevol_80" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[8]" y="&tf.config_y_se" exp="tf.current_se_vol = 80; tf.config_num_se = 8"] + [button name="sevol,sevol_90" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[9]" y="&tf.config_y_se" exp="tf.current_se_vol = 90; tf.config_num_se = 9"] + [button name="sevol,sevol_100" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[10]" y="&tf.config_y_se" exp="tf.current_se_vol = 100; tf.config_num_se = 10"] + +; SEミュート + [button name="sevol,sevol_0" fix="true" target="*vol_se_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[0]" y="&tf.config_y_se" exp="tf.current_se_vol = 0; tf.config_num_se = 0"] ;------------------------------------------------------------------------------------------------------ -;▼テキスト速度 +; テキスト速度 ;------------------------------------------------------------------------------------------------------ -[button name="ch,ch_100" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=100" graphic="config/c_btn.png" width=35 height=35 x=300 y=290] -[button name="ch,ch_80" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=80" graphic="config/c_btn.png" width=35 height=35 x=340 y=290] -[button name="ch,ch_50" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=50" graphic="config/c_btn.png" width=35 height=35 x=380 y=290] -[button name="ch,ch_40" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=40" graphic="config/c_btn.png" width=35 height=35 x=420 y=290] -[button name="ch,ch_30" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=30" graphic="config/c_btn.png" width=35 height=35 x=460 y=290] -[button name="ch,ch_25" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=25" graphic="config/c_btn.png" width=35 height=35 x=500 y=290] -[button name="ch,ch_20" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=20" graphic="config/c_btn.png" width=35 height=35 x=540 y=290] -[button name="ch,ch_11" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=11" graphic="config/c_btn.png" width=35 height=35 x=580 y=290] -[button name="ch,ch_8" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=8" graphic="config/c_btn.png" width=35 height=35 x=620 y=290] -[button name="ch,ch_5" fix="true" target="*ch_speed_change" exp="tf.set_ch_speed=5" graphic="config/c_btn.png" width=35 height=35 x=660 y=290] + [button name="ch,ch_100" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[1]" y="&tf.config_y_ch" exp="tf.set_ch_speed =100; tf.config_num_ch = 0"] + [button name="ch,ch_80" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[2]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 80; tf.config_num_ch = 1"] + [button name="ch,ch_50" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[3]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 50; tf.config_num_ch = 2"] + [button name="ch,ch_40" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[4]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 40; tf.config_num_ch = 3"] + [button name="ch,ch_30" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[5]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 30; tf.config_num_ch = 4"] + [button name="ch,ch_25" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[6]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 25; tf.config_num_ch = 5"] + [button name="ch,ch_20" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[7]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 20; tf.config_num_ch = 6"] + [button name="ch,ch_11" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[8]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 11; tf.config_num_ch = 7"] + [button name="ch,ch_8" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[9]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 8; tf.config_num_ch = 8"] + [button name="ch,ch_5" fix="true" target="*ch_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[10]" y="&tf.config_y_ch" exp="tf.set_ch_speed = 5; tf.config_num_ch = 9"] ;------------------------------------------------------------------------------------------------------ -;▼オート速度 +; オート速度 ;------------------------------------------------------------------------------------------------------ -[button fix="true" name="auto,auto_5000" target="*auto_speed_change" exp="tf.set_auto_speed=5000;tf.text_auto=0" graphic="config/c_btn.png" width=35 height=35 x=300 y=340] -[button fix="true" name="auto,auto_4500" target="*auto_speed_change" exp="tf.set_auto_speed=4500;tf.text_auto=1" graphic="config/c_btn.png" width=35 height=35 x=340 y=340] -[button fix="true" name="auto,auto_4000" target="*auto_speed_change" exp="tf.set_auto_speed=4000;tf.text_auto=2" graphic="config/c_btn.png" width=35 height=35 x=380 y=340] -[button fix="true" name="auto,auto_3500" target="*auto_speed_change" exp="tf.set_auto_speed=3500;tf.text_auto=3" graphic="config/c_btn.png" width=35 height=35 x=420 y=340] -[button fix="true" name="auto,auto_3000" target="*auto_speed_change" exp="tf.set_auto_speed=3000;tf.text_auto=4" graphic="config/c_btn.png" width=35 height=35 x=460 y=340] -[button fix="true" name="auto,auto_2500" target="*auto_speed_change" exp="tf.set_auto_speed=2500;tf.text_auto=5" graphic="config/c_btn.png" width=35 height=35 x=500 y=340] -[button fix="true" name="auto,auto_2000" target="*auto_speed_change" exp="tf.set_auto_speed=2000;tf.text_auto=6" graphic="config/c_btn.png" width=35 height=35 x=540 y=340] -[button fix="true" name="auto,auto_1300" target="*auto_speed_change" exp="tf.set_auto_speed=1300;tf.text_auto=7" graphic="config/c_btn.png" width=35 height=35 x=580 y=340] -[button fix="true" name="auto,auto_800" target="*auto_speed_change" exp="tf.set_auto_speed=800;tf.text_auto=8" graphic="config/c_btn.png" width=35 height=35 x=620 y=340] -[button fix="true" name="auto,auto_500" target="*auto_speed_change" exp="tf.set_auto_speed=500;tf.text_auto=9" graphic="config/c_btn.png" width=35 height=35 x=660 y=340] + [button name="auto,auto_5000" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[1]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 5000; tf.config_num_auto = 0"] + [button name="auto,auto_4500" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[2]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 4500; tf.config_num_auto = 1"] + [button name="auto,auto_4000" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[3]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 4000; tf.config_num_auto = 2"] + [button name="auto,auto_3500" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[4]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 3500; tf.config_num_auto = 3"] + [button name="auto,auto_3000" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[5]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 3000; tf.config_num_auto = 4"] + [button name="auto,auto_2500" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[6]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 2500; tf.config_num_auto = 5"] + [button name="auto,auto_2000" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[7]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 2000; tf.config_num_auto = 6"] + [button name="auto,auto_1300" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[8]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 1300; tf.config_num_auto = 7"] + [button name="auto,auto_800" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[9]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 800; tf.config_num_auto = 8"] + [button name="auto,auto_500" fix="true" target="*auto_speed_change" graphic="&tf.btn_path_off" width="&tf.btn_w" height="&tf.btn_h" x="&tf.config_x[10]" y="&tf.config_y_auto" exp="tf.set_auto_speed = 500; tf.config_num_auto = 9"] ;------------------------------------------------------------------------------------------------------ -;▼未読スキップ +; 未読スキップ ;------------------------------------------------------------------------------------------------------ -; 未読スキップ-OFF -[button name="unread_off" fix="true" target="*skip_off" graphic="config/c_btn.png" width=125 height=35 x=300 y=420] -; 未読スキップ-ON -[button name="unread_on" fix="true" target="*skip_on" graphic="config/c_btn.png" width=125 height=35 x=435 y=420] + +; 未読スキップ-OFF + [button name="unread_off" fix="true" target="*skip_off" graphic="&tf.btn_path_off" width="170" height="45" x="400" y="470"] + +; 未読スキップ-ON + [button name="unread_on" fix="true" target="*skip_on" graphic="&tf.btn_path_off" width="170" height="45" x="580" y="470"] ;------------------------------------------------------------------------------------------------------ -;▼コンフィグ起動時の画面更新 +; コンフィグ起動時の画面更新 ;------------------------------------------------------------------------------------------------------ -; BGM音量・SE音量・テキスト速度・オート速度・未読スキップの順 -; $(セレクタ).attr("src","画像ファイルの場所"); -;※画像差し替え版を使用するときは c_set.gif を c_set.png に書き換えてね + [iscript] -[iscript] $(".bgmvol_"+tf.current_bgm_vol).attr("src","data/image/config/c_set.png"); $(".sevol_"+tf.current_se_vol).attr("src","data/image/config/c_set.png"); @@ -156,122 +184,316 @@ $(".layer_camera").empty(); $(".auto_"+tf.current_auto_speed).attr("src","data/image/config/c_set.png"); if(tf.text_skip == 'OFF'){ - $(".unread_off").attr("src","data/image/config/c_uts_off.png"); + $(".unread_off").attr("src","./data/image/config/c_skipoff.png"); }else{ - $(".unread_on").attr("src","data/image/config/c_uts_on.png"); + $(".unread_on").attr("src","./data/image/config/c_skipon.png"); } -[endscript] + [endscript] [s] ;-------------------------------------------------------------------------------- -; タイトルに戻る +; コンフィグモードの終了 ;-------------------------------------------------------------------------------- *backtitle +[cm] -[iscript] -tf.flag_back=$(".message1_fore").css("display"); -[endscript] + [iscript] + TG.config.alreadyReadTextColor = tf.user_setting; // 既読テキストの文字色を復帰 + [endscript] -[if exp="tf.flag_back=='none'"] +; テキスト速度のサンプル表示に使用していたメッセージレイヤを非表示に + [layopt layer="message1" visible="false"] -[cm] -[layopt layer=message1 visible=false] -[freeimage layer=1] -[clearfix] -;コンフィグの呼び出しに sleepgame を使っているので、必ず awakegame で戻してやってください -[awakegame] +; fixボタンをクリア + [clearfix] -[endif] +; キーコンフィグの有効化 + [start_keyconfig] -[return] +; コールスタックのクリア + [clearstack] +; ゲーム復帰 + [awakegame] -;=================================================== +;================================================================================ -;★ボタンクリック時の処理 +; ボタンクリック時の処理 -;=================================================== +;================================================================================ ;-------------------------------------------------------------------------------- -;▼BGM音量 +; BGM音量 ;-------------------------------------------------------------------------------- *vol_bgm_change + [iscript] $(".bgmvol").attr("src","data/image/config/c_btn.png"); $(".bgmvol_"+tf.current_bgm_vol).attr("src","data/image/config/c_set.png"); [endscript] + [bgmopt volume="&tf.current_bgm_vol"] + [return] ;-------------------------------------------------------------------------------- -;▼SE音量 +; SE音量 ;-------------------------------------------------------------------------------- *vol_se_change + [iscript] $(".sevol").attr("src","data/image/config/c_btn.png"); $(".sevol_"+tf.current_se_vol).attr("src","data/image/config/c_set.png"); [endscript] + [seopt volume="&tf.current_se_vol"] + [return] ;--------------------------------------------------------------------------------- -;▼テキスト速度 +; テキスト速度 ;-------------------------------------------------------------------------------- *ch_speed_change -[iscript] + + [iscript] + $(".ch").attr("src","data/image/config/c_btn.png"); $(".ch_"+tf.set_ch_speed).attr("src","data/image/config/c_set.png"); -[endscript] -[configdelay speed="&tf.set_ch_speed"] + tf.current_ch_speed = tf.set_ch_speed; + + [endscript] + + [configdelay speed="&tf.set_ch_speed"] + +; テキスト表示速度のサンプルに使用するメッセージレイヤの設定 + [position layer="message1" left="90" top="580" width="1100" height="100" margint="2" marginl="30" page="fore" visible="true" opacity="0"] + [layopt layer="message1" visible="true"] + [current layer="message1"] -; テキスト速度サンプル - [position layer=message1 left=40 top=490 width=880 height=110 page=fore visible=true opacity=0] - [layopt layer=message1 visible=true] - [current layer=message1] - [font color="0x454D51"] - このスピードで表示されます +; サンプルテキストを表示する + [emb exp="tf.text_sample"] [iscript] - tf.system.backlog.pop(); // 上の「このスピードで表示されます」のテキストを履歴から削除 + $(".current_span").css("color","#66564C"); // サンプルテキストのフォントカラーを指定 + tf.system.backlog.pop(); // サンプルテキストを履歴から削除(nolog~endnologタグと同じです) [endscript] - [wait time=2000] +; 待ち時間をテキスト速度とサンプルの文字数に対応(消えるのが早すぎるときは後ろの数字を好きなだけ増やそう) + [eval exp="tf.text_sample_speed = tf.set_ch_speed * tf.text_sample.length + 700"] + [wait time="&tf.text_sample_speed"] + [er] - [layopt layer=message1 visible=false] - [return] + [layopt layer="message1" visible="false"] + +[return] ;-------------------------------------------------------------------------------- -;▼オート速度 +; オート速度 ;-------------------------------------------------------------------------------- *auto_speed_change -[iscript] + + [iscript] + $(".auto").attr("src","data/image/config/c_btn.png"); $(".auto_"+tf.set_auto_speed).attr("src","data/image/config/c_set.png"); -[endscript] -[autoconfig speed="&tf.set_auto_speed"] + + [endscript] + [autoconfig speed="&tf.set_auto_speed"] + [return] ;-------------------------------------------------------------------------------- -;▼スキップ処理-OFF +; スキップ処理-OFF ;-------------------------------------------------------------------------------- *skip_off -[iscript] - $(".unread_off").attr("src","data/image/config/c_uts_off.png"); - $(".unread_on").attr("src","data/image/config/c_btn.png"); - tf.text_skip="OFF"; -[endscript] -[config_record_label skip=false] + + [iscript] + $(".unread_off").attr("src","./data/image/config/c_skipoff.png"); + $(".unread_on").attr("src","./data/image/config/c_btn.gif"); + tf.text_skip = "OFF"; + [endscript] + + [config_record_label skip="false"] + [return] ;-------------------------------------------------------------------------------- -;▼スキップ処理-ON +; スキップ処理-ON ;-------------------------------------------------------------------------------- *skip_on -[iscript] - $(".unread_off").attr("src","data/image/config/c_btn.png"); - $(".unread_on").attr("src","data/image/config/c_uts_on.png"); - tf.text_skip="ON"; -[endscript] -[config_record_label skip=true] + + [iscript] + $(".unread_off").attr("src","./data/image/config/c_btn.gif"); + $(".unread_on").attr("src","./data/image/config/c_skipon.png"); + tf.text_skip = "ON"; + [endscript] + + [config_record_label skip="true"] + [return] +;================================================================================ + +; サブルーチン + +;================================================================================ +;-------------------------------------------------------------------------------- + +; BGM更新 + +;-------------------------------------------------------------------------------- +*icon_bgm + + [iscript] + + // 設定した音量によって色付き画像の表示・非表示を切替える + + $( ".bgm_img_0").css( "visibility", tf.config_num_bgm == 0 ? 'visible' : 'hidden' ); + $( ".bgm_img_1").css( "visibility", tf.config_num_bgm > 0 ? 'visible' : 'hidden' ); + $( ".bgm_img_2").css( "visibility", tf.config_num_bgm > 1 ? 'visible' : 'hidden' ); + $( ".bgm_img_3").css( "visibility", tf.config_num_bgm > 2 ? 'visible' : 'hidden' ); + $( ".bgm_img_4").css( "visibility", tf.config_num_bgm > 3 ? 'visible' : 'hidden' ); + $( ".bgm_img_5").css( "visibility", tf.config_num_bgm > 4 ? 'visible' : 'hidden' ); + $( ".bgm_img_6").css( "visibility", tf.config_num_bgm > 5 ? 'visible' : 'hidden' ); + $( ".bgm_img_7").css( "visibility", tf.config_num_bgm > 6 ? 'visible' : 'hidden' ); + $( ".bgm_img_8").css( "visibility", tf.config_num_bgm > 7 ? 'visible' : 'hidden' ); + $( ".bgm_img_9").css( "visibility", tf.config_num_bgm > 8 ? 'visible' : 'hidden' ); + $(".bgm_img_10").css( "visibility", tf.config_num_bgm > 9 ? 'visible' : 'hidden' ); + + [endscript] + +[return] + +;-------------------------------------------------------------------------------- + +; SE更新 + +;-------------------------------------------------------------------------------- +*icon_se + + [iscript] + + $(".se_img_0").css( "visibility", tf.config_num_se == 0 ? 'visible' : 'hidden'); + $(".se_img_1").css( "visibility", tf.config_num_se > 0 ? 'visible' : 'hidden'); + $(".se_img_2").css( "visibility", tf.config_num_se > 1 ? 'visible' : 'hidden'); + $(".se_img_3").css( "visibility", tf.config_num_se > 2 ? 'visible' : 'hidden'); + $(".se_img_4").css( "visibility", tf.config_num_se > 3 ? 'visible' : 'hidden'); + $(".se_img_5").css( "visibility", tf.config_num_se > 4 ? 'visible' : 'hidden'); + $(".se_img_6").css( "visibility", tf.config_num_se > 5 ? 'visible' : 'hidden'); + $(".se_img_7").css( "visibility", tf.config_num_se > 6 ? 'visible' : 'hidden'); + $(".se_img_8").css( "visibility", tf.config_num_se > 7 ? 'visible' : 'hidden'); + $(".se_img_9").css( "visibility", tf.config_num_se > 8 ? 'visible' : 'hidden'); + $(".se_img_10").css("visibility", tf.config_num_se > 9 ? 'visible' : 'hidden'); + + [endscript] + +[return] + +;-------------------------------------------------------------------------------- + +; テキスト速度更新 + +;-------------------------------------------------------------------------------- +*icon_ch + + [iscript] + + $(".ch_img_1").css( "visibility", tf.config_num_ch >= 0 ? 'visible' : 'hidden'); + $(".ch_img_2").css( "visibility", tf.config_num_ch > 0 ? 'visible' : 'hidden'); + $(".ch_img_3").css( "visibility", tf.config_num_ch > 1 ? 'visible' : 'hidden'); + $(".ch_img_4").css( "visibility", tf.config_num_ch > 2 ? 'visible' : 'hidden'); + $(".ch_img_5").css( "visibility", tf.config_num_ch > 3 ? 'visible' : 'hidden'); + $(".ch_img_6").css( "visibility", tf.config_num_ch > 4 ? 'visible' : 'hidden'); + $(".ch_img_7").css( "visibility", tf.config_num_ch > 5 ? 'visible' : 'hidden'); + $(".ch_img_8").css( "visibility", tf.config_num_ch > 6 ? 'visible' : 'hidden'); + $(".ch_img_9").css( "visibility", tf.config_num_ch > 7 ? 'visible' : 'hidden'); + $(".ch_img_10").css("visibility", tf.config_num_ch > 8 ? 'visible' : 'hidden'); + + [endscript] + +[return] + +;-------------------------------------------------------------------------------- + +; オート速度更新 + +;-------------------------------------------------------------------------------- +*icon_auto + + [iscript] + + $(".auto_img_1").css( "visibility", tf.config_num_auto >= 0 ? 'visible' : 'hidden'); + $(".auto_img_2").css( "visibility", tf.config_num_auto > 0 ? 'visible' : 'hidden'); + $(".auto_img_3").css( "visibility", tf.config_num_auto > 1 ? 'visible' : 'hidden'); + $(".auto_img_4").css( "visibility", tf.config_num_auto > 2 ? 'visible' : 'hidden'); + $(".auto_img_5").css( "visibility", tf.config_num_auto > 3 ? 'visible' : 'hidden'); + $(".auto_img_6").css( "visibility", tf.config_num_auto > 4 ? 'visible' : 'hidden'); + $(".auto_img_7").css( "visibility", tf.config_num_auto > 5 ? 'visible' : 'hidden'); + $(".auto_img_8").css( "visibility", tf.config_num_auto > 6 ? 'visible' : 'hidden'); + $(".auto_img_9").css( "visibility", tf.config_num_auto > 7 ? 'visible' : 'hidden'); + $(".auto_img_10").css("visibility", tf.config_num_auto > 8 ? 'visible' : 'hidden'); + + [endscript] + +[return] + +;================================================================================ + +; 画像の読み込み(コンフィグ画面の起動時のみコール) + +;================================================================================ +*load_img + + [layopt layer="0" visible="true"] + +; BGM + [image layer="0" name="bgm_img_0" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[0]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_1" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[1]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_2" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[2]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_3" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[3]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_4" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[4]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_5" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[5]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_6" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[6]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_7" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[7]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_8" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[8]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_9" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[9]" y="&tf.config_y_bgm"] + [image layer="0" name="bgm_img_10" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[10]" y="&tf.config_y_bgm"] + +; SE + [image layer="0" name="se_img_0" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[0]" y="&tf.config_y_se"] + [image layer="0" name="se_img_1" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[1]" y="&tf.config_y_se"] + [image layer="0" name="se_img_2" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[2]" y="&tf.config_y_se"] + [image layer="0" name="se_img_3" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[3]" y="&tf.config_y_se"] + [image layer="0" name="se_img_4" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[4]" y="&tf.config_y_se"] + [image layer="0" name="se_img_5" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[5]" y="&tf.config_y_se"] + [image layer="0" name="se_img_6" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[6]" y="&tf.config_y_se"] + [image layer="0" name="se_img_7" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[7]" y="&tf.config_y_se"] + [image layer="0" name="se_img_8" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[8]" y="&tf.config_y_se"] + [image layer="0" name="se_img_9" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[9]" y="&tf.config_y_se"] + [image layer="0" name="se_img_10" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[10]" y="&tf.config_y_se"] + +; テキスト速度 + [image layer="0" name="ch_img_1" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[1]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_2" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[2]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_3" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[3]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_4" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[4]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_5" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[5]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_6" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[6]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_7" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[7]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_8" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[8]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_9" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[9]" y="&tf.config_y_ch"] + [image layer="0" name="ch_img_10" storage="&tf.img_path + 'set1.png'" x="&tf.config_x[10]" y="&tf.config_y_ch"] + +; オート速度 + [image layer="0" name="auto_img_1" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[1]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_2" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[2]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_3" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[3]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_4" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[4]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_5" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[5]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_6" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[6]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_7" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[7]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_8" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[8]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_9" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[9]" y="&tf.config_y_auto"] + [image layer="0" name="auto_img_10" storage="&tf.img_path + 'set2.png'" x="&tf.config_x[10]" y="&tf.config_y_auto"] + +[return] diff --git a/release/master_tyrano/data/scenario/replay.ks b/release/master_tyrano/data/scenario/replay.ks index a3f797d5..0f429e25 100644 --- a/release/master_tyrano/data/scenario/replay.ks +++ b/release/master_tyrano/data/scenario/replay.ks @@ -24,7 +24,7 @@ *replaypage [cm] -[button graphic="config/menu_button_close.png" enterimg="config/menu_button_close2.png" target="*backtitle" x=820 y=20 ] +[button graphic="config/menu_button_close.png" enterimg="config/menu_button_close2.png" target="*backtitle" x=1150 y=40 ] [iscript] tf.target_page = "page_"+tf.page; diff --git a/release/master_tyrano/data/scenario/scene1.ks b/release/master_tyrano/data/scenario/scene1.ks index f9e7f077..e033408e 100644 --- a/release/master_tyrano/data/scenario/scene1.ks +++ b/release/master_tyrano/data/scenario/scene1.ks @@ -13,7 +13,7 @@ @showmenubutton ;メッセージウィンドウの設定 -[position layer="message0" left=20 top=400 width=920 height=200 page=fore visible=true] +[position layer="message0" left=160 top=500 width=1000 height=200 page=fore visible=true] ;文字が表示される領域を調整 [position layer=message0 page=fore margint="45" marginl="50" marginr="70" marginb="60"] @@ -23,7 +23,7 @@ @layopt layer=message0 visible=true ;キャラクターの名前が表示される文字領域 -[ptext name="chara_name_area" layer="message0" color="white" size=24 x=50 y=410] +[ptext name="chara_name_area" layer="message0" color="white" size=28 bold=true x=180 y=510] ;上記で定義した領域がキャラクターの名前表示であることを宣言(これがないと#の部分でエラーになります) [chara_config ptext="chara_name_area"] @@ -64,9 +64,9 @@ #あかね もしかして、ノベルゲームの開発に興味があるの?[p] -[glink color="blue" storage="scene1.ks" size="20" x="260" width="400" y="100" text="はい。興味あります" target="*selectinterest" ] -[glink color="blue" storage="scene1.ks" size="20" x="260" width="400" y="170" text="興味あります!" target="*selectinterest" ] -[glink color="blue" storage="scene1.ks" size="20" x="260" width="400" y="240" text="どちらかと言うと興味あり" target="*selectinterest" ] +[glink color="blue" storage="scene1.ks" size="28" x="360" width="500" y="150" text="はい。興味あります" target="*selectinterest" ] +[glink color="blue" storage="scene1.ks" size="28" x="360" width="500" y="250" text="興味あります!" target="*selectinterest" ] +[glink color="blue" storage="scene1.ks" size="28" x="360" width="500" y="350" text="どちらかと言うと興味あり" target="*selectinterest" ] [s ] *selectinterest @@ -177,7 +177,7 @@ AppStoreやGooglePlayに向けてアプリ化して販売することもでき ;メッセージを全画面に切り替え -[position layer="message0" left=20 top=40 width=920 height=560 page=fore visible=true ] +[position layer="message0" left=20 top=40 width=1200 height=660 page=fore visible=true ] どうかな? 物語をじっくり読ませたい場合はこの方式が便利ですね[l][r] ティラノスクリプトは非常に強力で、柔軟な表現が可能です。[l][cm] @@ -216,17 +216,20 @@ AppStoreやGooglePlayに向けてアプリ化して販売することもでき [font color="0x454D51"] [deffont color="0x454D51"] -;名前の表示位置も変更 -[free name="chara_name_area" layer="message0"] -[position layer=message0 width=960 height=210 top=430 left=0] -[position layer=message0 page=fore frame="frame.png" margint="45" marginl="50" marginr="70" marginb="60" opacity=230 ] +;名前部分のメッセージレイヤ削除 +[free name="chara_name_area" layer="message0"] +;メッセージウィンドウの設定 +[position layer="message0" width="1280" height="210" top="510" left="0"] +[position layer="message0" frame="frame.png" margint="50" marginl="100" marginr="100" opacity="230" page="fore"] ;名前枠の設定 -[ptext name="chara_name_area" layer="message0" color="0xFAFAFA" size=24 x=40 y=435] +[ptext name="chara_name_area" layer="message0" color="0xFAFAFA" size="28" bold="true" x="100" y="514"] [chara_config ptext="chara_name_area"] + + どうかな?[p] ゲームに合わせて自分の好きなデザインを作ってくださいね[p] @@ -237,41 +240,45 @@ AppStoreやGooglePlayに向けてアプリ化して販売することもでき @hidemenubutton ;ロールボタン追加;;;;;;;;;;;;;; - -[button name="role_button" role="skip" graphic="button/skip.png" enterimg="button/skip2.png" x=35 y=610] -; オート -[button name="role_button" role="auto" graphic="button/auto.png" enterimg="button/auto2.png" x=110 y=610] -; セーブ -[button name="role_button" role="save" graphic="button/save.png" enterimg="button/save2.png" x=185 y=610] +; ロールボタン配置 + +;クイックセーブボタン +[button name="role_button" role="quicksave" graphic="button/qsave.png" enterimg="button/qsave2.png" x="40" y="690"] + +;クイックロードボタン +[button name="role_button" role="quickload" graphic="button/qload.png" enterimg="button/qload2.png" x="140" y="690"] + +;セーブボタン +[button name="role_button" role="save" graphic="button/save.png" enterimg="button/save2.png" x="240" y="690"] -;ロード -[button name="role_button" role="load" graphic="button/load.png" enterimg="button/load2.png" x=260 y=610] +;ロードボタン +[button name="role_button" role="load" graphic="button/load.png" enterimg="button/load2.png" x="340" y="690"] -;クイックセーブ -[button name="role_button" role="quicksave" graphic="button/qsave.png" enterimg="button/qsave2.png" x=335 y=610] +;オートボタン +[button name="role_button" role="auto" graphic="button/auto.png" enterimg="button/auto2.png" x="440" y="690"] -;クイックロード -[button name="role_button" role="quickload" graphic="button/qload.png" enterimg="button/qload2.png" x=410 y=610] +;スキップボタン +[button name="role_button" role="skip" graphic="button/skip.png" enterimg="button/skip2.png" x="540" y="690"] -;バックログ -[button name="role_button" role="backlog" graphic="button/log.png" enterimg="button/log2.png" x=485 y=610] +;バックログボタン +[button name="role_button" role="backlog" graphic="button/log.png" enterimg="button/log2.png" x="640" y="690"] -;メッセージウィンドウ非表示 -[button name="role_button" role="window" graphic="button/close.png" enterimg="button/close2.png" x=560 y=610] +;フルスクリーン切替ボタン +[button name="role_button" role="fullscreen" graphic="button/screen.png" enterimg="button/screen2.png" x="740" y="690"] -;フルスクリーン切替 -[button name="role_button" role="fullscreen" graphic="button/screen.png" enterimg="button/screen2.png" x=635 y=610] +;コンフィグボタン(※sleepgame を使用して config.ks を呼び出しています) +[button name="role_button" role="sleepgame" graphic="button/sleep.png" enterimg="button/sleep2.png" storage="config.ks" x="840" y="690"] -;メニュー呼び出し(※ロールボタンを使うなら不要) -[button name="role_button" role="menu" graphic="button/menu.png" enterimg="button/menu2.png" x=710 y=610] +;メニュー呼び出しボタン(※ロールボタンを使うなら不要) +[button name="role_button" role="menu" graphic="button/menu.png" enterimg="button/menu2.png" x="940" y="690"] -;コンフィグ(※sleepgame を使用して config.ks を呼び出しています) -[button name="role_button" role="sleepgame" graphic="button/sleep.png" enterimg="button/sleep2.png" x=785 y=610 storage="config.ks"] +;メッセージウィンドウ非表示ボタン +[button name="role_button" role="window" graphic="button/close.png" enterimg="button/close2.png" x="1040" y="690"] -;タイトルに戻る -[button name="role_button" role="title" graphic="button/title.png" enterimg="button/title2.png" x=860 y=610] +;タイトルに戻るボタン +[button name="role_button" role="title" graphic="button/title.png" enterimg="button/title2.png" x="1140" y="690"] ;;ロールボタン追加終わり diff --git a/release/master_tyrano/data/scenario/title.ks b/release/master_tyrano/data/scenario/title.ks index 98c8b16d..75aa922c 100644 --- a/release/master_tyrano/data/scenario/title.ks +++ b/release/master_tyrano/data/scenario/title.ks @@ -7,11 +7,11 @@ *start -[button x=100 y=250 graphic="title/button_start.png" target="gamestart"] -[button x=100 y=320 graphic="title/button_load.png" role="load" ] -[button x=100 y=390 graphic="title/button_cg.png" storage="cg.ks" ] -[button x=100 y=460 graphic="title/button_replay.png" storage="replay.ks" ] -[button x=100 y=530 graphic="title/button_config.png" role="sleepgame" storage="config.ks" ] +[button x=135 y=230 graphic="title/button_start.png" enterimg="title/button_start2.png" target="gamestart"] +[button x=135 y=320 graphic="title/button_load.png" enterimg="title/button_load2.png" role="load" ] +[button x=135 y=410 graphic="title/button_cg.png" enterimg="title/button_cg2.png" storage="cg.ks" ] +[button x=135 y=500 graphic="title/button_replay.png" enterimg="title/button_replay2.png" storage="replay.ks" ] +[button x=135 y=590 graphic="title/button_config.png" enterimg="title/button_config2.png" role="sleepgame" storage="config.ks" ] [s] diff --git a/release/master_tyrano/data/system/Config.tjs b/release/master_tyrano/data/system/Config.tjs index 37afe734..40307e1b 100644 --- a/release/master_tyrano/data/system/Config.tjs +++ b/release/master_tyrano/data/system/Config.tjs @@ -56,8 +56,8 @@ // ◆ 画面サイズ // scWidth に画面の幅、scHeight に画面の高さをピクセル単位で指定します。 -;scWidth = 960; -;scHeight = 640; +;scWidth = 1280; +;scHeight = 720; // ◆ チャットノベル形式 // V5より。trueにするとチャットストーリー形式でゲームがプレイできます。 @@ -295,7 +295,7 @@ // ◆ 文字の大きさ // デフォルトの文字の大きさ ( 高さ ) を pixel 単位で指定します。 -;defaultFontSize = 24; // deffont タグの size 属性に相当 +;defaultFontSize = 28; // deffont タグの size 属性に相当 // ◆ 行間 @@ -316,7 +316,7 @@ // userFace の設定を変更し、適用したい場合はシステム変数ファイル // カンマで区切って複数のフォントを指定することができます。その場合は、最初 // の方に書いたフォントが存在すれば、優先されます。 -;userFace = Quicksand, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif; +;userFace = Quicksand, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif, Arial; // ◆ 文字の色 diff --git a/tyrano/html/backlog.html b/tyrano/html/backlog.html old mode 100644 new mode 100755 index 6c208b94..baeca81f --- a/tyrano/html/backlog.html +++ b/tyrano/html/backlog.html @@ -1,20 +1,20 @@
-
- - - - - - -
- -
- -
- - - - + +
+ + + + + + +
+ +
+ +
+ + +
\ No newline at end of file diff --git a/tyrano/html/load.html b/tyrano/html/load.html old mode 100644 new mode 100755 index fb616477..ad8f049d --- a/tyrano/html/load.html +++ b/tyrano/html/load.html @@ -1,60 +1,54 @@
- -
- - - - - -
- - - -
- - - - - - - + $(".menu_item").hover(function(){ + tmp_src = $(this).find("img").attr("src"); + var img_src = tmp_src.replace(".png","2.png"); + $(this).find("img").attr("src",img_src); + }, + function(){ + + //もとにもどす + $(this).find("img").attr("src",tmp_src); + }); +
\ No newline at end of file diff --git a/tyrano/html/menu.html b/tyrano/html/menu.html old mode 100644 new mode 100755 index 27b792e6..2aebdf9f --- a/tyrano/html/menu.html +++ b/tyrano/html/menu.html @@ -1,52 +1,57 @@
-
- - - -
- -
- - - - - - - - - -
- -
- - - - + +
+ + + +
+ +
+ + + + + + + + + + + +
+ +
+ + + + + +
\ No newline at end of file diff --git a/tyrano/html/save.html b/tyrano/html/save.html old mode 100644 new mode 100755 index 7f0084fd..406a59e6 --- a/tyrano/html/save.html +++ b/tyrano/html/save.html @@ -1,25 +1,27 @@
- +
- - - -
+ + + +
-
    +
      {{for array_save}} -
    • - +
    • + {{if img_data != ""}} - + {{/if}} - - {{:save_date}} - {{:title}} + + {{:save_date}} + {{:title}}
    • {{/for}} @@ -27,33 +29,23 @@
- - + + + + - - - -
\ No newline at end of file diff --git a/tyrano/images/system/arrow_down.png b/tyrano/images/system/arrow_down.png old mode 100644 new mode 100755 index 493e8795..019f20fd Binary files a/tyrano/images/system/arrow_down.png and b/tyrano/images/system/arrow_down.png differ diff --git a/tyrano/images/system/arrow_next.png b/tyrano/images/system/arrow_next.png old mode 100644 new mode 100755 index bfb7f360..ff6aff17 Binary files a/tyrano/images/system/arrow_next.png and b/tyrano/images/system/arrow_next.png differ diff --git a/tyrano/images/system/arrow_prev.png b/tyrano/images/system/arrow_prev.png old mode 100644 new mode 100755 index 0548f721..bae229d0 Binary files a/tyrano/images/system/arrow_prev.png and b/tyrano/images/system/arrow_prev.png differ diff --git a/tyrano/images/system/arrow_up.png b/tyrano/images/system/arrow_up.png old mode 100644 new mode 100755 index 8fc98ad8..8bc7e135 Binary files a/tyrano/images/system/arrow_up.png and b/tyrano/images/system/arrow_up.png differ diff --git a/tyrano/images/system/bg_base.png b/tyrano/images/system/bg_base.png old mode 100644 new mode 100755 index 015e3721..4d9fa2a7 Binary files a/tyrano/images/system/bg_base.png and b/tyrano/images/system/bg_base.png differ diff --git a/tyrano/images/system/label_backlog.png b/tyrano/images/system/label_backlog.png old mode 100644 new mode 100755 index 96de6d9b..20332039 Binary files a/tyrano/images/system/label_backlog.png and b/tyrano/images/system/label_backlog.png differ diff --git a/tyrano/images/system/label_cgmode.png b/tyrano/images/system/label_cgmode.png new file mode 100755 index 00000000..937fde0f Binary files /dev/null and b/tyrano/images/system/label_cgmode.png differ diff --git a/tyrano/images/system/label_load.png b/tyrano/images/system/label_load.png old mode 100644 new mode 100755 index 4912478f..f6207899 Binary files a/tyrano/images/system/label_load.png and b/tyrano/images/system/label_load.png differ diff --git a/tyrano/images/system/label_menu.png b/tyrano/images/system/label_menu.png old mode 100644 new mode 100755 index e74daefe..d1be8b89 Binary files a/tyrano/images/system/label_menu.png and b/tyrano/images/system/label_menu.png differ diff --git a/tyrano/images/system/label_recollection.png b/tyrano/images/system/label_recollection.png old mode 100644 new mode 100755 index 7862efba..76606ddd Binary files a/tyrano/images/system/label_recollection.png and b/tyrano/images/system/label_recollection.png differ diff --git a/tyrano/images/system/label_save.png b/tyrano/images/system/label_save.png old mode 100644 new mode 100755 index e072b3fd..b288c178 Binary files a/tyrano/images/system/label_save.png and b/tyrano/images/system/label_save.png differ diff --git a/tyrano/images/system/menu_button_close.png b/tyrano/images/system/menu_button_close.png old mode 100644 new mode 100755 index aadcb79f..5265cc1c Binary files a/tyrano/images/system/menu_button_close.png and b/tyrano/images/system/menu_button_close.png differ diff --git a/tyrano/images/system/menu_button_close2.png b/tyrano/images/system/menu_button_close2.png old mode 100644 new mode 100755 index 15194de2..d81c971c Binary files a/tyrano/images/system/menu_button_close2.png and b/tyrano/images/system/menu_button_close2.png differ diff --git a/tyrano/images/system/menu_button_load.png b/tyrano/images/system/menu_button_load.png old mode 100644 new mode 100755 index 919d291d..062ed960 Binary files a/tyrano/images/system/menu_button_load.png and b/tyrano/images/system/menu_button_load.png differ diff --git a/tyrano/images/system/menu_button_load2.png b/tyrano/images/system/menu_button_load2.png old mode 100644 new mode 100755 index 1de5c30f..897a90c0 Binary files a/tyrano/images/system/menu_button_load2.png and b/tyrano/images/system/menu_button_load2.png differ diff --git a/tyrano/images/system/menu_button_save.png b/tyrano/images/system/menu_button_save.png old mode 100644 new mode 100755 index 0ef34b48..31f2be18 Binary files a/tyrano/images/system/menu_button_save.png and b/tyrano/images/system/menu_button_save.png differ diff --git a/tyrano/images/system/menu_button_save2.png b/tyrano/images/system/menu_button_save2.png old mode 100644 new mode 100755 index 1d40368c..bb2154c6 Binary files a/tyrano/images/system/menu_button_save2.png and b/tyrano/images/system/menu_button_save2.png differ diff --git a/tyrano/images/system/menu_button_skip.png b/tyrano/images/system/menu_button_skip.png old mode 100644 new mode 100755 index c89f9766..fafe071f Binary files a/tyrano/images/system/menu_button_skip.png and b/tyrano/images/system/menu_button_skip.png differ diff --git a/tyrano/images/system/menu_button_skip2.png b/tyrano/images/system/menu_button_skip2.png old mode 100644 new mode 100755 index 92fb6b3c..d2bead6d Binary files a/tyrano/images/system/menu_button_skip2.png and b/tyrano/images/system/menu_button_skip2.png differ diff --git a/tyrano/images/system/menu_button_title.png b/tyrano/images/system/menu_button_title.png old mode 100644 new mode 100755 index 1fd67cf1..be8502cd Binary files a/tyrano/images/system/menu_button_title.png and b/tyrano/images/system/menu_button_title.png differ diff --git a/tyrano/images/system/menu_button_title2.png b/tyrano/images/system/menu_button_title2.png old mode 100644 new mode 100755 index 3f330cff..96554b07 Binary files a/tyrano/images/system/menu_button_title2.png and b/tyrano/images/system/menu_button_title2.png differ diff --git a/tyrano/images/system/menu_message_close.png b/tyrano/images/system/menu_message_close.png old mode 100644 new mode 100755 index 78cada35..d9956312 Binary files a/tyrano/images/system/menu_message_close.png and b/tyrano/images/system/menu_message_close.png differ diff --git a/tyrano/images/system/menu_message_close2.png b/tyrano/images/system/menu_message_close2.png old mode 100644 new mode 100755 index be2cd603..d1289b90 Binary files a/tyrano/images/system/menu_message_close2.png and b/tyrano/images/system/menu_message_close2.png differ diff --git a/tyrano/images/system/saveslot.png b/tyrano/images/system/saveslot.png new file mode 100755 index 00000000..f36efbf2 Binary files /dev/null and b/tyrano/images/system/saveslot.png differ diff --git a/tyrano/images/system/thumbnail.png b/tyrano/images/system/thumbnail.png new file mode 100755 index 00000000..c44e6bee Binary files /dev/null and b/tyrano/images/system/thumbnail.png differ diff --git a/tyrano/libs.js b/tyrano/libs.js index 3fb8b5e3..9df4f7c7 100644 --- a/tyrano/libs.js +++ b/tyrano/libs.js @@ -955,7 +955,6 @@ } path = $.getExtWithFile(path).dir_name; - console.log(path); }else if(process.platform == "win32"){ diff --git a/tyrano/plugins/kag/kag.tag.js b/tyrano/plugins/kag/kag.tag.js index 8a2baf7e..c4625599 100644 --- a/tyrano/plugins/kag/kag.tag.js +++ b/tyrano/plugins/kag/kag.tag.js @@ -119,6 +119,9 @@ tyrano.plugin.kag.ftag = { tag.ks_file = this.kag.stat.current_scenario; this.kag.studio.pushConsole(tag); + this.kag.log("**:" + this.current_order_index + " line:" + tag.line); + this.kag.log(tag); + }else{ this.kag.log("**:" + this.current_order_index + " line:" + tag.line); diff --git a/tyrano/plugins/kag/kag.tag_audio.js b/tyrano/plugins/kag/kag.tag_audio.js index 718f9288..120810ce 100644 --- a/tyrano/plugins/kag/kag.tag_audio.js +++ b/tyrano/plugins/kag/kag.tag_audio.js @@ -1161,7 +1161,6 @@ tyrano.plugin.kag.tag.vostop = { 読み上げ機能の有効化 :exp ストーリーのシナリオを音声で読み上げることができます。 - *ブラウザのみ動作。PC版パッケージ版では動作しません。 :sample [speak_on ] :param @@ -1181,7 +1180,7 @@ tyrano.plugin.kag.tag.speak_on = { var that = this; - if ($.isNWJS()!=true && 'speechSynthesis' in window) { + if ('speechSynthesis' in window) { that.kag.stat.play_speak = true; }else{ console.error("*error:この環境は[speak_on]の読み上げ機能に対応していません"); diff --git a/tyrano/plugins/kag/kag.tag_system.js b/tyrano/plugins/kag/kag.tag_system.js index 52983db1..7d2e82c6 100644 --- a/tyrano/plugins/kag/kag.tag_system.js +++ b/tyrano/plugins/kag/kag.tag_system.js @@ -2462,10 +2462,12 @@ tyrano.plugin.kag.tag.check_web_patch = { var url = $.getDirPath(pm.url) + file; if(url.indexOf("https")!=-1){ - alert("エラー:SSL(https)の通信は非対応です"); - return; + http = require('https'); + //alert("エラー:SSL(https)の通信は非対応です"); + //return; } + // 出力ファイル名を指定 var patch_path = $.localFilePath(); patch_path = patch_path + "/" + file; diff --git a/tyrano/tyrano.css b/tyrano/tyrano.css index 38c40002..c85e9523 100644 --- a/tyrano/tyrano.css +++ b/tyrano/tyrano.css @@ -62,8 +62,107 @@ abbr,acronym{ /*メニュ-ボタン系*/ -.menu_item {position:relative;margin-top:3%;text-align:center;cursor:pointer} -.menu_item img {width:auto;max-width:80%;max-height:10%;} +.menu_item { + position: relative; + margin-top: 2%; + text-align: center; + cursor: pointer; +} + +.menu_item img { + width: auto; + height: auto; + max-width: 100%; + max-height: 100%; + margin-right: 10px; +} + +/* セーブ */ +.menu_save { + display: inline-block; + position: absolute; + margin: 0; + padding: 0; + top: 200px; + left: 380px; +} + +/* ロード */ +.menu_load { + display: inline-block; + position: absolute; + margin: 0; + padding: 0; + top: 280px; + left: 380px; +} + +/* テキスト消去 */ +.menu_window_close { + display: inline-block; + position: absolute; + margin: 0; + padding: 0; + top: 360px; + left: 380px; +} + +/* メッセージスキップ */ +.menu_skip { + display: inline-block; + position: absolute; + margin: 0; + padding: 0; + top: 440px; + left: 380px; +} + +/* タイトルに戻る */ +.menu_back_title { + display: inline-block; + position: absolute; + margin: 0; + padding: 0; + top: 520px; + left: 380px; +} + + +/* バックログ画面 +--------------------------------------*/ +.log_body { + width: 1000px; + height: 450px; + margin: 50px 0 0 0; + padding: 20px; + border: 1px solid #798993; + border-radius: 0; + color: #798993; + background: rgba(251, 250, 249, .5); + font-weight: normal; + text-align: left; + line-height: 1.6em; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +/* スクロールバー */ +.log_body::-webkit-scrollbar { + width: 12px; +} + +.log_body::-webkit-scrollbar-thumb { + border-radius: 0; + background: #0F60EA; +} + +.log_body::-webkit-scrollbar-track{ + background: none; +} + + .display_menu .button:first-child {margin-top:0;} .display_menu{ overflow:visible;padding:0; @@ -77,67 +176,131 @@ abbr,acronym{ /* セーブ時の画面の設定 --------------------------*/ +/* セーブデータリスト全体の設定 */ + +.area_save_list { + display: block; + width: 1100px; + height: 520px; + margin: 30px 0 0 0; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + -webkit-transform: translateZ(0); + transform: translateZ(0); +} + +/* スクロールバー */ +.area_save_list::-webkit-scrollbar { + width:12px; +} + +.area_save_list::-webkit-scrollbar-thumb { + border-radius: 0; + background: #0F60EA; +} + +.area_save_list::-webkit-scrollbar-track { + border-radius: 0; + background: rgba(255, 255, 255, 0.5); +} + + /* セーブデータリスト全体の設定 */ .save_list { display: table; table-layout: fixed; - width: 70%; - height:76px; - font-size: 14px; + width: 1010px; + height: 120px; + margin: 0; + padding: 0; + font-size: 18px; font-weight: normal; - border-top: 1px dotted #CCC; + border: none; + border-collapse: separate; + border-spacing: 0 10px; + box-sizing: border-box; } /* セーブデータの設定 */ .save_list_item { - display: table-row; + display:table-row; + width: 1000px; + height: 120px; + margin: 0; + padding: 0; + border: none; cursor: pointer; } +.save_list_item:hover{ + background-color: rgba(153, 219, 255, .5); +} + + /* セーブデータのサムネイル部分の設定 */ .save_list_item_thumb { display: table-cell; - width: 96px; - height:72px; - padding-top:5px; - padding-left:10px; - border-bottom: 1px dotted #CCC; - -} - + width: 190px; + height: 120px; + margin: 0; + padding: 0; + background-color: rgba(255 ,255 ,255 ,.3); + background-image: url('images/system/saveslot.png'); + background-repeat: y-repeat; + background-position: left top; + box-sizing: border-box; +} + +/* サムネイル画像の設定 */ .save_list_item_thumb img { - width: 96px; - height: 72px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; + width: 160px; + height: 90px; + margin: 15px 3px 0 0; + padding: 0; + border-radius: 0; } /* セーブデータのテキスト部文の設定 */ .save_list_item_area { display: table-cell; + width: 810px; + height: 120px; + padding: 15px 10px 0 0; + border:none; + border-radius: 0; + background-color: rgba(255 ,255 ,255 ,.3); + background-image: url('images/system/saveslot.png'); + background-repeat: y-repeat; + background-position: right top; + text-align: left; vertical-align: top; - padding: 0 10px; - border-bottom: 1px dotted #CCC; + box-sizing: border-box; } + /* セーブデータの日付の設定 */ .save_list_item_date { display: block; - padding: 5px 0; + margin: 0; + padding: 0 0 0 20px; line-height: 1; - color:#48D1CC; + color: #02ABE6; + font-weight: bold; + box-sizing: border-box; } + /* セーブデータのテキストの設定 */ .save_list_item_text { display: block; + height: 70px; + margin: 0; + padding: 5px 0 0 20px; line-height: 1.3; - height: 48px; + color: #666; overflow: hidden; - color:#666; + box-sizing: border-box; } - .layer_event_click{ -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: rgba(0, 0, 0, 0);