From aac74427d96af60fdfd8fac8f80b9b2feca716fe Mon Sep 17 00:00:00 2001 From: Turtike Date: Thu, 29 Jan 2026 00:28:14 +0800 Subject: [PATCH] Upgrade to Godot 4.6. --- chart/test_nibelungen/tempo.tres | 2 +- project.godot | 2 +- rhythm_game/lane/lane.tscn | 4 ++-- rhythm_game/rhythm_game.tscn | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/chart/test_nibelungen/tempo.tres b/chart/test_nibelungen/tempo.tres index 26753a2..7d85b5f 100644 --- a/chart/test_nibelungen/tempo.tres +++ b/chart/test_nibelungen/tempo.tres @@ -1,4 +1,4 @@ -[gd_resource type="Resource" script_class="Tempo" load_steps=2 format=3 uid="uid://b34uhnkvwfyc1"] +[gd_resource type="Resource" script_class="Tempo" format=3 uid="uid://b34uhnkvwfyc1"] [ext_resource type="Script" uid="uid://c3vwmf1f1woo3" path="res://resource_type/tempo.gd" id="1_yhdoo"] diff --git a/project.godot b/project.godot index 9094a3a..3532e15 100644 --- a/project.godot +++ b/project.godot @@ -12,7 +12,7 @@ config_version=5 config/name="SolarBeat" run/main_scene="uid://dwro2d0482v0p" -config/features=PackedStringArray("4.5", "GL Compatibility") +config/features=PackedStringArray("4.6", "GL Compatibility") config/icon="res://image/godot_icon.svg" [rendering] diff --git a/rhythm_game/lane/lane.tscn b/rhythm_game/lane/lane.tscn index 429e5b9..8dbcd49 100644 --- a/rhythm_game/lane/lane.tscn +++ b/rhythm_game/lane/lane.tscn @@ -1,6 +1,6 @@ -[gd_scene load_steps=2 format=3 uid="uid://ch06ds4gr82nl"] +[gd_scene format=3 uid="uid://ch06ds4gr82nl"] [ext_resource type="Script" uid="uid://u42y08gn6bi7" path="res://rhythm_game/lane/lane.gd" id="1_p48sd"] -[node name="Lane" type="Node2D"] +[node name="Lane" type="Node2D" unique_id=471745257] script = ExtResource("1_p48sd") diff --git a/rhythm_game/rhythm_game.tscn b/rhythm_game/rhythm_game.tscn index 75ceba3..d67f226 100644 --- a/rhythm_game/rhythm_game.tscn +++ b/rhythm_game/rhythm_game.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=11 format=3 uid="uid://dwro2d0482v0p"] +[gd_scene format=3 uid="uid://dwro2d0482v0p"] [ext_resource type="Script" uid="uid://102cl75cfpgw" path="res://rhythm_game/music_sync/event_layout.gd" id="1_jnfl3"] [ext_resource type="Script" uid="uid://s16dt0bu0jrg" path="res://rhythm_game/music_sync/conductor.gd" id="2_62aw1"] @@ -17,25 +17,25 @@ offset = -0.17 tempo = ExtResource("5_10cpq") metadata/_custom_type_script = "uid://rg6orh6kutai" -[node name="RhythmGame" type="Node2D"] +[node name="RhythmGame" type="Node2D" unique_id=1479619523] script = ExtResource("1_jnfl3") -[node name="Conductor" type="Node" parent="."] +[node name="Conductor" type="Node" parent="." unique_id=1726392948] script = ExtResource("2_62aw1") autostart = true music = SubResource("Resource_10cpq") metadata/_custom_type_script = "uid://s16dt0bu0jrg" -[node name="Metronome" type="AudioStreamPlayer" parent="."] +[node name="Metronome" type="AudioStreamPlayer" parent="." unique_id=2076972617] stream = ExtResource("6_ecbku") script = ExtResource("7_nsyv8") metadata/_custom_type_script = "uid://bbpyym0kgujev" -[node name="AllChartNotes" type="Node" parent="."] +[node name="AllChartNotes" type="Node" parent="." unique_id=2044386757] script = ExtResource("9_10cpq") metadata/_custom_type_script = "uid://8isyo4pxyj1r" -[node name="VisibleNotes" type="Node" parent="." node_paths=PackedStringArray("notes")] +[node name="VisibleNotes" type="Node" parent="." unique_id=149671562 node_paths=PackedStringArray("notes")] script = ExtResource("9_74aio") notes = NodePath("../AllChartNotes") metadata/_custom_type_script = "uid://c7h7ue6kjgoha"