Changes to debug in 4.3

This commit is contained in:
MaddoScientisto 2024-11-11 16:53:28 +01:00
commit 4f731b221b
3 changed files with 21 additions and 13 deletions

11
.vscode/launch.json vendored
View file

@ -1,6 +1,17 @@
{ {
"version": "2.0.0", "version": "2.0.0",
"configurations": [ "configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "I:/Apps/Godot_v4.3-stable_mono_win64/Godot_v4.3-stable_mono_win64.exe",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
"console": "internalConsole"
},
{ {
"name": "Play in Editor", "name": "Play in Editor",
"type": "godot-mono", "type": "godot-mono",

18
.vscode/tasks.json vendored
View file

@ -3,15 +3,15 @@
"tasks": [ "tasks": [
{ {
"label": "build", "label": "build",
"command": "F:/Apps/Godot_v4.2.1-stable_mono_win64/Godot_v4.2.1-stable_mono_win64.exe", "type": "shell",
"type": "process", "command": "dotnet build ${workspaceFolder}/Cirno.csproj -c Debug -v normal -p:GodotTargetPlatform=windows",
"args": [ "group": {
"--build-solutions", "kind": "build",
"--path", "isDefault": true
"${workspaceRoot}", },
"--no-window", "presentation": {
"-q" "reveal": "always"
], },
"problemMatcher": "$msCompile" "problemMatcher": "$msCompile"
} }
] ]

View file

@ -1,10 +1,9 @@
[gd_scene load_steps=7 format=3 uid="uid://cwfaxgr8pgfga"] [gd_scene load_steps=6 format=3 uid="uid://cwfaxgr8pgfga"]
[ext_resource type="Script" path="res://Scenes/game.gd" id="1_s0gpj"] [ext_resource type="Script" path="res://Scenes/game.gd" id="1_s0gpj"]
[ext_resource type="Script" path="res://Scenes/PixelPerfectRendering.gd" id="2_gdejn"] [ext_resource type="Script" path="res://Scenes/PixelPerfectRendering.gd" id="2_gdejn"]
[ext_resource type="PackedScene" uid="uid://bv451a8wgty4u" path="res://Scenes/test.tscn" id="3_l2ygy"] [ext_resource type="PackedScene" uid="uid://bv451a8wgty4u" path="res://Scenes/test.tscn" id="3_l2ygy"]
[ext_resource type="Script" path="res://Scenes/SubViewportSprite.gd" id="4_adb7a"] [ext_resource type="Script" path="res://Scenes/SubViewportSprite.gd" id="4_adb7a"]
[ext_resource type="PackedScene" uid="uid://cio2gclfs7s37" path="res://Scenes/debug_stats.tscn" id="5_ixk64"]
[sub_resource type="ViewportTexture" id="ViewportTexture_m5h5j"] [sub_resource type="ViewportTexture" id="ViewportTexture_m5h5j"]
viewport_path = NodePath("PixelPerfectRendering/SubViewport") viewport_path = NodePath("PixelPerfectRendering/SubViewport")
@ -31,5 +30,3 @@ position = Vector2(960, 540)
scale = Vector2(6, 6) scale = Vector2(6, 6)
texture = SubResource("ViewportTexture_m5h5j") texture = SubResource("ViewportTexture_m5h5j")
script = ExtResource("4_adb7a") script = ExtResource("4_adb7a")
[node name="DebugStats" parent="." instance=ExtResource("5_ixk64")]