Additional effect tweaks
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user