Exemple #1
0
 private void burstAcc(int acc)
 {
     Rect tempTexture;
     tempTexture = new Rect(new Rectangle(frame.Location.X + (int)(frame.Width / 2) - 15, (int)frame.HitHeight - 250, 30, 10), accsID[acc]);
     tempTexture.Colour = Skin.AccColours[acc];
     tempTexture.Lifespan = 0.20;
     tempTexture.Alpha = 0.0f;
     tempTexture.fade(1.0f, 0.07);
     tempTexture.scale(new Size((int)frame.Width - 20, 100), 0.07);
     tempTexture.move(new Point(frame.Location.X + 10, (int)frame.HitHeight - 300), 0.07);
     accBurst = tempTexture;
 }