Trying to pick up project again

This commit is contained in:
Jonathan Herrewijnen 2022-12-07 22:15:07 +01:00
parent d275f97bf7
commit 3ddb5c526a
2 changed files with 26 additions and 0 deletions

25
.vscode/tasks.json vendored Normal file
View File

@ -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"
}
]
}

View File

@ -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()