Impaler has been implemented. Beta testing begins.

This commit is contained in:
Marisa the Magician 2019-09-27 00:41:25 +02:00
commit 9a7f7df063
22 changed files with 756 additions and 50 deletions

View file

@ -213,9 +213,9 @@ Class UFlame : Actor
{
let s = Spawn("UTSmoke",pos);
s.vel = (FRandom[FlameT](-0.2,0.2),FRandom[FlameT](-0.2,0.2),FRandom[FlameT](-0.2,0.2));
s.vel += vel*0.6;
s.vel += vel*0.3;
s.alpha *= alpha*4;
s.scale = scale*(.5+GetAge()/6.);
s.scale *= 0.5+abs(scale.x)*(.5+GetAge()/6.);
Destroy();
return;
}
@ -223,9 +223,9 @@ Class UFlame : Actor
{
let s = Spawn("UTSmoke",pos);
s.vel = (FRandom[FlameT](-0.2,0.2),FRandom[FlameT](-0.2,0.2),FRandom[FlameT](-0.2,0.2));
s.vel += vel*0.6;
s.vel += vel*0.3;
s.alpha *= alpha*4;
s.scale = scale*(.5+GetAge()/6.);
s.scale *= 0.5+abs(scale.x)*(.5+GetAge()/6.);
}
if ( bAMBUSH ) return;
if ( Random[FlameT](0,int(20*((default.alpha+0.1)-alpha))) ) return;