From 56b1b65232539860d68a5ff03eb43bd99c11f52b Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 11 Feb 2024 12:32:44 -0500 Subject: Added filters --- level_race.tscn | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) (limited to 'level_race.tscn') diff --git a/level_race.tscn b/level_race.tscn index 365f57e..e48d12b 100644 --- a/level_race.tscn +++ b/level_race.tscn @@ -1,10 +1,15 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=10 format=2] [ext_resource path="res://nodes/label.tscn" type="PackedScene" id=1] [ext_resource path="res://fonts/Lingo.tres" type="DynamicFont" id=2] [ext_resource path="res://nodes/button.tscn" type="PackedScene" id=3] [ext_resource path="user://maps/racing/lobby.gd" type="Script" id=4] [ext_resource path="res://lingo_3.png" type="Texture" id=5] +[ext_resource path="res://fonts/Lingo.ttf" type="DynamicFontData" id=6] + +[sub_resource type="DynamicFont" id=1] +size = 36 +font_data = ExtResource( 6 ) [node name="racing" type="Spatial"] script = ExtResource( 4 ) @@ -56,3 +61,52 @@ margin_bottom = 1029.0 custom_colors/font_color_hover = Color( 1, 0, 0, 1 ) custom_fonts/font = ExtResource( 2 ) text = "READY" + +[node name="Settings" type="Panel" parent="Panel"] +margin_left = 1002.0 +margin_top = 279.0 +margin_right = 1658.0 +margin_bottom = 808.0 +visible = false + +[node name="LevelLabel" type="Label" parent="Panel/Settings"] +margin_left = 45.0 +margin_top = 4.0 +margin_right = 245.0 +margin_bottom = 92.0 +custom_fonts/font = SubResource( 1 ) +text = "Level" +align = 2 +valign = 1 + +[node name="LevelOption" type="OptionButton" parent="Panel/Settings"] +margin_left = 283.0 +margin_top = -2.0 +margin_right = 794.0 +margin_bottom = 92.0 +custom_fonts/font = SubResource( 1 ) +text = "Any" +align = 1 +items = [ "Any", null, false, 0, null, "Level 1", null, false, 1, null, "Level 2", null, false, 2, null ] +selected = 0 + +[node name="LengthLabel" type="Label" parent="Panel/Settings"] +margin_left = 45.0 +margin_top = 142.0 +margin_right = 245.0 +margin_bottom = 236.0 +custom_fonts/font = SubResource( 1 ) +text = "Length" +align = 2 +valign = 1 + +[node name="LengthOption" type="OptionButton" parent="Panel/Settings"] +margin_left = 283.0 +margin_top = 142.0 +margin_right = 794.0 +margin_bottom = 236.0 +custom_fonts/font = SubResource( 1 ) +text = "Any" +align = 1 +items = [ "Any", null, false, 0, null, "Short", null, false, 1, null, "Long", null, false, 2, null ] +selected = 0 -- cgit 1.4.1