From f0555579cd462b27c71c486bd7456265cc827937 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 9 Dec 2023 13:14:25 -0500 Subject: Starting to work --- randomizer.tscn | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 randomizer.tscn (limited to 'randomizer.tscn') diff --git a/randomizer.tscn b/randomizer.tscn new file mode 100644 index 0000000..e4b96aa --- /dev/null +++ b/randomizer.tscn @@ -0,0 +1,102 @@ +[gd_scene load_steps=9 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/randomizer/settings_buttons.gd" type="Script" id=4] +[ext_resource path="user://maps/randomizer/settings_screen.gd" type="Script" id=5] +[ext_resource path="res://fonts/Lingo35.tres" type="DynamicFont" id=6] + +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 0, 0, 0, 0 ) + +[sub_resource type="StyleBoxFlat" id=2] +bg_color = Color( 1, 1, 1, 1 ) +border_width_left = 1 +border_width_top = 1 +border_width_right = 1 +border_width_bottom = 1 +border_color = Color( 1, 1, 0, 1 ) +border_blend = true +corner_radius_top_left = 3 +corner_radius_top_right = 3 +corner_radius_bottom_right = 3 +corner_radius_bottom_left = 3 +expand_margin_left = 5.0 +expand_margin_right = 5.0 +expand_margin_top = 5.0 +expand_margin_bottom = 5.0 + +[node name="settings_screen" type="Spatial"] +script = ExtResource( 5 ) + +[node name="Panel" type="Panel" parent="."] +margin_right = 1920.0 +margin_bottom = 1080.0 + +[node name="title" parent="Panel" instance=ExtResource( 1 )] +margin_left = 0.0 +margin_top = 75.0 +margin_right = 1920.0 +margin_bottom = 225.0 +custom_fonts/font = ExtResource( 2 ) +text = "RANDOMIZER" +valign = 1 + +[node name="credit" parent="Panel" instance=ExtResource( 1 )] +visible = false +margin_left = 1278.0 +margin_top = 974.0 +margin_right = 1868.0 +margin_bottom = 1034.0 +custom_fonts/font = ExtResource( 2 ) +text = "Brenton Wildes" + +[node name="start_button" parent="Panel" instance=ExtResource( 3 )] +margin_left = 255.0 +margin_top = 875.0 +margin_right = 891.0 +margin_bottom = 1025.0 +custom_colors/font_color_hover = Color( 1, 0.501961, 0, 1 ) +custom_fonts/font = ExtResource( 2 ) +text = "START" +script = ExtResource( 4 ) + +[node name="quit_button" parent="Panel" instance=ExtResource( 3 )] +margin_left = 1102.0 +margin_top = 875.0 +margin_right = 1738.0 +margin_bottom = 1025.0 +custom_colors/font_color_hover = Color( 1, 0, 0, 1 ) +custom_fonts/font = ExtResource( 2 ) +text = "BACK" +script = ExtResource( 4 ) + +[node name="credit2" parent="Panel" instance=ExtResource( 1 )] +margin_left = -105.0 +margin_top = 346.0 +margin_right = 485.0 +margin_bottom = 410.0 +custom_fonts/font = ExtResource( 2 ) +custom_styles/normal = SubResource( 1 ) +text = "SEED" +align = 2 + +[node name="seed_box" type="LineEdit" parent="Panel"] +margin_left = 502.0 +margin_top = 295.0 +margin_right = 1144.0 +margin_bottom = 445.0 +custom_colors/selection_color = Color( 0.482353, 0, 0, 1 ) +custom_colors/cursor_color = Color( 0, 0, 0, 1 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_styles/focus = SubResource( 2 ) +align = 1 +caret_blink = true + +[node name="AcceptDialog" type="AcceptDialog" parent="Panel"] +margin_right = 83.0 +margin_bottom = 58.0 + +[connection signal="pressed" from="Panel/start_button" to="Panel/start_button" method="_start_pressed"] +[connection signal="pressed" from="Panel/quit_button" to="Panel/quit_button" method="_back_pressed"] -- cgit 1.4.1