From 55da2346d305aafdb0a2065758664f23beb7ede5 Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sat, 20 May 2023 21:36:32 +0200 Subject: [PATCH] WIP: still fixing heighmap and colormap mismatch. --- scenes/Game.cs | 15 +++++++++++---- scenes/Game.tscn | 19 +++++++++++++------ scenes/TileWorld.cs | 20 ++++++++++++-------- 3 files changed, 36 insertions(+), 18 deletions(-) diff --git a/scenes/Game.cs b/scenes/Game.cs index 220918d..d4ccd1f 100644 --- a/scenes/Game.cs +++ b/scenes/Game.cs @@ -15,6 +15,7 @@ public class Game : Spatial private Label _numCoordsAddedLabel; private Label _numCoordsRemovedLabel; private TextureRect _worldTextureRect; + private TextureRect _heightTextureRect; private Button _generateWorldButton; // scene nodes @@ -52,6 +53,7 @@ public class Game : Spatial _numCoordsAddedLabel = GetNode