This commit is contained in:
@@ -32,7 +32,9 @@ public class Fx{
|
|||||||
//lifetime is how many frames it takes to fade out the trail
|
//lifetime is how many frames it takes to fade out the trail
|
||||||
e.lifetime = trail.length * 1.4f;
|
e.lifetime = trail.length * 1.4f;
|
||||||
|
|
||||||
trail.shorten();
|
if(!state.isPaused()){
|
||||||
|
trail.shorten();
|
||||||
|
}
|
||||||
trail.drawCap(e.color, e.rotation);
|
trail.drawCap(e.color, e.rotation);
|
||||||
trail.draw(e.color, e.rotation);
|
trail.draw(e.color, e.rotation);
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -72,7 +72,9 @@ public class Wall extends Block{
|
|||||||
Draw.blend();
|
Draw.blend();
|
||||||
Draw.reset();
|
Draw.reset();
|
||||||
|
|
||||||
hit = Mathf.clamp(hit - Time.delta / 10f);
|
if(!state.isPaused()){
|
||||||
|
hit = Mathf.clamp(hit - Time.delta / 10f);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user