From 3ddb5c526a27599dc0a9e44e7e3c2a6178fbc8ba Mon Sep 17 00:00:00 2001 From: Jonathan Herrewijnen Date: Wed, 7 Dec 2022 22:15:07 +0100 Subject: [PATCH] Trying to pick up project again --- .vscode/tasks.json | 25 +++++++++++++++++++++++++ MiscCodes/Tilemap_CameraView.gd | 1 + 2 files changed, 26 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..7cb029b --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,25 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "echo", + "type": "shell", + "command": "echo Hello" + }, + { + "label": "build", + "group": "build", + "type": "shell", + "command": "scons", + "args": [ + // Use this when your default shell is Command Prompt (cmd.exe). + "-j %NUMBER_OF_PROCESSORS%", + // // Use this when your default shell is PowerShell. + // "-j $env:NUMBER_OF_PROCESSORS" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/MiscCodes/Tilemap_CameraView.gd b/MiscCodes/Tilemap_CameraView.gd index ccb68e5..981ed74 100644 --- a/MiscCodes/Tilemap_CameraView.gd +++ b/MiscCodes/Tilemap_CameraView.gd @@ -25,6 +25,7 @@ var max_y_pixel = 0 #function that calculates the borders/bounds of the map func calculate_bounds(): + # Notice how there are different nodes visible here, then when the map is added.. for _i in self.get_children(): print("Nodes visible ", _i) var used_cells = background_map.get_used_cells()