KunoNoOni

cleanse

Apr 21st, 2012
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private function cleanse(b:FlxSprite,e:FlxSprite):void
  2.         {
  3.             greenV.velocity.y = 0;
  4.             for(var v:Number=1;v>0;v-.2)
  5.             {
  6.                 greenV.alpha = v;
  7.             }
  8.             if(greenV.alpha == 0)
  9.             {
  10.                 greenV.kill();
  11.             }
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment