Advertisement
Lavalake

Stage1 Problem

Dec 8th, 2012
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #TouhouDanmakufu[Stage]
  2. #Title[Stage 1]
  3. #Text[Test]
  4. #PlayLevel[Easy]
  5. #Player[FREE]
  6. #ScriptVersion[2]
  7.  
  8. script_stage_main{
  9.  
  10. function wait(frames){
  11. loop(frames){yield;}
  12. }
  13.  
  14.  
  15. function CreateStream(filepath,x,y,s,dir,argument,lo,wa){
  16. loop(lo){
  17. CreateEnemyFromFile(filepath,x,y,s,dir,argument);
  18. wait(wa);
  19. }
  20. }
  21.  
  22. task stage{
  23. CreateStream(GetCurrentScriptDirectory ~ "Stage1\Enemy-1.txt",GetClipMaxX-100,-5,3,90,0,10,20);
  24. wait(600);
  25. Clear;
  26.  
  27. }
  28.  
  29. @Initialize{
  30. stage;
  31. }
  32. @MainLoop{
  33. yield;
  34. }
  35. @BackGround{
  36.  
  37. }
  38. @Finalize{
  39.  
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement