Better physics

This commit is contained in:
Anuken
2020-02-08 15:39:27 -05:00
parent 8814dbe29a
commit ba1f59aa71
9 changed files with 34 additions and 9 deletions

View File

@@ -268,11 +268,12 @@ public class Blocks implements ContentList{
}};
ice = new Floor("ice"){{
dragMultiplier = 0.6f;
dragMultiplier = 0.35f;
attributes.set(Attribute.water, 0.4f);
}};
iceSnow = new Floor("ice-snow"){{
dragMultiplier = 0.6f;
variants = 3;
attributes.set(Attribute.water, 0.3f);
}};

View File

@@ -22,8 +22,8 @@ public class UnitTypes implements ContentList{
public void load(){
dagger = new UnitDef("dagger"){{
speed = 0.2f;
drag = 0.2f;
speed = 1f;
drag = 0.3f;
hitsize = 8f;
mass = 1.75f;
health = 130;
@@ -37,7 +37,7 @@ public class UnitTypes implements ContentList{
}};
vanguard = new UnitDef("vanguard"){{
speed = 0.3f;
speed = 1.3f;
drag = 0.1f;
hitsize = 8f;
mass = 1.75f;