Guest User

sanGayaFramework.dnh

a guest
Aug 29th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1.  
  2.  
  3. @Initialize {
  4. LoadMusic(music1);
  5. PlayMusic(music1);
  6. ForbidShot(true);
  7. LoadUserShotData(GCSD ~ "shot_define.dnh");
  8. SetLife(200000);
  9. SetScore(4000000);
  10. SetTimer(timer);
  11. SetDamageRate(250, 125);
  12. SetDurableSpellCard;
  13. LastSpell;
  14. LoadGraphic(ImgBoss);
  15. SetTexture(ImgBoss);
  16. setGraphicStop;
  17.  
  18. CutIn(YOUMU, spellName, "", 0, 0, 0, 0);
  19. TMain;
  20. // It is executed once at appearing.
  21. }
  22.  
  23. @MainLoop {
  24. SetCollisionA(GetX, GetY, 32);
  25. SetCollisionB(GetX, GetY, 16);
  26. distanceScore();
  27. yield;
  28. // Main loop.
  29. // It is executed once per frame, until the enemy is defeated.
  30. }
  31.  
  32. @DrawLoop {
  33. DrawGraphic(GetX, GetY);
  34. //setGraphicMove;
  35. // Drawing loop.
  36. // It is executed once per frame after the main loop, until the enemy is defeated.
  37. }
  38.  
  39. @Finalize {
  40. DeleteGraphic(ImgBoss);
  41. finalScore();
  42. // Finalization routine.
  43. // It is executed once at disappearing.
  44. }
  45.  
  46. //special poses
Advertisement
Add Comment
Please, Sign In to add comment