This commit is contained in:
Anuken 2021-09-12 11:07:18 -04:00
parent 24db94a55b
commit 35ffbef557
2 changed files with 6 additions and 2 deletions

View File

@ -32,7 +32,9 @@ public class Fx{
//lifetime is how many frames it takes to fade out the trail
e.lifetime = trail.length * 1.4f;
trail.shorten();
if(!state.isPaused()){
trail.shorten();
}
trail.drawCap(e.color, e.rotation);
trail.draw(e.color, e.rotation);
}),

View File

@ -72,7 +72,9 @@ public class Wall extends Block{
Draw.blend();
Draw.reset();
hit = Mathf.clamp(hit - Time.delta / 10f);
if(!state.isPaused()){
hit = Mathf.clamp(hit - Time.delta / 10f);
}
}
}