Drill visual fix
This commit is contained in:
@@ -60,7 +60,7 @@ public class CrashSender{
|
|||||||
}catch(Throwable ignored){}
|
}catch(Throwable ignored){}
|
||||||
|
|
||||||
//don't create crash logs for custom builds, as it's expected
|
//don't create crash logs for custom builds, as it's expected
|
||||||
if(Version.build == -1 || (System.getProperty("user.name").equals("anuke") && "release".equals(Version.modifier))){
|
if(Version.build == -1 || (System.getProperty("user.name").equals("anuke") && !"steam".equals(Version.modifier))){
|
||||||
ret();
|
ret();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public class BeamDrill extends Block{
|
|||||||
public Color sparkColor = Color.valueOf("fd9e81"), glowColor = Color.white;
|
public Color sparkColor = Color.valueOf("fd9e81"), glowColor = Color.white;
|
||||||
public float glowIntensity = 0.2f, pulseIntensity = 0.07f;
|
public float glowIntensity = 0.2f, pulseIntensity = 0.07f;
|
||||||
public float glowScl = 3f;
|
public float glowScl = 3f;
|
||||||
public int sparks = 12;
|
public int sparks = 11;
|
||||||
public float sparkRange = 10f, sparkLife = 27f, sparkRecurrence = 4f, sparkSpread = 45f, sparkSize = 3.5f;
|
public float sparkRange = 10f, sparkLife = 27f, sparkRecurrence = 4f, sparkSpread = 45f, sparkSize = 3.5f;
|
||||||
|
|
||||||
public BeamDrill(String name){
|
public BeamDrill(String name){
|
||||||
@@ -251,7 +251,7 @@ public class BeamDrill extends Block{
|
|||||||
Lines.stroke(warmup);
|
Lines.stroke(warmup);
|
||||||
rand.setState(i, id);
|
rand.setState(i, id);
|
||||||
Color col = face.wallDrop().color;
|
Color col = face.wallDrop().color;
|
||||||
for(int j = 0; j < 16; j++){
|
for(int j = 0; j < sparks; j++){
|
||||||
float fin = (Time.time / sparkLife + rand.random(sparkRecurrence + 1f)) % sparkRecurrence;
|
float fin = (Time.time / sparkLife + rand.random(sparkRecurrence + 1f)) % sparkRecurrence;
|
||||||
float or = rand.range(2f);
|
float or = rand.range(2f);
|
||||||
Tmp.v1.set(sparkRange * fin, 0).rotate(rotdeg() + rand.range(sparkSpread));
|
Tmp.v1.set(sparkRange * fin, 0).rotate(rotdeg() + rand.range(sparkSpread));
|
||||||
|
|||||||
Reference in New Issue
Block a user