Additional effect tweaks

This commit is contained in:
Anuken
2018-04-02 23:08:07 -04:00
parent c03aa6300e
commit 94f2e880cd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#Autogenerated file. Do not modify. #Autogenerated file. Do not modify.
#Mon Apr 02 22:50:31 EDT 2018 #Mon Apr 02 23:01:45 EDT 2018
version=release version=release
androidBuildCode=815 androidBuildCode=815
name=Mindustry name=Mindustry
@@ -24,7 +24,7 @@ public class BulletFx {
}), }),
shootSmallSmoke = new Effect(20f, e -> { shootSmallSmoke = new Effect(20f, e -> {
Draw.color(Color.GRAY); Draw.color(lighterOrange, Color.LIGHT_GRAY, Color.GRAY, e.ifract());
Angles.randLenVectors(e.id, 5, e.powfract()*6f, e.rotation, 20f, (x, y) -> { Angles.randLenVectors(e.id, 5, e.powfract()*6f, e.rotation, 20f, (x, y) -> {
Fill.circle(e.x + x, e.y + y, e.fract()*1.5f); Fill.circle(e.x + x, e.y + y, e.fract()*1.5f);
@@ -34,7 +34,7 @@ public class BulletFx {
}), }),
shellEjectSmall = new Effect(30f, e -> { shellEjectSmall = new Effect(30f, e -> {
Draw.color(Color.LIGHT_GRAY); Draw.color(lightOrange, Color.LIGHT_GRAY, Color.GRAY, e.ifract());
Draw.alpha(e.fract()); Draw.alpha(e.fract());
float rot = e.rotation + 90f; float rot = e.rotation + 90f;
for(int i : Mathf.signs){ for(int i : Mathf.signs){