Out of atlas space / GL30 progress
BIN
core/assets-raw/sprites/blocks/units/factory-in-7.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
core/assets-raw/sprites/blocks/units/factory-in-9.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
core/assets-raw/sprites/blocks/units/factory-out-7.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
core/assets-raw/sprites/blocks/units/factory-out-9.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
core/assets-raw/sprites/blocks/units/factory-top-7.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
core/assets-raw/sprites/blocks/units/factory-top-9.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
core/assets-raw/sprites/blocks/units/reconstructor-functor.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
core/assets-raw/sprites/blocks/units/reconstructor-prime.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
@ -243,3 +243,7 @@
|
||||
63501=large-overdrive-projector|block-large-overdrive-projector-medium
|
||||
63500=disassembler|block-disassembler-medium
|
||||
63499=advanced-reconstructor|block-advanced-reconstructor-medium
|
||||
63498=reconstructor-basis|block-reconstructor-basis-medium
|
||||
63497=reconstructor-morphism|block-reconstructor-morphism-medium
|
||||
63496=reconstructor-functor|block-reconstructor-functor-medium
|
||||
63495=reconstructor-prime|block-reconstructor-prime-medium
|
||||
|
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 769 B |
Before Width: | Height: | Size: 865 KiB After Width: | Height: | Size: 674 KiB |
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 204 KiB |
Before Width: | Height: | Size: 301 KiB After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 301 KiB |
Before Width: | Height: | Size: 915 KiB After Width: | Height: | Size: 295 KiB |
BIN
core/assets/sprites/sprites6.png
Normal file
After Width: | Height: | Size: 939 KiB |
@ -1762,7 +1762,7 @@ public class Blocks implements ContentList{
|
||||
|
||||
size = 3;
|
||||
consumes.power(3f);
|
||||
consumes.items(ItemStack.with(Items.silicon, 30, Items.graphite, 30));
|
||||
consumes.items(ItemStack.with(Items.silicon, 40, Items.graphite, 30));
|
||||
itemCapacity = 30;
|
||||
|
||||
constructTime = 60f * 5f;
|
||||
@ -1780,7 +1780,7 @@ public class Blocks implements ContentList{
|
||||
|
||||
size = 5;
|
||||
consumes.power(6f);
|
||||
consumes.items(ItemStack.with(Items.silicon, 60, Items.titanium, 60));
|
||||
consumes.items(ItemStack.with(Items.silicon, 120, Items.titanium, 80));
|
||||
itemCapacity = 80;
|
||||
|
||||
constructTime = 60f * 15f;
|
||||
@ -1796,11 +1796,12 @@ public class Blocks implements ContentList{
|
||||
requirements(Category.units, ItemStack.with(Items.copper, 50, Items.lead, 120, Items.silicon, 230));
|
||||
|
||||
size = 7;
|
||||
consumes.power(6f);
|
||||
consumes.items(ItemStack.with(Items.silicon, 60, Items.titanium, 60));
|
||||
itemCapacity = 80;
|
||||
consumes.power(12f);
|
||||
consumes.items(ItemStack.with(Items.silicon, 200, Items.titanium, 200, Items.surgealloy, 200));
|
||||
consumes.liquid(Liquids.cryofluid, 1f);
|
||||
itemCapacity = 300;
|
||||
|
||||
constructTime = 60f * 15f;
|
||||
constructTime = 60f * 60f;
|
||||
|
||||
upgrades = new UnitType[][]{
|
||||
};
|
||||
@ -1810,11 +1811,12 @@ public class Blocks implements ContentList{
|
||||
requirements(Category.units, ItemStack.with(Items.copper, 50, Items.lead, 120, Items.silicon, 230));
|
||||
|
||||
size = 9;
|
||||
consumes.power(6f);
|
||||
consumes.items(ItemStack.with(Items.silicon, 60, Items.titanium, 60));
|
||||
itemCapacity = 80;
|
||||
consumes.power(25f);
|
||||
consumes.items(ItemStack.with(Items.silicon, 300, Items.plastanium, 300, Items.surgealloy, 300, Items.phasefabric, 250));
|
||||
consumes.liquid(Liquids.cryofluid, 3f);
|
||||
itemCapacity = 400;
|
||||
|
||||
constructTime = 60f * 15f;
|
||||
constructTime = 60f * 60f * 3;
|
||||
|
||||
upgrades = new UnitType[][]{
|
||||
};
|
||||
|
@ -63,6 +63,9 @@ abstract class LegsComp implements Posc, Rotc, Hitboxc, Flyingc, Unitc, Elevatio
|
||||
Vec2 baseOffset = Tmp.v5.trns(dstRot, type.legBaseOffset).add(x, y);
|
||||
Leg l = legs[i];
|
||||
|
||||
l.joint.sub(baseOffset).limit(type.maxStretch * legLength/2f).add(baseOffset);
|
||||
l.base.sub(baseOffset).limit(type.maxStretch * legLength).add(baseOffset);
|
||||
|
||||
float stageF = (totalLength + i*type.legPairOffset) / moveSpace;
|
||||
int stage = (int)stageF;
|
||||
int group = stage % div;
|
||||
|
@ -47,7 +47,7 @@ public class UnitType extends UnlockableContent{
|
||||
|
||||
//TODO document
|
||||
public int legCount = 4, legGroupSize = 2;
|
||||
public float legLength = 10f, legSpeed = 0.1f, legTrns = 1f, legBaseOffset = 0f, legMoveSpace = 1f, legExtension = 0, legPairOffset = 0, legLengthScl = 1f, kinematicScl = 1f;
|
||||
public float legLength = 10f, legSpeed = 0.1f, legTrns = 1f, legBaseOffset = 0f, legMoveSpace = 1f, legExtension = 0, legPairOffset = 0, legLengthScl = 1f, kinematicScl = 1f, maxStretch = 1.75f;
|
||||
public float legSplashDamage = 0f, legSplashRange = 5;
|
||||
public boolean flipBackLegs = true;
|
||||
|
||||
|