コンフィグにスライダー導入 (Pixiv Fanbox)
Content
こちらのプラグインをまず入れて
scenario> config.ksの「BGM音量」「SE音量」「テキスト速度」「オート速度」の中身を以下のようにまるっと入れ替えるだけ。
;------------------------------------------------------------------------------------------------------
; BGM音量
;------------------------------------------------------------------------------------------------------
[iscript]
tf.bgm_exp = function(){
TYRANO.kag.ftag.startTag("bgmopt", {
volume: tf.current_bgm_vol
})
}
[endscript]
[slider name=bgm target="*vol_bgm_change" var="tf.current_bgm_vol" exp="tf.bgm_exp()" x=400 y=220 width=500 height=2 min=0 max=100 step=1 border=0 border_radius=0 thumb_width=50 thumb_height=50 thumb_img="config/thumb_slider.png" base_color="#990057" active_color=black tip_width=72 tip_height=32 tip_color="#F2F2F2" tip_text_color="#333" tip_text_size=20 tip_tail=false tip_pos=top tip_margin=30]
;------------------------------------------------------------------------------------------------------
; テキスト速度
;------------------------------------------------------------------------------------------------------
[iscript]
tf.ch_exp = function(){
TYRANO.kag.ftag.startTag("configdelay", {
speed: tf.set_ch_speed
})
}
[endscript]
[slider name=slider_ch target="*ch_speed_change" var="tf.set_ch_speed" exp="tf.ch_exp()" x=400 y=340 width=500 height=2 min=0 max=100 step=1 border=0 border_radius=0 thumb_width=50 thumb_height=50 thumb_img="config/thumb_slider.png" base_color="#990057" active_color=black tip_width=72 tip_height=32 tip_color="#F2F2F2" tip_text_color="#333" tip_text_size=20 tip_tail=false tip_pos=top tip_margin=30]