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
+11 -11
View File
@@ -7,24 +7,24 @@
[sub_resource type="Animation" id=1]
resource_name = "BorderAnim"
tracks/0/type = "bezier"
tracks/0/path = NodePath("LoadingTopBorder:rect_position:x")
tracks/0/path = NodePath("LoadingTopBorder:position:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"points": PoolRealArray( ),
"times": PoolRealArray( )
"points": PackedFloat32Array( ),
"times": PackedFloat32Array( )
}
tracks/1/type = "bezier"
tracks/1/path = NodePath("LoadingTopBorder:rect_position:y")
tracks/1/path = NodePath("LoadingTopBorder:position:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"points": PoolRealArray( -768, -0.25, 0, 1.01154, 306.838, -160.174, -1.02203, -283.071, 0.439946, 60.9141, -27.6065, -0.45336, -19.562, 0.536352, 17.1993, 0.362091, -0.538766, -0.968613, 0.25, 0 ),
"times": PoolRealArray( 0.1, 0.3, 0.6, 0.9 )
"points": PackedFloat32Array( -768, -0.25, 0, 1.01154, 306.838, -160.174, -1.02203, -283.071, 0.439946, 60.9141, -27.6065, -0.45336, -19.562, 0.536352, 17.1993, 0.362091, -0.538766, -0.968613, 0.25, 0 ),
"times": PackedFloat32Array( 0.1, 0.3, 0.6, 0.9 )
}
tracks/2/type = "bezier"
tracks/2/path = NodePath("LoadingBare:modulate:a")
@@ -33,8 +33,8 @@ tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"points": PoolRealArray( 0, -0.25, 0, 1.10651, 0.716757, 1, -1.59408, -0.0328361, 0.25, 0 ),
"times": PoolRealArray( 0, 0.4 )
"points": PackedFloat32Array( 0, -0.25, 0, 1.10651, 0.716757, 1, -1.59408, -0.0328361, 0.25, 0 ),
"times": PackedFloat32Array( 0, 0.4 )
}
[node name="Control" type="Control"]
@@ -47,11 +47,11 @@ __meta__ = {
[node name="BackgroundPicture" parent="." instance=ExtResource( 3 )]
[node name="LoadingTopBorder" parent="." instance=ExtResource( 2 )]
margin_top = 0.362091
margin_bottom = 0.362061
offset_top = 0.362091
offset_bottom = 0.362061
[node name="LoadingBare" parent="." instance=ExtResource( 1 )]
margin_top = 360.0
offset_top = 360.0
[node name="AnimLoading" type="AnimationPlayer" parent="."]
method_call_mode = 1
+9 -9
View File
@@ -6,23 +6,23 @@ anchor_bottom = 1.0
size_flags_horizontal = 3
[node name="MarginContainer" type="MarginContainer" parent="."]
margin_right = 1280.0
margin_bottom = 237.0
offset_right = 1280.0
offset_bottom = 237.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="BorderLeft" type="ColorRect" parent="."]
margin_top = 241.0
margin_right = 1280.0
margin_bottom = 478.0
rect_min_size = Vector2( 0, 8 )
offset_top = 241.0
offset_right = 1280.0
offset_bottom = 478.0
custom_minimum_size = Vector2( 0, 8 )
size_flags_horizontal = 3
size_flags_vertical = 3
color = Color( 0.74902, 0.701961, 0.65098, 1 )
[node name="MarginContainer2" type="MarginContainer" parent="."]
margin_top = 482.0
margin_right = 1280.0
margin_bottom = 720.0
offset_top = 482.0
offset_right = 1280.0
offset_bottom = 720.0
size_flags_horizontal = 3
size_flags_vertical = 3
+10 -10
View File
@@ -1,6 +1,6 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/fonts/kirsty/kirsty_title.tres" type="DynamicFont" id=1]
[ext_resource path="res://assets/fonts/kirsty/kirsty_title.tres" type="FontFile" id=1]
[ext_resource path="res://scenes/UI/loading/Loading.gd" type="Script" id=2]
[node name="VBoxLoading" type="VBoxContainer"]
@@ -8,13 +8,13 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -96.5
margin_top = -28.0
margin_right = 96.5
margin_bottom = 28.0
offset_left = -96.5
offset_top = -28.0
offset_right = 96.5
offset_bottom = 28.0
size_flags_horizontal = 0
size_flags_vertical = 0
custom_constants/separation = 0
theme_override_constants/separation = 0
alignment = 1
script = ExtResource( 2 )
__meta__ = {
@@ -22,10 +22,10 @@ __meta__ = {
}
[node name="LabelLoading" type="Label" parent="."]
margin_right = 193.0
margin_bottom = 56.0
custom_fonts/font = ExtResource( 1 )
custom_colors/font_color = Color( 0.74902, 0.701961, 0.65098, 1 )
offset_right = 193.0
offset_bottom = 56.0
theme_override_fonts/font = ExtResource( 1 )
theme_override_colors/font_color = Color( 0.74902, 0.701961, 0.65098, 1 )
text = "loading"
align = 1
valign = 2
+16 -16
View File
@@ -17,28 +17,28 @@ __meta__ = {
}
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
margin_right = 1280.0
margin_bottom = 237.0
offset_right = 1280.0
offset_bottom = 237.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 241.0
margin_right = 1280.0
margin_bottom = 478.0
offset_top = 241.0
offset_right = 1280.0
offset_bottom = 478.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer/HBoxContainer"]
margin_right = 238.0
margin_bottom = 237.0
offset_right = 238.0
offset_bottom = 237.0
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.3
[node name="ProgressBar" type="ProgressBar" parent="VBoxContainer/HBoxContainer"]
margin_left = 242.0
margin_right = 1037.0
margin_bottom = 237.0
offset_left = 242.0
offset_right = 1037.0
offset_bottom = 237.0
size_flags_horizontal = 3
size_flags_vertical = 3
theme = ExtResource( 1 )
@@ -47,15 +47,15 @@ step = 0.1
rounded = true
[node name="HSplitContainer2" type="HSplitContainer" parent="VBoxContainer/HBoxContainer"]
margin_left = 1041.0
margin_right = 1280.0
margin_bottom = 237.0
offset_left = 1041.0
offset_right = 1280.0
offset_bottom = 237.0
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.3
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer"]
margin_top = 482.0
margin_right = 1280.0
margin_bottom = 720.0
offset_top = 482.0
offset_right = 1280.0
offset_bottom = 720.0
size_flags_horizontal = 3
size_flags_vertical = 3
+24 -24
View File
@@ -2,13 +2,13 @@
[ext_resource path="res://scenes/UI/loading/parts/LabelLoading.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/UI/loading/parts/BorderColor.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/ui/themes/bck-hrz-grd.png" type="Texture" id=3]
[ext_resource path="res://assets/ui/themes/bck-hrz-grd.png" type="Texture2D" id=3]
[node name="LoadingBorder" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
grow_vertical = 2
rect_clip_content = true
clip_contents = true
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
@@ -18,22 +18,22 @@ __meta__ = {
[node name="BackgroundGradient" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 0
theme_override_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BlackColor" type="ColorRect" parent="BackgroundGradient"]
margin_right = 1280.0
margin_bottom = 240.0
offset_right = 1280.0
offset_bottom = 240.0
size_flags_horizontal = 3
size_flags_vertical = 3
color = Color( 0, 0, 0, 1 )
[node name="ColorRect" type="TextureRect" parent="BackgroundGradient"]
margin_top = 240.0
margin_right = 1280.0
margin_bottom = 480.0
offset_top = 240.0
offset_right = 1280.0
offset_bottom = 480.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture = ExtResource( 3 )
@@ -43,9 +43,9 @@ __meta__ = {
}
[node name="MarginContainer" type="MarginContainer" parent="BackgroundGradient"]
margin_top = 480.0
margin_right = 1280.0
margin_bottom = 720.0
offset_top = 480.0
offset_right = 1280.0
offset_bottom = 720.0
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -53,11 +53,11 @@ size_flags_vertical = 3
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -30.0
margin_bottom = 30.0
rect_clip_content = true
offset_top = -30.0
offset_bottom = 30.0
clip_contents = true
size_flags_vertical = 5
custom_constants/separation = 20
theme_override_constants/separation = 20
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
@@ -66,22 +66,22 @@ __meta__ = {
[node name="BorderLeft" parent="LabelAndBorder" instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 523.0
margin_bottom = 60.0
offset_right = 523.0
offset_bottom = 60.0
[node name="LabelLoading" parent="LabelAndBorder" instance=ExtResource( 1 )]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 543.0
margin_top = 0.0
margin_right = 736.0
margin_bottom = 56.0
offset_left = 543.0
offset_top = 0.0
offset_right = 736.0
offset_bottom = 56.0
[node name="BorderRight" parent="LabelAndBorder" instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 756.0
margin_right = 1280.0
margin_bottom = 60.0
offset_left = 756.0
offset_right = 1280.0
offset_bottom = 60.0