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:
@@ -1,18 +1,18 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-Back.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-Back-Overlay.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-Back.png" type="Texture2D" id=1]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-Back-Overlay.png" type="Texture2D" id=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
margin_right = 1440.0
|
||||
margin_bottom = 900.0
|
||||
offset_right = 1440.0
|
||||
offset_bottom = 900.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource( 1 )
|
||||
texture_hover = ExtResource( 2 )
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://assets/ui/themes/leather.theme" type="Theme" id=2]
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="DynamicFont" id=3]
|
||||
[ext_resource path="res://assets/ui/icones/skull.png" type="Texture" id=4]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last-hover.png" type="Texture" id=6]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last.png" type="Texture" id=8]
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="FontFile" id=3]
|
||||
[ext_resource path="res://assets/ui/icones/skull.png" type="Texture2D" id=4]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last-hover.png" type="Texture2D" id=6]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last.png" type="Texture2D" id=8]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "ObjectFind"
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/path = NodePath("ListContainer/TextureButtonLast/Label:rect_position:x")
|
||||
tracks/0/path = NodePath("ListContainer/TextureButtonLast/Label:position:x")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"points": PoolRealArray( 0, -0.25, 0, 0, 78.1, 34.9, -0.25, 0, 0, -66, 12.1, 0, 73.2, 0, -124.8, -41.9, -0.0948485, 109.2, 0.0619706, -58.8, 13.3, -0.187989, 93.6, 0.196425, 104.4, 0, -0.154843, -135.5, 0.25, 0 ),
|
||||
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1 )
|
||||
"points": PackedFloat32Array( 0, -0.25, 0, 0, 78.1, 34.9, -0.25, 0, 0, -66, 12.1, 0, 73.2, 0, -124.8, -41.9, -0.0948485, 109.2, 0.0619706, -58.8, 13.3, -0.187989, 93.6, 0.196425, 104.4, 0, -0.154843, -135.5, 0.25, 0 ),
|
||||
"times": PackedFloat32Array( 0, 0.2, 0.4, 0.6, 0.8, 1 )
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/path = NodePath("ListContainer/TextureButtonLast:rect_position:x")
|
||||
tracks/0/path = NodePath("ListContainer/TextureButtonLast:position:x")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"points": PoolRealArray( 0, -0.25, 0, 0.0305311, 190.492, 170, -0.349132, 2.57608, 0.25, 0 ),
|
||||
"times": PoolRealArray( 0, 1 )
|
||||
"points": PackedFloat32Array( 0, -0.25, 0, 0.0305311, 190.492, 170, -0.349132, 2.57608, 0.25, 0 ),
|
||||
"times": PackedFloat32Array( 0, 1 )
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/path = NodePath("ListContainer/TextureButtonLast:rect_position:y")
|
||||
tracks/1/path = NodePath("ListContainer/TextureButtonLast:position:y")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"points": PoolRealArray( ),
|
||||
"times": PoolRealArray( )
|
||||
"points": PackedFloat32Array( ),
|
||||
"times": PackedFloat32Array( )
|
||||
}
|
||||
|
||||
[node name="Control" type="MarginContainer"]
|
||||
@@ -46,9 +46,9 @@ anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -196.0
|
||||
margin_top = -450.0
|
||||
margin_bottom = 450.0
|
||||
offset_left = -196.0
|
||||
offset_top = -450.0
|
||||
offset_bottom = 450.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
size_flags_vertical = 3
|
||||
@@ -57,19 +57,19 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="ListContainer" type="VBoxContainer" parent="."]
|
||||
margin_right = 196.0
|
||||
margin_bottom = 900.0
|
||||
rect_min_size = Vector2( 196, 900 )
|
||||
offset_right = 196.0
|
||||
offset_bottom = 900.0
|
||||
custom_minimum_size = Vector2( 196, 900 )
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_constants/separation = -14
|
||||
theme_override_constants/separation = -14
|
||||
alignment = 1
|
||||
|
||||
[node name="TextureButtonLast" type="TextureButton" parent="ListContainer"]
|
||||
visible = false
|
||||
margin_top = 409.0
|
||||
margin_right = 196.0
|
||||
margin_bottom = 490.0
|
||||
offset_top = 409.0
|
||||
offset_right = 196.0
|
||||
offset_bottom = 490.0
|
||||
focus_mode = 0
|
||||
texture_normal = ExtResource( 8 )
|
||||
texture_hover = ExtResource( 6 )
|
||||
@@ -79,7 +79,7 @@ texture_focused = ExtResource( 6 )
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 2 )
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
theme_override_fonts/font = ExtResource( 3 )
|
||||
text = "Last"
|
||||
align = 1
|
||||
valign = 1
|
||||
@@ -89,15 +89,15 @@ __meta__ = {
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="ListContainer"]
|
||||
visible = false
|
||||
margin_top = 419.0
|
||||
margin_right = 196.0
|
||||
margin_bottom = 547.0
|
||||
offset_top = 419.0
|
||||
offset_right = 196.0
|
||||
offset_bottom = 547.0
|
||||
alignment = 1
|
||||
|
||||
[node name="TextureButtonIndice" type="TextureButton" parent="ListContainer/HBoxContainer"]
|
||||
margin_left = 34.0
|
||||
margin_right = 162.0
|
||||
margin_bottom = 128.0
|
||||
offset_left = 34.0
|
||||
offset_right = 162.0
|
||||
offset_bottom = 128.0
|
||||
texture_normal = ExtResource( 4 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-first-hover.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="DynamicFont" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-first.png" type="Texture" id=3]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-first-hover.png" type="Texture2D" id=1]
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="FontFile" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-first.png" type="Texture2D" id=3]
|
||||
|
||||
[node name="TextureButton" type="TextureButton"]
|
||||
margin_right = 196.0
|
||||
margin_bottom = 81.0
|
||||
offset_right = 196.0
|
||||
offset_bottom = 81.0
|
||||
texture_normal = ExtResource( 3 )
|
||||
texture_hover = ExtResource( 1 )
|
||||
texture_focused = ExtResource( 1 )
|
||||
@@ -18,8 +18,8 @@ __meta__ = {
|
||||
[node name="Label" type="Label" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_right = -3.05176e-05
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
offset_right = -3.05176e-05
|
||||
theme_override_fonts/font = ExtResource( 2 )
|
||||
text = "First Entry"
|
||||
align = 1
|
||||
valign = 1
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://assets/ui/themes/leather.theme" type="Theme" id=1]
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="DynamicFont" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last-hover.png" type="Texture" id=3]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last.png" type="Texture" id=4]
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="FontFile" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last-hover.png" type="Texture2D" id=3]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last.png" type="Texture2D" id=4]
|
||||
|
||||
[node name="TextureButton" type="TextureButton"]
|
||||
margin_right = 196.0
|
||||
margin_bottom = 81.0
|
||||
offset_right = 196.0
|
||||
offset_bottom = 81.0
|
||||
texture_normal = ExtResource( 4 )
|
||||
texture_hover = ExtResource( 3 )
|
||||
texture_focused = ExtResource( 3 )
|
||||
@@ -20,7 +20,7 @@ __meta__ = {
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 1 )
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
theme_override_fonts/font = ExtResource( 2 )
|
||||
text = "Last"
|
||||
align = 1
|
||||
valign = 1
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-hover.png" type="Texture" id=3]
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="FontFile" id=1]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList.png" type="Texture2D" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-hover.png" type="Texture2D" id=3]
|
||||
|
||||
[node name="TextureButton" type="TextureButton"]
|
||||
margin_right = 196.0
|
||||
margin_bottom = 81.0
|
||||
offset_right = 196.0
|
||||
offset_bottom = 81.0
|
||||
texture_normal = ExtResource( 2 )
|
||||
texture_hover = ExtResource( 3 )
|
||||
texture_focused = ExtResource( 3 )
|
||||
@@ -18,7 +18,7 @@ __meta__ = {
|
||||
[node name="Label" type="Label" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
text = "Middle"
|
||||
align = 1
|
||||
valign = 1
|
||||
|
||||
Reference in New Issue
Block a user