Advertisement
Tectoon

Spirit

Oct 29th, 2015
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. lights={"10"}
  2.  pAtOnce=50
  3.  radiusX=100
  4.  radiusY=100
  5.  speedX=100
  6.  speedY=100
  7.  function eventLoop(ct,tr)
  8.  for i=1,pAtOnce do
  9.  tfm.exec.displayParticle(lights[math.random(#lights)],math.random(400-radiusX*4,400+radiusX*4),math.random(200-radiusY*2,200+radiusY*2),"0."..speedX,"0."..speedY,"0."..speedX,"0."..speedY,nil)
  10.  end
  11.  end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement