335 lines
12 KiB
Text
335 lines
12 KiB
Text
[gd_scene load_steps=12 format=2]
|
|
|
|
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=1]
|
|
[ext_resource path="res://menus/scoreboards.gd" type="Script" id=2]
|
|
[ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=4]
|
|
[ext_resource path="res://ui/theme.tres" type="Theme" id=5]
|
|
[ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=6]
|
|
[ext_resource path="res://menus/score_entry.tscn" type="PackedScene" id=7]
|
|
[ext_resource path="res://ui/2ndpuberty_scholar_outline.fnt" type="BitmapFont" id=8]
|
|
|
|
[sub_resource type="ShaderMaterial" id=1]
|
|
shader = ExtResource( 1 )
|
|
shader_param/color_1 = Color( 0.615686, 0.670588, 0.984314, 1 )
|
|
shader_param/color_2 = Color( 1, 0.709804, 0.984314, 1 )
|
|
shader_param/checker_size = Vector2( 24, 12 )
|
|
shader_param/pan_speed = Vector2( 0, 0 )
|
|
shader_param/cycle_speed = Vector2( 8, -8 )
|
|
shader_param/cycle_alternation = Vector2( 0, 1 )
|
|
shader_param/uv_transform = Transform2D( 1, 0, 1, 1, 0, 0 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
shader = ExtResource( 4 )
|
|
shader_param/speed = Vector2( 4, 0 )
|
|
shader_param/ammount = Vector2( 2, 0 )
|
|
shader_param/offset = Vector2( 0, 0 )
|
|
shader_param/delay = Vector2( 0, 0 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
|
shader = ExtResource( 4 )
|
|
shader_param/speed = Vector2( 4, 0 )
|
|
shader_param/ammount = Vector2( 2, 0 )
|
|
shader_param/offset = Vector2( 0, 0 )
|
|
shader_param/delay = Vector2( 4, 0 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=4]
|
|
shader = ExtResource( 4 )
|
|
shader_param/speed = Vector2( 8, 4 )
|
|
shader_param/ammount = Vector2( 12, 24 )
|
|
shader_param/offset = Vector2( 0, 0 )
|
|
shader_param/delay = Vector2( 0, 0 )
|
|
|
|
[node name="Scoreboards" type="Node"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
material = SubResource( 1 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="BoardsScreen" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme = ExtResource( 5 )
|
|
custom_constants/separation = 0
|
|
|
|
[node name="SelectLevel" type="HBoxContainer" parent="BoardsScreen"]
|
|
margin_right = 256.0
|
|
margin_bottom = 16.0
|
|
rect_min_size = Vector2( 0, 16 )
|
|
alignment = 1
|
|
|
|
[node name="BackArrow" type="TextureRect" parent="BoardsScreen/SelectLevel"]
|
|
unique_name_in_owner = true
|
|
material = SubResource( 2 )
|
|
margin_left = 72.0
|
|
margin_top = 4.0
|
|
margin_right = 78.0
|
|
margin_bottom = 12.0
|
|
size_flags_vertical = 4
|
|
texture = ExtResource( 6 )
|
|
flip_h = true
|
|
|
|
[node name="LevelTitle" type="Button" parent="BoardsScreen/SelectLevel"]
|
|
unique_name_in_owner = true
|
|
margin_left = 82.0
|
|
margin_top = 3.0
|
|
margin_right = 173.0
|
|
margin_bottom = 13.0
|
|
focus_neighbour_bottom = NodePath("../../SelectScoreType/Type")
|
|
size_flags_vertical = 4
|
|
theme = ExtResource( 5 )
|
|
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
custom_fonts/font = ExtResource( 8 )
|
|
text = "Verdant Hills"
|
|
|
|
[node name="NextArrow" type="TextureRect" parent="BoardsScreen/SelectLevel"]
|
|
unique_name_in_owner = true
|
|
material = SubResource( 3 )
|
|
margin_left = 177.0
|
|
margin_top = 4.0
|
|
margin_right = 183.0
|
|
margin_bottom = 12.0
|
|
size_flags_vertical = 4
|
|
texture = ExtResource( 6 )
|
|
|
|
[node name="SelectScoreType" type="HBoxContainer" parent="BoardsScreen"]
|
|
margin_top = 16.0
|
|
margin_right = 256.0
|
|
margin_bottom = 32.0
|
|
rect_min_size = Vector2( 0, 16 )
|
|
alignment = 1
|
|
|
|
[node name="Difficulty" type="Button" parent="BoardsScreen/SelectScoreType"]
|
|
unique_name_in_owner = true
|
|
margin_left = 52.0
|
|
margin_top = 3.0
|
|
margin_right = 100.0
|
|
margin_bottom = 13.0
|
|
rect_min_size = Vector2( 48, 0 )
|
|
focus_neighbour_right = NodePath("../Type")
|
|
focus_neighbour_bottom = NodePath("../../Scoreboard")
|
|
size_flags_vertical = 4
|
|
theme = ExtResource( 5 )
|
|
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
custom_fonts/font = ExtResource( 8 )
|
|
text = "Spicy"
|
|
|
|
[node name="Type" type="Button" parent="BoardsScreen/SelectScoreType"]
|
|
unique_name_in_owner = true
|
|
margin_left = 104.0
|
|
margin_top = 3.0
|
|
margin_right = 152.0
|
|
margin_bottom = 13.0
|
|
rect_min_size = Vector2( 48, 0 )
|
|
focus_neighbour_left = NodePath("../Difficulty")
|
|
focus_neighbour_right = NodePath("../SpaceReserve/Completion")
|
|
focus_neighbour_bottom = NodePath("../../Scoreboard")
|
|
size_flags_vertical = 4
|
|
theme = ExtResource( 5 )
|
|
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
custom_fonts/font = ExtResource( 8 )
|
|
text = "Scores"
|
|
|
|
[node name="SpaceReserve" type="Control" parent="BoardsScreen/SelectScoreType"]
|
|
margin_left = 156.0
|
|
margin_top = 8.0
|
|
margin_right = 204.0
|
|
margin_bottom = 8.0
|
|
rect_min_size = Vector2( 48, 0 )
|
|
size_flags_vertical = 4
|
|
|
|
[node name="Completion" type="Button" parent="BoardsScreen/SelectScoreType/SpaceReserve"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -24.0
|
|
margin_top = -5.0
|
|
margin_right = 24.0
|
|
margin_bottom = 5.0
|
|
rect_min_size = Vector2( 48, 0 )
|
|
focus_neighbour_left = NodePath("../../Type")
|
|
focus_neighbour_bottom = NodePath("../../../Scoreboard")
|
|
theme = ExtResource( 5 )
|
|
custom_colors/font_color_focus = Color( 1, 0.968627, 0.709804, 1 )
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
custom_fonts/font = ExtResource( 8 )
|
|
text = "Any%"
|
|
icon_align = 1
|
|
|
|
[node name="Scoreboard" type="HBoxContainer" parent="BoardsScreen"]
|
|
margin_top = 32.0
|
|
margin_right = 256.0
|
|
margin_bottom = 192.0
|
|
focus_neighbour_top = NodePath("../SelectScoreType/Type")
|
|
focus_mode = 2
|
|
size_flags_vertical = 3
|
|
alignment = 1
|
|
|
|
[node name="PrevBoard" type="TextureRect" parent="BoardsScreen/Scoreboard"]
|
|
unique_name_in_owner = true
|
|
material = SubResource( 2 )
|
|
margin_left = 6.0
|
|
margin_top = 76.0
|
|
margin_right = 12.0
|
|
margin_bottom = 84.0
|
|
size_flags_vertical = 4
|
|
texture = ExtResource( 6 )
|
|
flip_h = true
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="BoardsScreen/Scoreboard"]
|
|
margin_left = 16.0
|
|
margin_right = 240.0
|
|
margin_bottom = 144.0
|
|
rect_min_size = Vector2( 224, 144 )
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="BoardsScreen/Scoreboard/PanelContainer"]
|
|
margin_left = 3.0
|
|
margin_top = 3.0
|
|
margin_right = 221.0
|
|
margin_bottom = 141.0
|
|
custom_constants/margin_right = 4
|
|
custom_constants/margin_top = 4
|
|
custom_constants/margin_left = 4
|
|
custom_constants/margin_bottom = 4
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer"]
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = 214.0
|
|
margin_bottom = 134.0
|
|
|
|
[node name="Header" type="HBoxContainer" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer"]
|
|
margin_right = 210.0
|
|
margin_bottom = 10.0
|
|
custom_constants/separation = 8
|
|
|
|
[node name="Place" type="Label" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/Header"]
|
|
margin_right = 21.0
|
|
margin_bottom = 10.0
|
|
text = " # "
|
|
|
|
[node name="User" type="Label" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/Header"]
|
|
margin_left = 29.0
|
|
margin_right = 167.0
|
|
margin_bottom = 10.0
|
|
size_flags_horizontal = 3
|
|
text = "User"
|
|
|
|
[node name="Score" type="Label" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/Header"]
|
|
margin_left = 175.0
|
|
margin_right = 210.0
|
|
margin_bottom = 10.0
|
|
text = "score"
|
|
align = 2
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer"]
|
|
margin_top = 14.0
|
|
margin_right = 210.0
|
|
margin_bottom = 18.0
|
|
|
|
[node name="ScoreboardTabs" type="TabContainer" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 22.0
|
|
margin_right = 210.0
|
|
margin_bottom = 130.0
|
|
size_flags_vertical = 3
|
|
tabs_visible = false
|
|
|
|
[node name="Scores" type="VBoxContainer" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs"]
|
|
unique_name_in_owner = true
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="ScoreEntry1" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/Scores" instance=ExtResource( 7 )]
|
|
place = 1
|
|
|
|
[node name="ScoreEntry2" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/Scores" instance=ExtResource( 7 )]
|
|
margin_top = 14.0
|
|
margin_bottom = 24.0
|
|
place = 2
|
|
|
|
[node name="ScoreEntry3" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/Scores" instance=ExtResource( 7 )]
|
|
margin_top = 28.0
|
|
margin_bottom = 38.0
|
|
place = 3
|
|
|
|
[node name="ScoreEntry4" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/Scores" instance=ExtResource( 7 )]
|
|
margin_top = 42.0
|
|
margin_bottom = 52.0
|
|
place = 4
|
|
|
|
[node name="ScoreEntry5" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/Scores" instance=ExtResource( 7 )]
|
|
margin_top = 56.0
|
|
margin_bottom = 66.0
|
|
place = 5
|
|
|
|
[node name="ScoreEntry6" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/Scores" instance=ExtResource( 7 )]
|
|
margin_top = 70.0
|
|
margin_bottom = 80.0
|
|
place = 6
|
|
|
|
[node name="ScoreEntry7" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/Scores" instance=ExtResource( 7 )]
|
|
margin_top = 84.0
|
|
margin_bottom = 94.0
|
|
place = 7
|
|
|
|
[node name="ScoreEntry8" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/Scores" instance=ExtResource( 7 )]
|
|
margin_top = 98.0
|
|
margin_bottom = 108.0
|
|
place = 8
|
|
|
|
[node name="LoadingIndicator" type="CenterContainer" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Label" type="Label" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/LoadingIndicator"]
|
|
material = SubResource( 4 )
|
|
margin_left = 101.0
|
|
margin_top = 49.0
|
|
margin_right = 108.0
|
|
margin_bottom = 59.0
|
|
text = "§"
|
|
|
|
[node name="FailedIndicator" type="CenterContainer" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="Label" type="Label" parent="BoardsScreen/Scoreboard/PanelContainer/MarginContainer/VBoxContainer/ScoreboardTabs/FailedIndicator"]
|
|
margin_left = 56.0
|
|
margin_top = 49.0
|
|
margin_right = 154.0
|
|
margin_bottom = 59.0
|
|
text = "Failed to load"
|
|
|
|
[node name="NextBoard" type="TextureRect" parent="BoardsScreen/Scoreboard"]
|
|
unique_name_in_owner = true
|
|
material = SubResource( 3 )
|
|
margin_left = 244.0
|
|
margin_top = 76.0
|
|
margin_right = 250.0
|
|
margin_bottom = 84.0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
texture = ExtResource( 6 )
|
|
|
|
[connection signal="focus_entered" from="BoardsScreen/SelectLevel/LevelTitle" to="." method="_on_LevelTitle_focus_entered"]
|
|
[connection signal="focus_exited" from="BoardsScreen/SelectLevel/LevelTitle" to="." method="_on_LevelTitle_focus_exited"]
|
|
[connection signal="gui_input" from="BoardsScreen/SelectLevel/LevelTitle" to="." method="_on_LevelTitle_gui_input"]
|
|
[connection signal="pressed" from="BoardsScreen/SelectScoreType/Difficulty" to="." method="_on_Difficulty_pressed"]
|
|
[connection signal="pressed" from="BoardsScreen/SelectScoreType/Type" to="." method="_on_Type_pressed"]
|
|
[connection signal="pressed" from="BoardsScreen/SelectScoreType/SpaceReserve/Completion" to="." method="_on_Completion_pressed"]
|
|
[connection signal="focus_entered" from="BoardsScreen/Scoreboard" to="." method="_on_Scoreboard_focus_entered"]
|
|
[connection signal="focus_exited" from="BoardsScreen/Scoreboard" to="." method="_on_Scoreboard_focus_exited"]
|
|
[connection signal="gui_input" from="BoardsScreen/Scoreboard" to="." method="_on_Scoreboard_gui_input"]
|