Texture compression & fixes
|
@ -26,7 +26,6 @@ public class ParticleTenaneaPetal extends SpriteBillboardParticle {
|
||||||
private double nextVX;
|
private double nextVX;
|
||||||
private double nextVY;
|
private double nextVY;
|
||||||
private double nextVZ;
|
private double nextVZ;
|
||||||
private float angleSpeed;
|
|
||||||
|
|
||||||
protected ParticleTenaneaPetal(ClientWorld world, double x, double y, double z, double r, double g, double b, SpriteProvider sprites) {
|
protected ParticleTenaneaPetal(ClientWorld world, double x, double y, double z, double r, double g, double b, SpriteProvider sprites) {
|
||||||
super(world, x, y, z, r, g, b);
|
super(world, x, y, z, r, g, b);
|
||||||
|
@ -44,7 +43,6 @@ public class ParticleTenaneaPetal extends SpriteBillboardParticle {
|
||||||
this.maxAge = MHelper.randRange(120, 200, random);
|
this.maxAge = MHelper.randRange(120, 200, random);
|
||||||
this.scale = MHelper.randRange(0.05F, 0.15F, random);
|
this.scale = MHelper.randRange(0.05F, 0.15F, random);
|
||||||
this.setColorAlpha(0);
|
this.setColorAlpha(0);
|
||||||
this.angle = 0.1F;//random.nextFloat() * MHelper.PI2;
|
|
||||||
|
|
||||||
preVX = 0;
|
preVX = 0;
|
||||||
preVY = 0;
|
preVY = 0;
|
||||||
|
@ -53,11 +51,6 @@ public class ParticleTenaneaPetal extends SpriteBillboardParticle {
|
||||||
nextVX = random.nextGaussian() * 0.02;
|
nextVX = random.nextGaussian() * 0.02;
|
||||||
nextVY = -random.nextDouble() * 0.02 - 0.02;
|
nextVY = -random.nextDouble() * 0.02 - 0.02;
|
||||||
nextVZ = random.nextGaussian() * 0.02;
|
nextVZ = random.nextGaussian() * 0.02;
|
||||||
|
|
||||||
angleSpeed = random.nextFloat() * 0.0001F + 0.0001F;
|
|
||||||
if (random.nextBoolean()) {
|
|
||||||
angleSpeed = -angleSpeed;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -92,7 +85,6 @@ public class ParticleTenaneaPetal extends SpriteBillboardParticle {
|
||||||
this.velocityX = MathHelper.lerp(delta, preVX, nextVX);
|
this.velocityX = MathHelper.lerp(delta, preVX, nextVX);
|
||||||
this.velocityY = MathHelper.lerp(delta, preVY, nextVY);
|
this.velocityY = MathHelper.lerp(delta, preVY, nextVY);
|
||||||
this.velocityZ = MathHelper.lerp(delta, preVZ, nextVZ);
|
this.velocityZ = MathHelper.lerp(delta, preVZ, nextVZ);
|
||||||
//this.angle += angleSpeed;
|
|
||||||
|
|
||||||
super.tick();
|
super.tick();
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 700 B After Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 519 B After Width: | Height: | Size: 343 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 256 B After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 645 B After Width: | Height: | Size: 645 B |
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 720 B |
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 719 B After Width: | Height: | Size: 719 B |
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 639 B |
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 636 B |
Before Width: | Height: | Size: 526 B After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 508 B |
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 583 B |
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 489 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 588 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 526 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 709 B |
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 635 B |
Before Width: | Height: | Size: 681 B After Width: | Height: | Size: 681 B |
Before Width: | Height: | Size: 507 B After Width: | Height: | Size: 507 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 476 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 793 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 430 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 85 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 85 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 99 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 99 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 99 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 95 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 115 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 95 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 100 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 88 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 99 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 95 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 120 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 122 B |