Added mini particles for teleporting.

This commit is contained in:
2023-07-06 03:43:34 -05:00
parent 88666b1d61
commit 78b6113d8e
6 changed files with 15 additions and 7 deletions
+2 -1
View File
@@ -8,8 +8,9 @@ struct Effect{
float lifetime=0;
float fadeout=0;
float size=1;
Pixel col=WHITE;
vf2d spd={};
Effect(vf2d pos,float lifetime,AnimationState animation,float size=1.0f,float fadeout=0.0f,vf2d spd={});
Effect(vf2d pos,float lifetime,AnimationState animation,float size=1.0f,float fadeout=0.0f,vf2d spd={},Pixel col=WHITE);
bool Update(float fElapsedTime);
Animate2D::Frame GetFrame();
void Draw();