Skip to content

Commit

Permalink
Remove screen dim from nuke.
Browse files Browse the repository at this point in the history
Was just a test draw, don't keep it in release.
  • Loading branch information
MEEPofFaith committed Mar 15, 2024
1 parent 8481123 commit 818eaa4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/progressed/content/effects/MissileFx.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import mindustry.entities.*;
import mindustry.gen.*;
import mindustry.graphics.*;
import progressed.graphics.renders.*;

import static arc.graphics.g2d.Draw.*;
import static arc.graphics.g2d.Lines.*;
Expand Down Expand Up @@ -157,10 +156,6 @@ public class MissileFx{
}

e.scaled(baseLifetime, s -> {
//TODO probably won't keep these
PMRenders.dimGlow(e.x, e.y, Interp.pow10Out.apply(Mathf.clamp(e.fin() * 2)) * 25f * intensity, 0.9f * Interp.sineOut.apply(Mathf.clamp(s.fout() * 3)) * 0.5f);
PMRenders.dimAlpha(Interp.sineOut.apply(Mathf.clamp(s.fslope() * 3/2)) * 0.5f);

color(Color.gray);
s.scaled(5 + intensity * 2f, i -> {
stroke((3.1f + intensity/5f) * i.fout());
Expand Down

0 comments on commit 818eaa4

Please sign in to comment.