Removed custom rotation and fixed placeholder naming (Import from blender had _ in the name
This commit is contained in:
+7
-1
@@ -16,6 +16,12 @@ public partial class World : Node3D
|
||||
Layer layerNode;
|
||||
|
||||
private MultiMeshHandler multiMeshHandler;
|
||||
FastNoiseLite noise = new FastNoiseLite()
|
||||
{
|
||||
NoiseType = FastNoiseLite.NoiseTypeEnum.Perlin,
|
||||
Frequency = 0.05f,
|
||||
Seed = 1337
|
||||
};
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
@@ -80,6 +86,7 @@ public partial class World : Node3D
|
||||
if (Input.IsActionJustPressed("layer_down") && currentLayer < ruinSize - 1) currentLayer++;
|
||||
if (currentLayer != visibleLayer)
|
||||
{
|
||||
map[visibleLayer].ClearDecorations();
|
||||
HandleRenderData(BuildRenderData(currentLayer));
|
||||
visibleLayer = currentLayer;
|
||||
}
|
||||
@@ -109,7 +116,6 @@ public partial class World : Node3D
|
||||
for (int y = 0; y < layerSize; y++)
|
||||
{
|
||||
Tile tile = layer.tiles[x, y];
|
||||
|
||||
result.Add(new TileRenderData
|
||||
{
|
||||
Tile = tile,
|
||||
|
||||
Reference in New Issue
Block a user