Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #東方弾幕風[Stage]
- #ScriptVersion[3]
- #Title["test"]
- #Text[""]
- #System["./lib/system.txt"]
- @Initialize
- {
- SetPlayerLife(99);
- TStage();
- }
- @MainLoop
- {
- yield;
- }
- @Finalize
- {
- }
- task TStage
- {
- //ボス再生
- let boss = GetCurrentScriptDirectory ~ "cirno.txt";
- let idboss = LoadScriptInThread(boss);
- let path = GetCurrentScriptDirectory ~ "plural.txt";
- let idpath = LoadScriptInThread(path);
- loop(60){yield;}//1秒くらいあれば、コンパイル完了すると思われる。
- StartScript(idboss);
- StartScript(idpath);
- //敵ボスシーンが終了するまで待機
- while(!IsCloseScript(idboss) && GetPlayerState() != STATE_END)
- {
- yield;
- }
- //~~~敵の出現やボスの出現を繰り返す。
- loop(240){yield;}
- //ステージ終了
- CloseStgScene();
- }
Advertisement
Add Comment
Please, Sign In to add comment