Make main scene root Node2D so editor defaults to 2D view

Plain 'Node' root causes Godot to open the scene in 3D perspective
view because the engine can't infer the intended dimension. Node2D
root is the right default for our 2D project; the editor opens in
2D view automatically.

Confirmed via MCP get_editor_screenshot — Phase 0 verification was
landing in 3D editor view because of this.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
megaproxy 2026-05-10 20:19:09 +01:00
parent 9d49f94553
commit 18fb784e76
12 changed files with 56 additions and 3 deletions

1
autoload/audit.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://bg8aa16rbybpi

View file

@ -0,0 +1 @@
uid://ctrvqkhdok1j

View file

@ -0,0 +1 @@
uid://jrb8yryhh6h3

View file

@ -0,0 +1 @@
uid://d0su3fpk4rehc

1
autoload/sim.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://dywtof0v8oxws

1
autoload/strings.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://dorsdd1xyfulm

1
autoload/world.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://cwkyfhw1p5b5r

43
icon.svg.import Normal file
View file

@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://lu6tyakt2hgt"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

@ -25,13 +25,15 @@ GameState="*res://autoload/game_state.gd"
World="*res://autoload/world.gd" World="*res://autoload/world.gd"
Sim="*res://autoload/sim.gd" Sim="*res://autoload/sim.gd"
SaveSystem="*res://autoload/save_system.gd" SaveSystem="*res://autoload/save_system.gd"
MCPScreenshot="*res://addons/godot_mcp/mcp_screenshot_service.gd"
MCPInputService="*res://addons/godot_mcp/mcp_input_service.gd"
MCPGameInspector="*res://addons/godot_mcp/mcp_game_inspector_service.gd"
[display] [display]
window/size/viewport_width=1280 window/size/viewport_width=1280
window/size/viewport_height=720 window/size/viewport_height=720
window/stretch/mode="canvas_items" window/stretch/mode="canvas_items"
window/stretch/aspect="keep"
window/handheld/orientation="sensor_landscape" window/handheld/orientation="sensor_landscape"
[editor_plugins] [editor_plugins]

View file

@ -1,4 +1,4 @@
extends Node extends Node2D
## Phase 0 smoke-test scene root. ## Phase 0 smoke-test scene root.
## ##
## Verifies the autoload graph is alive and the i18n table resolves a key. ## Verifies the autoload graph is alive and the i18n table resolves a key.

1
scenes/main/main.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://7c64bx5iupge

View file

@ -2,7 +2,7 @@
[ext_resource type="Script" path="res://scenes/main/main.gd" id="1_main"] [ext_resource type="Script" path="res://scenes/main/main.gd" id="1_main"]
[node name="Main" type="Node"] [node name="Main" type="Node2D"]
script = ExtResource("1_main") script = ExtResource("1_main")
[node name="Camera2D" type="Camera2D" parent="."] [node name="Camera2D" type="Camera2D" parent="."]