Advertisement
yoraimer

Untitled

Apr 29th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1. public void AI()
  2. {
  3.       projectile.AI(true);
  4.       Lighting.AddLight(
  5.       (int)(projectile.position.X/16),
  6.       (int)(projectile.position.Y/16),
  7.       0.7f,      //red
  8.       0.3f,      //green
  9.       0.2f      //blue
  10.       );
  11.       Dust.NewDust(
  12.       projectile.position,
  13.       projectile.width,
  14.       projectile.height,
  15.       6, //fire dust type
  16.       0,    // velocity X
  17.       0,  //velocity Y
  18.       0, //alpha (transparency , 0 is fully opaque and 255 is invisible)
  19.       2f //scale , 1 being the original size which is tiny.
  20.       );
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement