chonkier food chunks
This commit is contained in:
parent
024e9939f4
commit
6a27162c5c
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ namespace snake;
|
||||||
|
|
||||||
static class VFX
|
static class VFX
|
||||||
{
|
{
|
||||||
public static Particle[] particles = new Particle[32];
|
public static Particle[] particles = new Particle[64];
|
||||||
static int index = 0;
|
static int index = 0;
|
||||||
|
|
||||||
public static void Init()
|
public static void Init()
|
||||||
|
@ -25,7 +25,7 @@ static class VFX
|
||||||
particle.pos = pos.ToVec3;
|
particle.pos = pos.ToVec3;
|
||||||
particle.vel = Quat.FromAngles(Random.Shared.NextSingle() * 360, 0, 0) * Quat.FromAngles(0, Random.Shared.NextSingle() * 360, 0) * Vec3.Forward * 6.0f;
|
particle.vel = Quat.FromAngles(Random.Shared.NextSingle() * 360, 0, 0) * Quat.FromAngles(0, Random.Shared.NextSingle() * 360, 0) * Vec3.Forward * 6.0f;
|
||||||
particle.ori = Quat.Identity;
|
particle.ori = Quat.Identity;
|
||||||
particle.scl = (1.0f / 8) * Maths.smooth_stop(Random.Shared.NextSingle());
|
particle.scl = (1.0f / 3) * Maths.smooth_start(Random.Shared.NextSingle());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue