forked from team-sg/hero-mark-2
integrate scoreboards into main menu (closes #195)
This commit is contained in:
parent
481edb15b7
commit
95cb7ee138
4 changed files with 99 additions and 13 deletions
|
@ -105,7 +105,7 @@ hframes = 3
|
|||
[node name="Panel" type="Panel" parent="."]
|
||||
material = SubResource( 6 )
|
||||
margin_left = 16.0
|
||||
margin_top = 28.0
|
||||
margin_top = 15.0
|
||||
margin_right = 136.0
|
||||
margin_bottom = 132.0
|
||||
theme = ExtResource( 1 )
|
||||
|
@ -121,6 +121,7 @@ file select
|
|||
marathon mode
|
||||
augmentations
|
||||
options
|
||||
high scores
|
||||
sound test
|
||||
exit"
|
||||
|
||||
|
@ -179,25 +180,35 @@ margin_top = 61.0
|
|||
margin_right = 16.0
|
||||
margin_bottom = 69.0
|
||||
focus_neighbour_top = NodePath("../Augmentations")
|
||||
focus_neighbour_bottom = NodePath("../SoundTest")
|
||||
focus_neighbour_bottom = NodePath("../HighScores")
|
||||
texture_focused = ExtResource( 4 )
|
||||
|
||||
[node name="SoundTest" type="TextureButton" parent="Panel"]
|
||||
[node name="HighScores" type="TextureButton" parent="Panel"]
|
||||
material = SubResource( 4 )
|
||||
margin_left = 8.0
|
||||
margin_top = 74.0
|
||||
margin_right = 16.0
|
||||
margin_bottom = 82.0
|
||||
focus_neighbour_top = NodePath("../Options")
|
||||
focus_neighbour_bottom = NodePath("../SoundTest")
|
||||
texture_focused = ExtResource( 4 )
|
||||
|
||||
[node name="SoundTest" type="TextureButton" parent="Panel"]
|
||||
material = SubResource( 4 )
|
||||
margin_left = 8.0
|
||||
margin_top = 87.0
|
||||
margin_right = 16.0
|
||||
margin_bottom = 95.0
|
||||
focus_neighbour_top = NodePath("../HighScores")
|
||||
focus_neighbour_bottom = NodePath("../Exit")
|
||||
texture_focused = ExtResource( 4 )
|
||||
|
||||
[node name="Exit" type="TextureButton" parent="Panel"]
|
||||
material = SubResource( 4 )
|
||||
margin_left = 8.0
|
||||
margin_top = 87.0
|
||||
margin_top = 100.0
|
||||
margin_right = 16.0
|
||||
margin_bottom = 95.0
|
||||
margin_bottom = 108.0
|
||||
focus_neighbour_top = NodePath("../SoundTest")
|
||||
focus_neighbour_bottom = NodePath("../Continue")
|
||||
texture_focused = ExtResource( 4 )
|
||||
|
@ -224,8 +235,7 @@ margin_top = 3.0
|
|||
margin_right = 175.0
|
||||
margin_bottom = 52.0
|
||||
theme = ExtResource( 1 )
|
||||
text = "Welcome to the future...
|
||||
2083"
|
||||
text = "Welcome to the future... 2083!"
|
||||
align = 1
|
||||
|
||||
[node name="MenuSounds" parent="." instance=ExtResource( 9 )]
|
||||
|
@ -239,6 +249,9 @@ align = 1
|
|||
[connection signal="focus_entered" from="Panel/MarathonMode" to="MenuSounds" method="play_select_sound"]
|
||||
[connection signal="focus_entered" from="Panel/Augmentations" to="MenuSounds" method="play_select_sound"]
|
||||
[connection signal="focus_entered" from="Panel/Options" to="MenuSounds" method="play_select_sound"]
|
||||
[connection signal="button_down" from="Panel/HighScores" to="." method="_on_HighScores_button_down"]
|
||||
[connection signal="button_down" from="Panel/HighScores" to="MenuSounds" method="play_confirm_sound"]
|
||||
[connection signal="focus_entered" from="Panel/HighScores" to="MenuSounds" method="play_select_sound"]
|
||||
[connection signal="button_down" from="Panel/SoundTest" to="." method="_on_SoundTest_button_down"]
|
||||
[connection signal="button_down" from="Panel/SoundTest" to="MenuSounds" method="play_confirm_sound"]
|
||||
[connection signal="focus_entered" from="Panel/SoundTest" to="MenuSounds" method="play_select_sound"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue