diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-25 12:09:50 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-25 12:09:50 -0400 |
| commit | 3f53502a5907ed1982d28a392c54331f0c1c2c42 (patch) | |
| tree | 1dd087464d0fba1c35feaab0cee357fca6f2763c /apworld/client/settings_screen.tscn | |
| parent | fb220e1c75e72a536c19aa1283f905850a91cf44 (diff) | |
| download | lingo2-archipelago-3f53502a5907ed1982d28a392c54331f0c1c2c42.tar.gz lingo2-archipelago-3f53502a5907ed1982d28a392c54331f0c1c2c42.tar.bz2 lingo2-archipelago-3f53502a5907ed1982d28a392c54331f0c1c2c42.zip | |
Move the client into the apworld
Only works on source right now, not as an apworld.
Diffstat (limited to 'apworld/client/settings_screen.tscn')
| -rw-r--r-- | apworld/client/settings_screen.tscn | 173 |
1 files changed, 173 insertions, 0 deletions
| diff --git a/apworld/client/settings_screen.tscn b/apworld/client/settings_screen.tscn new file mode 100644 index 0000000..63d5dbe --- /dev/null +++ b/apworld/client/settings_screen.tscn | |||
| @@ -0,0 +1,173 @@ | |||
| 1 | [gd_scene load_steps=11 format=2] | ||
| 2 | |||
| 3 | [ext_resource path="res://images/unchecked.png" type="Texture" id=7] | ||
| 4 | [ext_resource path="res://images/checked.png" type="Texture" id=8] | ||
| 5 | [ext_resource type="Theme" uid="uid://7w454egydi41" path="res://assets/themes/baseUI.tres" id="2_g4bvn"] | ||
| 6 | |||
| 7 | [sub_resource type="StyleBoxFlat" id=1] | ||
| 8 | bg_color = Color( 0, 0, 0, 0 ) | ||
| 9 | |||
| 10 | [sub_resource type="StyleBoxFlat" id=2] | ||
| 11 | bg_color = Color( 1, 1, 1, 1 ) | ||
| 12 | border_width_left = 1 | ||
| 13 | border_width_top = 1 | ||
| 14 | border_width_right = 1 | ||
| 15 | border_width_bottom = 1 | ||
| 16 | border_color = Color( 1, 1, 0, 1 ) | ||
| 17 | border_blend = true | ||
| 18 | corner_radius_top_left = 3 | ||
| 19 | corner_radius_top_right = 3 | ||
| 20 | corner_radius_bottom_right = 3 | ||
| 21 | corner_radius_bottom_left = 3 | ||
| 22 | expand_offset_left = 5.0 | ||
| 23 | expand_offset_right = 5.0 | ||
| 24 | expand_offset_top = 5.0 | ||
| 25 | expand_offset_bottom = 5.0 | ||
| 26 | |||
| 27 | [sub_resource id=4 type="GDScript"] | ||
| 28 | script/source = "extends Node2D | ||
| 29 | |||
| 30 | |||
| 31 | func _ready(): | ||
| 32 | var runtime = global.get_node(\"Runtime\") | ||
| 33 | var main_script = runtime.load_path(\"main.gd\") | ||
| 34 | var main_node = main_script.new() | ||
| 35 | main_node.name = \"Main\" | ||
| 36 | add_child(main_node) | ||
| 37 | |||
| 38 | " | ||
| 39 | |||
| 40 | [node name="settings_screen" type="Node2D"] | ||
| 41 | script = SubResource( 4 ) | ||
| 42 | |||
| 43 | [node name="Panel" type="Panel" parent="."] | ||
| 44 | offset_right = 1920.0 | ||
| 45 | offset_bottom = 1080.0 | ||
| 46 | |||
| 47 | [node name="title" parent="Panel" type="Label"] | ||
| 48 | offset_left = 0.0 | ||
| 49 | offset_top = 75.0 | ||
| 50 | offset_right = 1920.0 | ||
| 51 | offset_bottom = 225.0 | ||
| 52 | text = "ARCHIPELAGO" | ||
| 53 | valign = 1 | ||
| 54 | horizontal_alignment = 1 | ||
| 55 | theme = ExtResource("2_g4bvn") | ||
| 56 | |||
| 57 | [node name="credit" parent="Panel" type="Label"] | ||
| 58 | visible = false | ||
| 59 | offset_left = 1278.0 | ||
| 60 | offset_top = 974.0 | ||
| 61 | offset_right = 1868.0 | ||
| 62 | offset_bottom = 1034.0 | ||
| 63 | text = "Brenton Wildes" | ||
| 64 | theme = ExtResource("2_g4bvn") | ||
| 65 | |||
| 66 | [node name="connect_button" parent="Panel" type="Button"] | ||
| 67 | offset_left = 255.0 | ||
| 68 | offset_top = 875.0 | ||
| 69 | offset_right = 891.0 | ||
| 70 | offset_bottom = 1025.0 | ||
| 71 | custom_colors/font_color_hover = Color( 1, 0.501961, 0, 1 ) | ||
| 72 | text = "CONNECT" | ||
| 73 | theme = ExtResource("2_g4bvn") | ||
| 74 | |||
| 75 | [node name="quit_button" parent="Panel" type="Button"] | ||
| 76 | offset_left = 1102.0 | ||
| 77 | offset_top = 875.0 | ||
| 78 | offset_right = 1738.0 | ||
| 79 | offset_bottom = 1025.0 | ||
| 80 | custom_colors/font_color_hover = Color( 1, 0, 0, 1 ) | ||
| 81 | text = "QUIT" | ||
| 82 | theme = ExtResource("2_g4bvn") | ||
| 83 | |||
| 84 | [node name="credit2" parent="Panel" type="Label"] | ||
| 85 | offset_left = -105.0 | ||
| 86 | offset_top = 346.0 | ||
| 87 | offset_right = 485.0 | ||
| 88 | offset_bottom = 410.0 | ||
| 89 | custom_styles/normal = SubResource( 1 ) | ||
| 90 | text = "SERVER" | ||
| 91 | align = 2 | ||
| 92 | theme = ExtResource("2_g4bvn") | ||
| 93 | |||
| 94 | [node name="credit5" parent="Panel" type="Label"] | ||
| 95 | offset_left = 1239.0 | ||
| 96 | offset_top = 422.0 | ||
| 97 | offset_right = 1829.0 | ||
| 98 | offset_bottom = 486.0 | ||
| 99 | custom_styles/normal = SubResource( 1 ) | ||
| 100 | text = "OPTIONS" | ||
| 101 | theme = ExtResource("2_g4bvn") | ||
| 102 | |||
| 103 | [node name="credit3" parent="Panel" type="Label"] | ||
| 104 | offset_left = -105.0 | ||
| 105 | offset_top = 519.0 | ||
| 106 | offset_right = 485.0 | ||
| 107 | offset_bottom = 583.0 | ||
| 108 | custom_styles/normal = SubResource( 1 ) | ||
| 109 | text = "PLAYER" | ||
| 110 | align = 2 | ||
| 111 | theme = ExtResource("2_g4bvn") | ||
| 112 | |||
| 113 | [node name="credit4" parent="Panel" type="Label"] | ||
| 114 | offset_left = -105.0 | ||
| 115 | offset_top = 704.0 | ||
| 116 | offset_right = 485.0 | ||
| 117 | offset_bottom = 768.0 | ||
| 118 | custom_styles/normal = SubResource( 1 ) | ||
| 119 | text = "PASSWORD" | ||
| 120 | align = 2 | ||
| 121 | theme = ExtResource("2_g4bvn") | ||
| 122 | |||
| 123 | [node name="server_box" type="LineEdit" parent="Panel"] | ||
| 124 | offset_left = 502.0 | ||
| 125 | offset_top = 295.0 | ||
| 126 | offset_right = 1144.0 | ||
| 127 | offset_bottom = 445.0 | ||
| 128 | custom_colors/selection_color = Color( 0.482353, 0, 0, 1 ) | ||
| 129 | custom_colors/cursor_color = Color( 0, 0, 0, 1 ) | ||
| 130 | custom_colors/font_color = Color( 0, 0, 0, 1 ) | ||
| 131 | custom_styles/focus = SubResource( 2 ) | ||
| 132 | align = 1 | ||
| 133 | caret_blink = true | ||
| 134 | |||
| 135 | [node name="player_box" type="LineEdit" parent="Panel"] | ||
| 136 | offset_left = 502.0 | ||
| 137 | offset_top = 477.0 | ||
| 138 | offset_right = 1144.0 | ||
| 139 | offset_bottom = 627.0 | ||
| 140 | custom_colors/selection_color = Color( 0.482353, 0, 0, 1 ) | ||
| 141 | custom_colors/cursor_color = Color( 0, 0, 0, 1 ) | ||
| 142 | custom_colors/font_color = Color( 0, 0, 0, 1 ) | ||
| 143 | custom_styles/focus = SubResource( 2 ) | ||
| 144 | align = 1 | ||
| 145 | caret_blink = true | ||
| 146 | |||
| 147 | [node name="password_box" type="LineEdit" parent="Panel"] | ||
| 148 | offset_left = 502.0 | ||
| 149 | offset_top = 659.0 | ||
| 150 | offset_right = 1144.0 | ||
| 151 | offset_bottom = 809.0 | ||
| 152 | custom_colors/selection_color = Color( 0.482353, 0, 0, 1 ) | ||
| 153 | custom_colors/cursor_color = Color( 0, 0, 0, 1 ) | ||
| 154 | custom_colors/font_color = Color( 0, 0, 0, 1 ) | ||
| 155 | custom_styles/focus = SubResource( 2 ) | ||
| 156 | align = 1 | ||
| 157 | caret_blink = true | ||
| 158 | |||
| 159 | [node name="AcceptDialog" type="AcceptDialog" parent="Panel"] | ||
| 160 | offset_right = 83.0 | ||
| 161 | offset_bottom = 58.0 | ||
| 162 | |||
| 163 | [node name="VersionMismatch" type="ConfirmationDialog" parent="Panel"] | ||
| 164 | offset_right = 83.0 | ||
| 165 | offset_bottom = 58.0 | ||
| 166 | |||
| 167 | [node name="connection_history" type="MenuButton" parent="Panel"] | ||
| 168 | offset_left = 1239.0 | ||
| 169 | offset_top = 276.0 | ||
| 170 | offset_right = 1829.0 | ||
| 171 | offset_bottom = 372.0 | ||
| 172 | text = "connection history" | ||
| 173 | flat = false | ||
