Environmental lights / Bugfixes

This commit is contained in:
Anuken
2020-07-08 12:40:17 -04:00
parent a9333baa78
commit c15aec641a
7 changed files with 49 additions and 9 deletions

View File

@@ -228,6 +228,10 @@ public class Blocks implements ContentList{
attributes.set(Attribute.heat, 0.5f);
attributes.set(Attribute.water, -0.2f);
blendGroup = ignarock;
emitLight = true;
lightRadius = 30f;
lightColor = Color.orange.cpy().a(0.15f);
}};
magmarock = new Floor("magmarock"){{
@@ -235,6 +239,10 @@ public class Blocks implements ContentList{
attributes.set(Attribute.water, -0.5f);
updateEffect = Fx.magmasmoke;
blendGroup = ignarock;
emitLight = true;
lightRadius = 60f;
lightColor = Color.orange.cpy().a(0.3f);
}};
sand = new Floor("sand"){{

View File

@@ -534,7 +534,7 @@ public class UnitTypes implements ContentList{
isCounted = false;
flying = true;
mineSpeed = 12f;
mineSpeed = 10f;
mineTier = 1;
buildSpeed = 0.5f;
drag = 0.05f;