Skip to content
Snippets Groups Projects
Commit 5d43c19f authored by dg's avatar dg
Browse files

neat firebeam particles

git-svn-id: http://svn.net-core.org/repos/t-engine4@694 51575b47-30f0-44d4-a5cc-537603b46e54
parent aa5e2678
No related branches found
No related tags found
No related merge requests found
......@@ -34,13 +34,13 @@ return { generator = function()
local r = rng.range(1, ray.size)
return {
life = 8,
size = 4, sizev = -0.2, sizea = 0,
life = 14,
size = 4, sizev = -0.1, sizea = 0,
x = r * math.cos(a) + 2 * math.cos(ra), xv = 0, xa = 0,
y = r * math.sin(a) + 2 * math.sin(ra), yv = 0, ya = 0,
dir = rng.percent(50) and ray.dir + math.rad(90) or ray.dir - math.rad(90), dirv = 0, dira = 0,
vel = rng.percent(80) and 1 or 0, velv = 0, vela = 0,
vel = rng.percent(80) and 1 or 0, velv = -0.2, vela = 0.01,
r = rng.range(220, 255)/255, rv = 0, ra = 0,
g = rng.range(200, 230)/255, gv = -0.04, ga = 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment