Run godot --convert-3to4 (automated conversion)

Apply Godot 4.6 automated conversion: renames Spatial.translate->position,
margin_*->offset_*, tool->@tool, .empty()->.is_empty(), DynamicFont->FontFile,
onready->@onready, export()->@export, and many more.

127 files changed by the tool. Manual fixes still required for:
 - godot_db_manager plugin (incompatible APIs: WindowDialog, Tabs, etc.)
 - lod plugin (Spatial -> Node3D renames)
 - ResourceLoader.load_interactive removed -> load_threaded_request
 - OS.set_window_fullscreen removed -> DisplayServer
 - Viewport.set_size_override removed

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vaillant Jeremy
2026-05-16 19:18:27 +02:00
parent efa35a444a
commit 01ea3af253
127 changed files with 2262 additions and 2258 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/levels/Levels.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/hdri/tx_night_place.hdr" type="Texture" id=2]
[ext_resource path="res://assets/hdri/tx_night_place.hdr" type="Texture2D" id=2]
[sub_resource type="PanoramaSky" id=1]
[sub_resource type="Sky" id=1]
panorama = ExtResource( 2 )
[sub_resource type="Environment" id=2]
@@ -24,14 +24,14 @@ fog_height_min = 2.0
fog_height_max = -20.0
fog_height_curve = 0.965936
tonemap_mode = 2
ss_reflections_enabled = true
ssr_enabled = true
dof_blur_far_distance = 4.0
glow_enabled = true
[node name="Home" instance=ExtResource( 1 )]
[node name="MainCamera" type="Camera" parent="." index="4"]
transform = Transform( 0.160708, -0.25632, 0.953138, 0, 0.96569, 0.259696, -0.987002, -0.0417351, 0.155194, 1.84336, 1.66169, 0.663199 )
[node name="MainCamera" type="Camera3D" parent="." index="4"]
transform = Transform3D( 0.160708, -0.25632, 0.953138, 0, 0.96569, 0.259696, -0.987002, -0.0417351, 0.155194, 1.84336, 1.66169, 0.663199 )
environment = SubResource( 2 )
fov = 38.5632
__meta__ = {