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
+3 -3
View File
@@ -5,7 +5,7 @@ var current_material = null
func level_hud_slide(node):
var animation = Animation.new()
var track_index = animation.add_track(Animation.TYPE_BEZIER)
var node_element = String(node.get_path()) + ":rect_position:x"
var node_element = String(node.get_path()) + ":position:x"
animation.track_set_path(track_index, node_element)
animation.bezier_track_insert_key(track_index, 0.0, 0.0, Vector2(-0.25, 0), Vector2(0.031, 190.492))
@@ -16,7 +16,7 @@ func level_hud_slide(node):
func level_hud_warning(node):
var animation = Animation.new()
var track_index = animation.add_track(Animation.TYPE_BEZIER)
var node_element = String(node.get_path()) + ":rect_position:x"
var node_element = String(node.get_path()) + ":position:x"
animation.track_set_path(track_index, node_element)
animation.bezier_track_insert_key(track_index, 0.0, 0.0, Vector2(-0.25, 0), Vector2(0, 78.1))
@@ -34,4 +34,4 @@ func start_dissolve(node, material):
node.start()
func animate_dissolve(progress: float) -> void:
current_material.set_shader_param("dissolve_amount", ease(progress, 0.4))
current_material.set_shader_parameter("dissolve_amount", ease(progress, 0.4))