Skip to content

Commit

Permalink
Implode...
Browse files Browse the repository at this point in the history
Witness the stars shatter before you.
  • Loading branch information
MEEPofFaith committed Mar 30, 2024
1 parent f781a91 commit 1308df9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/progressed/content/bullets/PayloadBullets.java
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public static void load(){
growTime = 4f * 60f;
slashTime = 4f * 60f;
lifetime = growTime + slashTime;
shrinkTime = 0f;
shrinkTime = 0.2f * 60f;
swirlEffect = MissileFx.bigBlackHoleSwirl;
loopSoundVolume = 6f;

Expand All @@ -430,7 +430,7 @@ public static void load(){
despawnEffect = MissileFx.blackHoleNukeExplode;
hitEffect = Fx.none;
starIn = Color.white;
starWidth = 12f * tilesize;
starWidth = 8f * tilesize;
starHeight = 3f * tilesize;
slashOffsetStart = 8f;
slashOffsetEnd = 32f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void draw(Bullet b){
if(b.time > b.lifetime - slashTime){
float ang = Mathf.randomSeed(b.id, Mathf.PI2);
float sfin = Interp.sineOut.apply(Mathf.curve(b.time, b.lifetime - slashTime, b.lifetime));
float off = Mathf.lerp(slashOffsetStart, slashOffsetEnd, sfin);
float off = Mathf.lerp(slashOffsetStart, slashOffsetEnd, sfin) * fout;
SlashRenderer.addSlash(b.x, b.y, ang, off);

ang *= Mathf.radDeg;
Expand Down

0 comments on commit 1308df9

Please sign in to comment.