Planet generation noise tweaks

This commit is contained in:
Anuken
2025-05-31 18:25:18 -04:00
parent 7715728ea0
commit 8991af9598
4 changed files with 2 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
public static boolean genLakes = false;
BaseGenerator basegen = new BaseGenerator();
float heightYOffset = 42.5f;
float heightYOffset = 42.7f;
float scl = 5f;
float waterOffset = 0.04f;
float heightScl = 1.01f;

View File

@@ -11,7 +11,6 @@ import arc.math.*;
import arc.math.geom.*;
import arc.struct.*;
import arc.util.*;
import arc.util.noise.*;
import mindustry.content.*;
import mindustry.content.TechTree.*;
import mindustry.ctype.*;
@@ -403,7 +402,6 @@ public class Planet extends UnlockableContent{
}
if(generator != null){
Noise.setSeed(sectorSeed < 0 ? id + 1 : sectorSeed);
for(Sector sector : sectors){
generator.generateSector(sector);

View File

@@ -51,7 +51,6 @@ public class SteamVent extends Floor{
parent.drawBase(tile);
if(checkAdjacent(tile)){
Mathf.rand.setSeed(tile.pos());
Draw.rect(variantRegions[Mathf.randomSeed(tile.pos(), 0, Math.max(0, variantRegions.length - 1))], tile.worldx() - tilesize, tile.worldy() - tilesize);
}
}