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
+12 -12
View File
@@ -2,9 +2,9 @@
[ext_resource path="res://scenes/UI/ending/Ending.gd" type="Script" id=1]
[ext_resource path="res://assets/sounds/victory.ogg" type="AudioStream" id=2]
[ext_resource path="res://assets/fonts/MKX Title.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://assets/fonts/MKX Title.ttf" type="FontFile" id=3]
[sub_resource type="DynamicFont" id=1]
[sub_resource type="FontFile" id=1]
size = 35
font_data = ExtResource( 3 )
@@ -19,10 +19,10 @@ __meta__ = {
}
[node name="ColorRect" type="ColorRect" parent="."]
margin_left = 640.0
margin_top = 360.0
margin_right = 640.0
margin_bottom = 360.0
offset_left = 640.0
offset_top = 360.0
offset_right = 640.0
offset_bottom = 360.0
grow_horizontal = 0
grow_vertical = 0
size_flags_horizontal = 3
@@ -38,12 +38,12 @@ stream = ExtResource( 2 )
volume_db = -29.411
[node name="Label" type="Label" parent="."]
margin_left = 477.0
margin_top = 275.0
margin_right = 802.0
margin_bottom = 444.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
offset_left = 477.0
offset_top = 275.0
offset_right = 802.0
offset_bottom = 444.0
theme_override_fonts/font = SubResource( 1 )
theme_override_colors/font_color = Color( 1, 1, 1, 1 )
text = "aHog !!!