//Tundra Terrain - 2 //TODO - add area for shore or add hills //TODO - improve and add yellow grass and rocks public void MakeTundraTerrain() { tileSize = 4f; seed = new Seed(125, 125); seedGen = new SeedGenerator(seed); seedGen.SetMapDouble(); seedGen.SeedProperties(true, false, false, false, false); seedGen.SetMapRandom(2); RunTerrainMaker(); }
//Spire terrain - 16 public void MakeSpireTerrain() { tileSize = 4f; seed = new Seed(125, 125); seedGen = new SeedGenerator(seed); seedGen.SetMapDouble(); seedGen.SetMapRandom(2); seedGen.SeedProperties(true, false, false, false, false); Vector2Int direction = new Vector2Int(1, 0); Vector2Int location = new Vector2Int(10, 10); seedGen.Line(5, 10, direction, location); Vector2 radius = new Vector2(49, 49); Vector2 center = new Vector2(50, 50); seedGen.CircleFill(radius, center, 2.5f); seedGen.SeedProperties(false, false, false, false, false); radius = new Vector2(10, 10); center = new Vector2(30, 30); seedGen.CircleFill(radius, center, 5); radius = new Vector2(9, 9); center = new Vector2(30, 30); seedGen.CircleFill(radius, center, 6); radius = new Vector2(8, 8); center = new Vector2(30, 30); seedGen.CircleFill(radius, center, 7); radius = new Vector2(7, 7); center = new Vector2(30, 30); seedGen.CircleFill(radius, center, 8); radius = new Vector2(6, 6); center = new Vector2(30, 30); seedGen.CircleFill(radius, center, 9); center = new Vector2(90, 25); seedGen.SquareFill(radius, center, 15); RunTerrainMaker(); }