This commit is contained in:
Anuken
2022-05-10 10:17:43 -04:00
parent ca67b0f43c
commit 85d7f2cd62
3 changed files with 11 additions and 7 deletions

View File

@@ -116,7 +116,7 @@ public class ImpactReactor extends PowerGenerator{
Draw.blend(Blending.additive);
for(int i = 0; i < plasmaRegions.length; i++){
float r = size * tilesize - 3f + Mathf.absin(Time.time, 2f + i * 1f, 5f - i * 0.5f);
float r = ((float)plasmaRegions[i].width * Draw.scl - 3f + Mathf.absin(Time.time, 2f + i * 1f, 5f - i * 0.5f));
Draw.color(plasma1, plasma2, (float)i / plasmaRegions.length);
Draw.alpha((0.3f + Mathf.absin(Time.time, 2f + i * 2f, 0.3f + i * 0.05f)) * warmup);