1- [gd_scene load_steps =2 format =2 ]
1+ [gd_scene load_steps =5 format =2 ]
22
33[ext_resource path ="res://town_mesh.tscn" type ="PackedScene" id =1 ]
4+ [ext_resource path ="res://spedometer.gd" type ="Script" id =2 ]
5+
6+ [sub_resource type ="StyleBoxEmpty" id =1 ]
7+
8+ [sub_resource type ="Theme" id =2 ]
9+ Button/styles/focus = SubResource ( 1 )
410
511[node name ="TownScene" type ="Spatial" ]
612
915[node name ="InstancePos" type ="Position3D" parent ="." ]
1016transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 13.2039 , 6.67095 , -37.6042 )
1117
18+ [node name ="Panel" type ="Panel" parent ="InstancePos" ]
19+ anchor_left = 1.0
20+ anchor_right = 1.0
21+ margin_left = -130.0
22+ margin_bottom = 40.0
23+ rect_min_size = Vector2 ( 120 , 40 )
24+ __meta__ = {
25+ "_edit_use_anchors_" : false
26+ }
27+
28+ [node name ="Spedometer" type ="Button" parent ="InstancePos/Panel" ]
29+ anchor_right = 1.0
30+ anchor_bottom = 1.0
31+ theme = SubResource ( 2 )
32+ text = "Speed: ???"
33+ flat = true
34+ script = ExtResource ( 2 )
35+ __meta__ = {
36+ "_edit_use_anchors_" : false
37+ }
38+
1239[node name ="Back" type ="Button" parent ="." ]
1340margin_left = 17.0
1441margin_top = 9.0
@@ -19,3 +46,4 @@ text = "<- Back!"
1946[node name ="DirectionalLight" type ="DirectionalLight" parent ="." ]
2047transform = Transform ( 1 , 0 , 0 , 0 , -0.629475 , 0.777021 , 0 , -0.777021 , -0.629475 , 0 , 24.4076 , 0 )
2148shadow_enabled = true
49+ [connection signal ="pressed" from ="InstancePos/Panel/Spedometer" to ="InstancePos/Panel/Spedometer" method ="_on_Spedometer_pressed" ]
0 commit comments