1- [gd_scene load_steps =12 format =3 uid ="uid://deic8j1v28f5m" ]
1+ [gd_scene load_steps =15 format =3 uid ="uid://deic8j1v28f5m" ]
22
33[ext_resource type ="PackedScene" uid ="uid://bj1kkdl8im8kb" path ="res://scenes/car2.tscn" id ="1_0wfyh" ]
44[ext_resource type ="Shader" uid ="uid://dif4yb3527o0r" path ="res://scenes/floor.gdshader" id ="1_sugp2" ]
55[ext_resource type ="PackedScene" uid ="uid://nk8hrlhom63t" path ="res://scenes/car3.tscn" id ="2_sugp2" ]
6+ [ext_resource type ="PackedScene" uid ="uid://dvm8u67mw7kiy" path ="res://scenes/gate.tscn" id ="4_jyhfs" ]
67
78[sub_resource type ="ProceduralSkyMaterial" id ="ProceduralSkyMaterial_kuqtn" ]
89sky_horizon_color = Color (0.662243 , 0.671743 , 0.686743 , 1 )
@@ -14,9 +15,9 @@ sky_material = SubResource("ProceduralSkyMaterial_kuqtn")
1415[sub_resource type ="Environment" id ="Environment_3lc0u" ]
1516background_mode = 1
1617background_color = Color (0.364706 , 0 , 0.0862745 , 1 )
18+ background_energy_multiplier = 4.0
1719sky = SubResource ("Sky_whr1e" )
1820tonemap_mode = 2
19- glow_enabled = true
2021
2122[sub_resource type ="ShaderMaterial" id ="ShaderMaterial_jyhfs" ]
2223render_priority = 0
@@ -38,6 +39,44 @@ size = Vector2(6, 6)
3839data = PackedVector3Array (50 , 0 , 50 , -50 , 0 , 50 , 50 , 0 , -50 , -50 , 0 , 50 , -50 , 0 , -50 , 50 , 0 , -50 )
3940
4041[sub_resource type ="StyleBoxFlat" id ="StyleBoxFlat_kuqtn" ]
42+ bg_color = Color (0.91815 , 0 , 0.228352 , 1 )
43+ border_width_left = 5
44+ border_width_top = 5
45+ border_width_right = 5
46+ border_width_bottom = 5
47+ border_color = Color (0.825689 , 0.839261 , 7 .70092e-07, 1 )
48+ corner_radius_top_left = 10
49+ corner_radius_top_right = 10
50+ corner_radius_bottom_right = 10
51+ corner_radius_bottom_left = 10
52+
53+ [sub_resource type ="StyleBoxFlat" id ="StyleBoxFlat_tbgi4" ]
54+ content_margin_left = 15.0
55+ content_margin_right = 15.0
56+ bg_color = Color (0.91815 , 0 , 0.228352 , 1 )
57+ border_width_left = 5
58+ border_width_top = 5
59+ border_width_right = 5
60+ border_width_bottom = 5
61+ border_color = Color (0.825689 , 0.839261 , 7 .70092e-07, 1 )
62+ corner_radius_top_left = 10
63+ corner_radius_top_right = 10
64+ corner_radius_bottom_right = 10
65+ corner_radius_bottom_left = 10
66+
67+ [sub_resource type ="StyleBoxFlat" id ="StyleBoxFlat_jyhfs" ]
68+ content_margin_left = 15.0
69+ content_margin_right = 15.0
70+ bg_color = Color (0.91815 , 0 , 0.228352 , 1 )
71+ border_width_left = 5
72+ border_width_top = 5
73+ border_width_right = 5
74+ border_width_bottom = 5
75+ border_color = Color (0.825689 , 0.839261 , 7 .70092e-07, 1 )
76+ corner_radius_top_left = 10
77+ corner_radius_top_right = 10
78+ corner_radius_bottom_right = 10
79+ corner_radius_bottom_left = 10
4180
4281[node name ="Main" type ="MainScene" ]
4382
@@ -55,6 +94,9 @@ sky_mode = 1
5594material_override = SubResource ("ShaderMaterial_jyhfs" )
5695mesh = SubResource ("PlaneMesh_0wfyh" )
5796
97+ [node name ="Gate" parent ="StaticBody3D/Floor" instance =ExtResource ("4_jyhfs" )]
98+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 3.5 , 0.5 , -0.5 )
99+
58100[node name ="Car2" parent ="StaticBody3D/Floor" instance =ExtResource ("1_0wfyh" )]
59101transform = Transform3D (1 , 0 , 1 .06581e-14 , 0 , 1 , 0 , -1 .06581e-14 , 0 , 1 , -1.5 , 0.5 , -1 )
60102
@@ -83,6 +125,18 @@ offset_bottom = -26.0
83125grow_horizontal = 2
84126grow_vertical = 0
85127focus_mode = 0
128+ theme_override_colors/font_color = Color (0.825689 , 0.839261 , 7 .70092e-07, 1 )
129+ theme_override_font_sizes/font_size = 31
130+ theme_override_styles/focus = SubResource ("StyleBoxFlat_kuqtn" )
131+ theme_override_styles/disabled_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
132+ theme_override_styles/disabled = SubResource ("StyleBoxFlat_kuqtn" )
133+ theme_override_styles/hover_pressed_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
134+ theme_override_styles/hover_pressed = SubResource ("StyleBoxFlat_kuqtn" )
135+ theme_override_styles/hover_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
136+ theme_override_styles/hover = SubResource ("StyleBoxFlat_kuqtn" )
137+ theme_override_styles/pressed_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
138+ theme_override_styles/pressed = SubResource ("StyleBoxFlat_kuqtn" )
139+ theme_override_styles/normal_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
86140theme_override_styles/normal = SubResource ("StyleBoxFlat_kuqtn" )
87141text = "Solve"
88142
@@ -99,6 +153,18 @@ offset_bottom = -27.0
99153grow_horizontal = 2
100154grow_vertical = 0
101155focus_mode = 0
156+ theme_override_colors/font_color = Color (0.825689 , 0.839261 , 7 .70092e-07, 1 )
157+ theme_override_font_sizes/font_size = 31
158+ theme_override_styles/focus = SubResource ("StyleBoxFlat_kuqtn" )
159+ theme_override_styles/disabled_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
160+ theme_override_styles/disabled = SubResource ("StyleBoxFlat_kuqtn" )
161+ theme_override_styles/hover_pressed_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
162+ theme_override_styles/hover_pressed = SubResource ("StyleBoxFlat_kuqtn" )
163+ theme_override_styles/hover_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
164+ theme_override_styles/hover = SubResource ("StyleBoxFlat_kuqtn" )
165+ theme_override_styles/pressed_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
166+ theme_override_styles/pressed = SubResource ("StyleBoxFlat_kuqtn" )
167+ theme_override_styles/normal_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
102168theme_override_styles/normal = SubResource ("StyleBoxFlat_kuqtn" )
103169text = "Load"
104170
@@ -115,6 +181,18 @@ offset_bottom = -25.0
115181grow_horizontal = 2
116182grow_vertical = 0
117183focus_mode = 0
184+ theme_override_colors/font_color = Color (0.825689 , 0.839261 , 7 .70092e-07, 1 )
185+ theme_override_font_sizes/font_size = 31
186+ theme_override_styles/focus = SubResource ("StyleBoxFlat_kuqtn" )
187+ theme_override_styles/disabled_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
188+ theme_override_styles/disabled = SubResource ("StyleBoxFlat_kuqtn" )
189+ theme_override_styles/hover_pressed_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
190+ theme_override_styles/hover_pressed = SubResource ("StyleBoxFlat_kuqtn" )
191+ theme_override_styles/hover_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
192+ theme_override_styles/hover = SubResource ("StyleBoxFlat_kuqtn" )
193+ theme_override_styles/pressed_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
194+ theme_override_styles/pressed = SubResource ("StyleBoxFlat_kuqtn" )
195+ theme_override_styles/normal_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
118196theme_override_styles/normal = SubResource ("StyleBoxFlat_kuqtn" )
119197text = "Reset"
120198
@@ -127,6 +205,26 @@ offset_top = 25.0
127205offset_right = -30.0
128206offset_bottom = 69.0
129207grow_horizontal = 0
208+ theme_override_styles/focus = SubResource ("StyleBoxFlat_kuqtn" )
209+ theme_override_styles/disabled_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
210+ theme_override_styles/disabled = SubResource ("StyleBoxFlat_kuqtn" )
211+ theme_override_styles/hover_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
212+ theme_override_styles/hover = SubResource ("StyleBoxFlat_tbgi4" )
213+ theme_override_styles/normal_mirrored = SubResource ("StyleBoxFlat_kuqtn" )
214+ theme_override_styles/normal = SubResource ("StyleBoxFlat_jyhfs" )
215+
216+ [node name ="NodeLabel" type ="Label" parent ="UI" ]
217+ anchors_preset = 7
218+ anchor_left = 0.5
219+ anchor_top = 1.0
220+ anchor_right = 0.5
221+ anchor_bottom = 1.0
222+ offset_left = -177.0
223+ offset_top = -23.0
224+ offset_right = -99.0
225+ grow_horizontal = 2
226+ grow_vertical = 0
227+ text = "Node: 0"
130228
131229[node name ="TimeLabel" type ="Label" parent ="UI" ]
132230anchors_preset = 7
@@ -140,3 +238,49 @@ offset_right = 20.0
140238grow_horizontal = 2
141239grow_vertical = 0
142240text = "Time: 0.0s"
241+
242+ [node name ="MoveLabel" type ="Label" parent ="UI" ]
243+ anchors_preset = 7
244+ anchor_left = 0.5
245+ anchor_top = 1.0
246+ anchor_right = 0.5
247+ anchor_bottom = 1.0
248+ offset_left = 111.0
249+ offset_top = -25.0
250+ offset_right = 189.0
251+ offset_bottom = -2.0
252+ grow_horizontal = 2
253+ grow_vertical = 0
254+ text = "Move: 0"
255+
256+ [node name ="MarginContainer" type ="MarginContainer" parent ="UI" ]
257+ anchors_preset = 11
258+ anchor_left = 1.0
259+ anchor_right = 1.0
260+ anchor_bottom = 1.0
261+ offset_left = -365.0
262+ grow_horizontal = 0
263+ grow_vertical = 2
264+ mouse_filter = 2
265+ theme_override_constants/margin_right = 20
266+ theme_override_constants/margin_bottom = 20
267+
268+ [node name ="ScrollContainer" type ="ScrollContainer" parent ="UI/MarginContainer" ]
269+ layout_mode = 2
270+ mouse_filter = 2
271+
272+ [node name ="VBoxContainer" type ="VBoxContainer" parent ="UI/MarginContainer/ScrollContainer" ]
273+ layout_mode = 2
274+ size_flags_horizontal = 3
275+ size_flags_vertical = 3
276+ mouse_filter = 2
277+ theme_override_constants/separation = 20
278+ alignment = 2
279+
280+ [node name ="Label" type ="Label" parent ="UI/MarginContainer/ScrollContainer/VBoxContainer" ]
281+ layout_mode = 2
282+ size_flags_vertical = 1
283+ theme_override_styles/normal = SubResource ("StyleBoxFlat_jyhfs" )
284+ text = "Congratulations! You reached the exit in \" + String::num_int64(current_manual_moves) + \" moves!"
285+ vertical_alignment = 1
286+ autowrap_mode = 1
0 commit comments