ユーザ用ツール

サイト用ツール


faq

文書の過去の版を表示しています。


■ ■ ■ ■ FAQ ■ ■ ■ ■

Q.BGMのフェードインはどうすればよいですか?

A.fadebgmタグを使います


[macro name=‗BGM_FADEIN]
@bgmopt volume=0
@playbgm storage=%storage
@fadebgm time=%time|1000 volume=100
[endmacro]

※iOSはfadebgmが効きません(2021.07現在)

Q.SEのフェードアウト、フェードインはありますか?

A.fadeseタグを使います。

[macro name=FADEIN_SE]
@stopse buf=%buf|0
@seopt volume=0 buf=%buf|0
@playse buf=%buf|0 storage=%se loop=%loop|false
@fadese volume=100 buf=%buf time=%time|1000
[endmacro]

[macro name=FADEOUT_SE]
@fadese volume=0 buf=%buf|0 time=%time|1000
@ws buf=%buf|0 canskip=true
@seopt volume=100 buf=%buf|0
[endmacro]

※iOSはfadebgmが効きません(2021.07現在)

Q.顔絵の切替時に一瞬暗くなるのですがなんとかなりますか?

A.fronttext=trueを指定したレイヤのtransで発生します。
以下のマクロで代替えできます。

[macro name=change_face]
@image layer=newface storage=%hoge opacity=0 fronttext=true visible=true left=xxx top=xxx
@move layer=newface path=(,,255) time=500
@wm
@copylay srclayer=newface destlayer=oldface
@freeimage layer=newface
[endmacro]

Q.シーン回想で一覧に戻って画面を閉じるとスクリプトで作ったタイトル画面に飛びません

シーンの最後を以下のマクロで締めくくってください。
※「title_noseparate.sc」は飛びたいタイトル画面のスクリプトファイルになります。

[macro name="scene_end"]
@if exp="f.fromSceneList==true"
 [link storage=sceneAgain]もう一度見る[endlink]
 [link]一覧に戻る[endlink]
 @s
 @freeforeimages page=back
 @freeimage layer=base page=back
 @trans time=500
 @wt
 @menuexec category=13
 @jump storage=title_noseparate.sc
@endif
[endmacro]
faq.1627957276.txt.gz · 最終更新: 2021/08/03 11:21 by yam