bugged-racing/scenes/tracks/track.tscn

21 lines
776 B
Plaintext
Raw Normal View History

2021-11-18 20:07:42 +00:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scenes/tracks/track.gd" type="Script" id=1]
[ext_resource path="res://scenes/trackgui.tscn" type="PackedScene" id=2]
[sub_resource type="SpatialMaterial" id=7]
flags_transparent = true
albedo_color = Color( 0.0470588, 0.956863, 0.921569, 0.439216 )
[node name="Track" type="Spatial"]
script = ExtResource( 1 )
debug_material = SubResource( 7 )
[node name="Checkpoints" type="Spatial" parent="."]
[node name="TrackGUI" parent="." instance=ExtResource( 2 )]
[connection signal="lap_complete" from="." to="TrackGUI" method="_on_lap_complete"]
[connection signal="time_updated" from="." to="TrackGUI" method="_on_time_updated"]
[connection signal="wrong_way" from="." to="TrackGUI" method="_on_wrong_way_detected"]