sprite tweaks

This commit is contained in:
Anuken
2021-08-18 20:09:59 -04:00
parent 130f32f3cd
commit 1d32680ab2
4 changed files with 4 additions and 4 deletions

View File

@ -54,12 +54,12 @@ public class Liquids implements ContentList{
Color from = Color.valueOf("f98f4a"), to = Color.valueOf("9e172c");
//TODO could probably be improved...
particleSpacing = 65f;
particleSpacing = 70f;
particleEffect = new Effect(40f, e -> {
e.lifetime = Mathf.randomSeed(e.id + 2, 80f, 200f) * 3.2f;
color(from, to, Mathf.randomSeed(e.id, 1f));
Fill.circle(e.x, e.y, e.fslope() * Mathf.randomSeed(e.id + 1, 0.6f, 2.4f));
Fill.circle(e.x, e.y, e.fslope() * Mathf.randomSeed(e.id + 1, 0.6f, 2.5f));
}).layer(Layer.debris - 0.5f);
}};
}