From 94f2e880cd2b1286b0a763c5931bb474c38a3cd9 Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 2 Apr 2018 23:08:07 -0400 Subject: [PATCH] Additional effect tweaks --- core/assets/version.properties | 2 +- core/src/io/anuke/mindustry/graphics/fx/BulletFx.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/assets/version.properties b/core/assets/version.properties index 16c01575ea..bf8eeea52b 100644 --- a/core/assets/version.properties +++ b/core/assets/version.properties @@ -1,5 +1,5 @@ #Autogenerated file. Do not modify. -#Mon Apr 02 22:50:31 EDT 2018 +#Mon Apr 02 23:01:45 EDT 2018 version=release androidBuildCode=815 name=Mindustry diff --git a/core/src/io/anuke/mindustry/graphics/fx/BulletFx.java b/core/src/io/anuke/mindustry/graphics/fx/BulletFx.java index d5f8b3c916..8bece9b4c3 100644 --- a/core/src/io/anuke/mindustry/graphics/fx/BulletFx.java +++ b/core/src/io/anuke/mindustry/graphics/fx/BulletFx.java @@ -24,7 +24,7 @@ public class BulletFx { }), 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) -> { Fill.circle(e.x + x, e.y + y, e.fract()*1.5f); @@ -34,7 +34,7 @@ public class BulletFx { }), shellEjectSmall = new Effect(30f, e -> { - Draw.color(Color.LIGHT_GRAY); + Draw.color(lightOrange, Color.LIGHT_GRAY, Color.GRAY, e.ifract()); Draw.alpha(e.fract()); float rot = e.rotation + 90f; for(int i : Mathf.signs){