diff --git a/.vscode/launch.json b/.vscode/launch.json index f20739ed..770fc6e2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,23 +1,47 @@ { - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", + "version": "2.0.0", "configurations": [ { - "name": "Launch Project", - "type": "cppvsdbg", + "name": "Play in Editor", + "type": "godot-mono", + "mode": "playInEditor", + "request": "launch" + }, + { + "name": "Launch", + "type": "godot-mono", "request": "launch", - "program": "${workspaceFolder}/bin/godot.windows.editor.dev.x86_64.exe", - // Change the arguments below for the project you want to test with. - // To run the project instead of editing it, remove the "--editor" argument. - "args": [ "--editor", "--path", "path-to-your-godot-project-folder" ], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "console": "internalConsole", - "visualizerFile": "${workspaceFolder}/platform/windows/godot.natvis", - "preLaunchTask": "build" - } + "mode": "executable", + "preLaunchTask": "build", + "executable": "F:/Apps/Godot_v4.2.1-stable_mono_win64/Godot_v4.2.1-stable_mono_win64.exe", + // See which arguments are available here: + // https://docs.godotengine.org/en/stable/getting_started/editor/command_line_tutorial.html + "executableArguments": [ + "--path", + "${workspaceRoot}" + ] + }, + { + "name": "Launch (Select Scene)", + "type": "godot-mono", + "request": "launch", + "mode": "executable", + "preLaunchTask": "build", + "executable": "F:/Apps/Godot_v4.2.1-stable_mono_win64/Godot_v4.2.1-stable_mono_win64.exe", + // See which arguments are available here: + // https://docs.godotengine.org/en/stable/getting_started/editor/command_line_tutorial.html + "executableArguments": [ + "--path", + "${workspaceRoot}", + "${command:SelectLaunchScene}" + ] + }, + { + "name": "Attach", + "type": "godot-mono", + "request": "attach", + "address": "localhost", + "port": 23685 + } ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index c9385800..07e464d8 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,16 +1,16 @@ { - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "build", - "group": "build", - "type": "shell", - "command": "scons", + "command": "F:/Apps/Godot_v4.2.1-stable_mono_win64/Godot_v4.2.1-stable_mono_win64.exe", + "type": "process", "args": [ - // enable for debugging with breakpoints - "dev_build=yes", + "--build-solutions", + "--path", + "${workspaceRoot}", + "--no-window", + "-q" ], "problemMatcher": "$msCompile" } diff --git a/Scenes/bullet.tscn b/Scenes/bullet.tscn index fb42cf34..27a6c42e 100644 --- a/Scenes/bullet.tscn +++ b/Scenes/bullet.tscn @@ -8,7 +8,6 @@ radius = 2.23607 [node name="Bullet" type="Area2D"] script = ExtResource("1_jvxw3") -Speed = 500.0 metadata/_edit_group_ = true [node name="Sprite2D" type="Sprite2D" parent="."]