PIX GAME STUDIOではスタッフロールを簡単に作成することが出来ます。
こちらではスタッフロール関係の命令を纏めています。
オープン/クローズ
staffroll.open()
スタッフロールを開始します
※この命令は省略可能です
staffroll.close()
スタッフロールを終了します
wait.frame.key(6000*2) bgm.fadeout(120) screen.blackout(120) wait.frame(120) staffroll.close() wait.frame(60) layer.release.all() screen.blackin(60) adv.menu.on() reset
名前
staffroll.name.text(役職,名前)
staffroll.name.text(名前)
スタッフロールに名前を追加します。
staffroll.name.text("グラフィック","山田一郎")
staffroll.name.text("山田次郎")
staffroll.name.text("山田三郎")

staffroll.name.text.center(“名前”)
スタッフロールに名前を追加します。
staffroll.name.text("グラフィック","山田一郎")
staffroll.name.text("山田次郎")
staffroll.name.text("山田三郎")

staffroll.name.image(“画像ファイル名”[,”画像ファイル名”)
スタッフロール、名前、もしくは名前/役職名を追加します
staffroll.name.image("system\staffroll\00.png","system\staffroll\01.png")
staffroll.name.image("system\staffroll\02.png")
staffroll.name.image(“画像ファイル名”[,”画像ファイル名”)
スタッフロール、名前、もしくは名前/役職名を追加します
// 画像によるスタッフロール
staffroll.category.image("system\staffroll\00.png") // カテゴリ
staffroll.spacer(60) // スペーサー
staffroll.name.image.center("system\staffroll\01.png") // 名前
staffroll.name.image.center("system\staffroll\02.png") // 名前
staffroll.spacer(200)

カテゴリ
staffroll.category.text(“カテゴリ”)
staffroll.category.text("TEST")
staffroll.spacer(120)
staffroll.name.text("グラフィック","山田一郎")
staffroll.name.text("山田次郎")
staffroll.name.text("山田三郎")

staffroll.category.image(“画像ファイル名”)
カテゴリ画像を追加します
画像はセンタリングされて表示されます。
// 画像によるスタッフロール
staffroll.category.image("system\staffroll\00.png") // カテゴリ
staffroll.spacer(60) // スペーサー
staffroll.name.image.center("system\staffroll\01.png") // 名前
staffroll.name.image.center("system\staffroll\02.png") // 名前
staffroll.spacer(200) // スペーサー

画像
staffroll.image(“ファイル名”,X座標,Y座標(画面下からの相対座標),時間[,移動率,拡大率,不透明度)
スタッフロールに画像を追加します
// イベント画像
staffroll.image("cg\ev_ai_01_01.png",200,0,300,50,50,50)// CG
// テキストによるスタッフロール
staffroll.name.text("シナリオ","山田史郎")
staffroll.name.text("山田五郎")
staffroll.name.text("山田六郎")
staffroll.spacer(200)

スペーサー
staffroll.spacer(時間(フレーム))
スタッフロールに間隔を開けます
// テキストによるスタッフロール
staffroll.category.text("TEST")
staffroll.spacer(60)
staffroll.name.text("グラフィック","山田一郎")
staffroll.name.text("山田次郎")
staffroll.name.text("山田三郎")
staffroll.spacer(200)

フォント
- staffroll.text.size
- staffroll.text.official.size
- staffroll.text.color
- staffroll.text.color.edge
サンプル
// スタッフロール
label staffroll
// 始まる前の後始末
window.close()
adv.menu.off()
voice.background.stop()
se.stop.all()
se.h.stop.all()
screen.black()
screen.blackin(120)
// スタッフロールのBGMを再生
bgm.play("bgm\cr_bgm01.ogg",429974,3763936)
wait.frame(60)
// ここからスタッフロール
// 背景
// 縦長にしてスクロールさせる方法もあります
layer.load.legacy(0,"system\staffroll\back.png")
// テキストによるスタッフロール
staffroll.category.text("スタッフロール")
staffroll.spacer(60)
staffroll.name.text("グラフィック","山田一郎")
staffroll.name.text("山田次郎")
staffroll.name.text("山田三郎")
staffroll.spacer(200)
// 画像によるスタッフロール
staffroll.category.image("system\staffroll\00.png") // カテゴリ
staffroll.spacer(60) // スペーサー
staffroll.name.image.center("system\staffroll\01.png") // 名前
staffroll.name.image.center("system\staffroll\02.png") // 名前
staffroll.spacer(200) // スペーサー
// イベント画像
staffroll.image("cg\ev_ai_01_01.png",100,0,300,50,50,50)// CG
// テキストによるスタッフロール
staffroll.name.text("シナリオ","山田史郎")
staffroll.name.text("山田五郎")
staffroll.name.text("山田六郎")
staffroll.spacer(200)
// スタッフロール終了待ち
wait.staffroll()
wait.frame(120)
// 時間待ち
//wait.key.frame(6000*2)
// BGM終了待ちの場合
//wait.bgm()
// 終了処理
bgm.fadeout(120)
screen.blackout(120)
wait.frame(120)
// スタッフロールを終了させる
staffroll.close()
wait.frame(60)
layer.release.all()
screen.blackin(60)
adv.menu.on()
// 最初に戻る
reset
