2022-01-21 12:50:50 +00:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2021-11-18 20:07:42 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://assets/fonts/kenney-future-narrow.ttf" type="DynamicFontData" id=1]
|
|
|
|
[ext_resource path="res://scenes/trackgui.gd" type="Script" id=2]
|
2022-01-21 12:50:50 +00:00
|
|
|
[ext_resource path="res://scenes/track_minimap.tscn" type="PackedScene" id=3]
|
2021-11-18 20:07:42 +00:00
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
|
|
size = 36
|
|
|
|
outline_size = 2
|
|
|
|
outline_color = Color( 1, 1, 1, 0.317647 )
|
|
|
|
font_data = ExtResource( 1 )
|
|
|
|
|
2022-01-20 18:11:54 +00:00
|
|
|
[sub_resource type="Theme" id=2]
|
|
|
|
default_font = SubResource( 1 )
|
|
|
|
Label/colors/font_color = Color( 0.482353, 0, 0, 1 )
|
|
|
|
|
2021-11-18 20:07:42 +00:00
|
|
|
[node name="TrackGUI" type="MarginContainer"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 20.0
|
|
|
|
margin_top = 20.0
|
|
|
|
margin_right = -20.0
|
|
|
|
margin_bottom = -20.0
|
2022-01-20 18:11:54 +00:00
|
|
|
theme = SubResource( 2 )
|
2021-11-18 20:07:42 +00:00
|
|
|
script = ExtResource( 2 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 560.0
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 41.0
|
|
|
|
|
|
|
|
[node name="TimeLabel" type="Label" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_right = 289.0
|
|
|
|
margin_bottom = 41.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 0
|
|
|
|
text = "Current lap -"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
|
|
|
|
[node name="TimeValue" type="Label" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 297.0
|
|
|
|
margin_right = 489.0
|
|
|
|
margin_bottom = 41.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 0
|
|
|
|
text = "12:23.245"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Divider" type="Label" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 497.0
|
|
|
|
margin_right = 562.0
|
|
|
|
margin_bottom = 41.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="BestTimeLabel" type="Label" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 570.0
|
|
|
|
margin_right = 784.0
|
|
|
|
margin_bottom = 41.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 0
|
|
|
|
text = "Best Lap -"
|
|
|
|
|
|
|
|
[node name="BestTimeValue" type="Label" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 792.0
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 41.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 0
|
|
|
|
text = "01:23.256"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2022-01-20 18:11:54 +00:00
|
|
|
[node name="LeaderboardsLine" type="HBoxContainer" parent="VBoxContainer"]
|
2021-11-18 20:07:42 +00:00
|
|
|
margin_top = 49.0
|
|
|
|
margin_right = 984.0
|
2022-01-20 18:11:54 +00:00
|
|
|
margin_bottom = 98.0
|
|
|
|
alignment = 2
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/LeaderboardsLine"]
|
|
|
|
margin_left = 684.0
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 49.0
|
|
|
|
|
|
|
|
[node name="LeaderboardsLabel" type="Label" parent="VBoxContainer/LeaderboardsLine/VBoxContainer"]
|
|
|
|
margin_right = 300.0
|
|
|
|
margin_bottom = 41.0
|
|
|
|
text = "Leaderboards"
|
|
|
|
|
|
|
|
[node name="Leaderboards" type="VBoxContainer" parent="VBoxContainer/LeaderboardsLine/VBoxContainer"]
|
|
|
|
margin_top = 49.0
|
|
|
|
margin_right = 300.0
|
|
|
|
margin_bottom = 49.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 560.0
|
|
|
|
|
|
|
|
[node name="WrongWayLabel" type="Label" parent="CenterContainer"]
|
|
|
|
visible = false
|
|
|
|
margin_left = 238.0
|
|
|
|
margin_top = 259.0
|
|
|
|
margin_right = 745.0
|
|
|
|
margin_bottom = 300.0
|
2021-11-18 20:07:42 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 0
|
|
|
|
custom_colors/font_color = Color( 0.482353, 0, 0, 1 )
|
|
|
|
text = "Wrong Way! Turn Around!"
|
|
|
|
align = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2022-01-21 12:50:50 +00:00
|
|
|
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 560.0
|
|
|
|
alignment = 2
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2"]
|
|
|
|
margin_top = 360.0
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 560.0
|
|
|
|
alignment = 2
|
|
|
|
|
|
|
|
[node name="ViewportContainer" type="ViewportContainer" parent="VBoxContainer2/HBoxContainer"]
|
|
|
|
margin_left = 784.0
|
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 200.0
|
|
|
|
|
|
|
|
[node name="TrackRadar" type="Viewport" parent="VBoxContainer2/HBoxContainer/ViewportContainer"]
|
|
|
|
size = Vector2( 200, 200 )
|
|
|
|
transparent_bg = true
|
|
|
|
handle_input_locally = false
|
|
|
|
disable_3d = true
|
|
|
|
usage = 0
|
|
|
|
render_target_update_mode = 3
|
|
|
|
gui_disable_input = true
|
|
|
|
|
|
|
|
[node name="TrackMinimap" parent="VBoxContainer2/HBoxContainer/ViewportContainer/TrackRadar" instance=ExtResource( 3 )]
|