Advertisement
Guest User

rika

a guest
Jul 15th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #TouhouDanmakufu(Single)
  2. #ScriptVersion(3)
  3. #Title("rika 01")
  4. #Text("Simple Enemy")
  5.  
  6. let bossObjt;
  7. let bossX = 0;
  8. let bossY = 0;
  9. let imgBoss: GetCurrentScriptDirectory ~ "Rika.png";
  10.  
  11. @Initialize (
  12.  
  13. bossObjt = ObjEnemy_Create(OBJ_ENEMY_BOSS);
  14. ObjEnemy_REgist(BossObj)
  15.  
  16. ObjPrim_SetTexture(bossObj,imgBoss) ;
  17. ObjSprite2D_SetSourceRect(bossObj,0,0,110,110);
  18. ObjSprite2D_SetDeatCenter (bossObj);
  19. ObjMove_SetDeatAtSpeed(bossObj,192,120,5);
  20. )
  21.  
  22. @Event (
  23.  
  24. alternative(GetEvenType())
  25. case (EV_REQUEST_LIVE) (
  26. SetScriptResult(1500);
  27. )
  28. case (EV_REQUEST_TIMER) (
  29. SetScriptResult(60);
  30. )
  31. )
  32.  
  33. @MainLoop (
  34.  
  35. )
  36.  
  37. @Finalization (
  38.  
  39. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement