Improve Doom's bullet puff's visuals by only making it translucent when the sprite appears smoke-ey, and also always billboard it

This commit is contained in:
nashmuhandes 2023-03-19 04:12:53 +08:00
commit 8fef2c8e71

View file

@ -62,8 +62,7 @@ class BulletPuff : Actor
+ALLOWPARTICLES
+RANDOMIZE
+ZDOOMTRANS
RenderStyle "Translucent";
Alpha 0.5;
+FORCEXYBILLBOARD
VSpeed 1;
Mass 5;
}
@ -73,7 +72,7 @@ class BulletPuff : Actor
PUFF A 4 Bright;
PUFF B 4;
Melee:
PUFF CD 4;
PUFF CD 4 A_SetRenderStyle(0.7, STYLE_Translucent);
Stop;
}
}