add sky to train scene

This commit is contained in:
Overside srl
2026-02-17 10:03:32 +01:00
parent fd0bcfa381
commit b419cbe6f5
10 changed files with 89 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
[gd_scene format=3 uid="uid://qrf08uiuhyqg"]
[ext_resource type="AudioStream" uid="uid://bdluyy5uodjb5" path="res://resources/thomastanks_new.mp3" id="1_ht1d5"]
[ext_resource type="AudioStream" uid="uid://bf28mghp6mgjx" path="res://resources/japan_river.mp3" id="1_ht1d5"]
[sub_resource type="GDScript" id="GDScript_ht1d5"]
script/source = "extends Node
@@ -38,6 +38,6 @@ script = SubResource("GDScript_ht1d5")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="." unique_id=281982184]
stream = ExtResource("1_ht1d5")
volume_db = -5.0
volume_db = -4.92
autoplay = true
parameters/looping = false

View File

@@ -41,8 +41,8 @@ fog_density = 0.0015
script = ExtResource("1_0nial")
main_scene = ExtResource("2_7fone")
[node name="DynamicSky" parent="." unique_id=516593260 instance=ExtResource("3_7brvr")]
show_debug_panel = true
[node name="DynamicSky" parent="." unique_id=516593260 node_paths=PackedStringArray("weather_vfx") instance=ExtResource("3_7brvr")]
weather_vfx = NodePath("WeatherVFX")
[node name="TrackGenerator" type="Node3D" parent="." unique_id=1804102656]
script = ExtResource("2_j07ug")
@@ -110,6 +110,8 @@ text = "Comandi:
\"A / D - Ruota camera\",
\"SPACE - Cambia camera\",
\"TAB - Cambia treno\",
\"ENTER - Fischio\",
\"F3 - Debug Sky\",
\"ESC - Esci\""
label_settings = SubResource("LabelSettings_tefeu")