Cropped sprite packing

This commit is contained in:
Anuken
2022-05-09 15:01:49 -04:00
parent 0b141b6eb0
commit f9be361846
9 changed files with 15 additions and 10 deletions
@@ -4,5 +4,6 @@
flattenPaths: true, flattenPaths: true,
maxWidth: 4096, maxWidth: 4096,
maxHeight: 4096, maxHeight: 4096,
fast: true fast: true,
stripWhitespaceCenter: false
} }
+2 -1
View File
@@ -4,5 +4,6 @@
flattenPaths: true, flattenPaths: true,
maxWidth: 4096, maxWidth: 4096,
maxHeight: 4096, maxHeight: 4096,
fast: true fast: true,
stripWhitespaceCenter: true
} }
+2 -1
View File
@@ -4,5 +4,6 @@
flattenPaths: true, flattenPaths: true,
maxWidth: 4096, maxWidth: 4096,
maxHeight: 4096, maxHeight: 4096,
fast: true fast: true,
stripWhitespaceCenter: true
} }
+2 -1
View File
@@ -4,5 +4,6 @@
flattenPaths: true, flattenPaths: true,
maxWidth: 4096, maxWidth: 4096,
maxHeight: 4096, maxHeight: 4096,
fast: true fast: true,
stripWhitespaceCenter: true
} }
+2 -1
View File
@@ -4,5 +4,6 @@
flattenPaths: true, flattenPaths: true,
maxWidth: 4096, maxWidth: 4096,
maxHeight: 4096, maxHeight: 4096,
fast: true fast: true,
stripWhitespaceCenter: true
} }
+1 -1
View File
@@ -3986,7 +3986,7 @@ public class Blocks{
shootCone = 30f; shootCone = 30f;
consumeAmmoOnce = true; consumeAmmoOnce = true;
coolant = consume(new ConsumeLiquid(Liquids.water, 30f / 60f)); coolant = consumeCoolant(30f / 60f);
drawer = new DrawTurret("reinforced-"){{ drawer = new DrawTurret("reinforced-"){{
parts.add(new RegionPart("-side"){{ parts.add(new RegionPart("-side"){{
@@ -55,13 +55,13 @@ public class ContinuousLaserBulletType extends ContinuousBulletType{
float ellipseLenScl = Mathf.lerp(1 - i / (float)(colors.length), 1f, pointyScaling); float ellipseLenScl = Mathf.lerp(1 - i / (float)(colors.length), 1f, pointyScaling);
Lines.stroke(stroke); Lines.stroke(stroke);
Lines.lineAngle(b.x, b.y, rot, length - frontLength, false); Lines.lineAngle(b.x, b.y, rot, baseLen - frontLength, false);
//back ellipse //back ellipse
Drawf.flameFront(b.x, b.y, divisions, rot + 180f, backLength, stroke / 2f); Drawf.flameFront(b.x, b.y, divisions, rot + 180f, backLength, stroke / 2f);
//front ellipse //front ellipse
Tmp.v1.trnsExact(rot, length - frontLength); Tmp.v1.trnsExact(rot, baseLen - frontLength);
Drawf.flameFront(b.x + Tmp.v1.x, b.y + Tmp.v1.y, divisions, rot, frontLength * ellipseLenScl, stroke / 2f); Drawf.flameFront(b.x + Tmp.v1.x, b.y + Tmp.v1.y, divisions, rot, frontLength * ellipseLenScl, stroke / 2f);
} }
@@ -315,7 +315,7 @@ public class SettingsMenuDialog extends BaseDialog{
} }
game.checkPref("doubletapmine", false); game.checkPref("doubletapmine", false);
game.checkPref("commandmodehold", false); game.checkPref("commandmodehold", true);
if(!ios){ if(!ios){
game.checkPref("modcrashdisable", true); game.checkPref("modcrashdisable", true);
+1 -1
View File
@@ -25,4 +25,4 @@ org.gradle.caching=true
#used for slow jitpack builds; TODO see if this actually works #used for slow jitpack builds; TODO see if this actually works
org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000 org.gradle.internal.http.connectionTimeout=100000
archash=401f4edcce archash=91ad25c9f9