Don't like ads? PRO users don't see any ads ;-)
Guest

YUKA LLS

By: a guest on Jun 26th, 2012  |  syntax: None  |  size: 0.80 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. task FloralRoundShot{
  2.                 let GapLength = 20;
  3.                 let Num = 12;
  4.                 let Frame = 5;
  5.                 let Way = 4 + 5;
  6.                 let _X = GetX();
  7.                 let _Y = GetY();
  8.                 let Speed = 1.1;
  9.                 let NumSpeed = ( 2.4 - Speed ) / ( Num - 1 );
  10.                 let Angle = rand( 0, 360 );
  11.                 let WayAngle = 360 / Way;
  12.                 let NumAngle = WayAngle * 0.55 / Num;
  13.                 let Graphic = US_BALL_BS_YELLOW;
  14.                 let Delay = 3;
  15.                 loop( 8 ){
  16.                         let _Speed = Speed;
  17.                         loop( Num ){   
  18.                                 let _Angle = Angle;
  19.                                 loop( 2 ){
  20.                                         loop( Way ){
  21.                                                 PlaySE( seShot5 );
  22.                                                 let X = GetGapX( _X, GapLength, _Angle );
  23.                                                 let Y = GetGapY( _Y, GapLength, _Angle );
  24.                                                 CreateShot01( X, Y, _Speed, _Angle, Graphic, Delay );
  25.                                                 _Angle += WayAngle;
  26.                                         }
  27.                                         _Angle = 180 - Angle;
  28.                                 }
  29.                                 Wait( Frame );
  30.                                 _Speed += NumSpeed;
  31.                                 Angle += NumAngle;
  32.                         }
  33.                 }
  34.         }