123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- [gd_scene load_steps=5 format=2]
- [ext_resource path="res://UI/MainMenu.gd" type="Script" id=1]
- [ext_resource path="res://Fonts/hanken/hanken_48.tres" type="DynamicFont" id=2]
- [ext_resource path="res://Fonts/hanken/hanken_18.tres" type="DynamicFont" id=3]
- [ext_resource path="res://Fonts/hanken/hanken_26.tres" type="DynamicFont" id=4]
- [node name="MarginContainer" type="Node"]
- [node name="Panel" type="Panel" parent="."]
- margin_right = 1280.0
- margin_bottom = 720.0
- [node name="ColorRect" type="ColorRect" parent="Panel"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- color = Color( 0.121569, 0.560784, 0.592157, 1 )
- [node name="MarginContainer" type="MarginContainer" parent="."]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 50.0
- margin_top = 50.0
- margin_right = -50.0
- margin_bottom = -50.0
- script = ExtResource( 1 )
- [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
- margin_right = 1180.0
- margin_bottom = 535.0
- size_flags_horizontal = 3
- size_flags_vertical = 0
- [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
- margin_right = 1180.0
- margin_bottom = 94.0
- [node name="LabelDuoban" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer"]
- margin_right = 1180.0
- margin_bottom = 60.0
- rect_min_size = Vector2( 0, 60 )
- custom_fonts/font = ExtResource( 2 )
- custom_colors/font_color = Color( 0.0579834, 0.141144, 0.390625, 1 )
- text = "duoban"
- align = 1
- valign = 1
- [node name="LabelDuobanVersion" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer"]
- margin_top = 64.0
- margin_right = 1180.0
- margin_bottom = 94.0
- rect_min_size = Vector2( 0, 30 )
- custom_fonts/font = ExtResource( 3 )
- custom_colors/font_color = Color( 0.0579834, 0.141144, 0.390625, 1 )
- text = "v 0.1"
- align = 1
- [node name="HBoxPlay" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
- editor/display_folded = true
- margin_top = 98.0
- margin_right = 1180.0
- margin_bottom = 208.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- custom_constants/separation = 200
- alignment = 1
- [node name="ButtonPlay" type="Button" parent="MarginContainer/VBoxContainer/HBoxPlay"]
- margin_left = 380.0
- margin_right = 490.0
- margin_bottom = 110.0
- rect_min_size = Vector2( 110, 110 )
- [node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxPlay/ButtonPlay"]
- margin_left = 9.0
- margin_top = 10.0
- margin_right = 99.0
- margin_bottom = 100.0
- text = "play"
- align = 1
- valign = 1
- uppercase = true
- [node name="ButtonExit" type="Button" parent="MarginContainer/VBoxContainer/HBoxPlay"]
- margin_left = 690.0
- margin_right = 800.0
- margin_bottom = 110.0
- rect_min_size = Vector2( 110, 110 )
- [node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxPlay/ButtonExit"]
- margin_left = 9.0
- margin_top = 10.0
- margin_right = 99.0
- margin_bottom = 100.0
- text = "exit"
- align = 1
- valign = 1
- uppercase = true
- [node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
- margin_top = 212.0
- margin_right = 1180.0
- margin_bottom = 535.0
- [node name="Empty" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer2"]
- margin_right = 1180.0
- margin_bottom = 30.0
- rect_min_size = Vector2( 0, 30 )
- custom_fonts/font = ExtResource( 4 )
- custom_colors/font_color = Color( 0.0579834, 0.141144, 0.390625, 1 )
- align = 1
- valign = 1
- [node name="LabelHowToPlay" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer2"]
- margin_top = 34.0
- margin_right = 1180.0
- margin_bottom = 104.0
- rect_min_size = Vector2( 0, 70 )
- custom_fonts/font = ExtResource( 4 )
- custom_colors/font_color = Color( 0.0579834, 0.141144, 0.390625, 1 )
- text = "How to play:"
- align = 1
- valign = 1
- [node name="LabelHowToPlayText" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer2"]
- margin_top = 108.0
- margin_right = 1180.0
- margin_bottom = 138.0
- rect_min_size = Vector2( 0, 30 )
- custom_fonts/font = ExtResource( 3 )
- custom_colors/font_color = Color( 0.0579834, 0.141144, 0.390625, 1 )
- text = "get both players into their goal, beware if one player is in the goal it can't move anymore"
- align = 1
- [node name="Controls" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer2"]
- margin_top = 142.0
- margin_right = 1180.0
- margin_bottom = 212.0
- rect_min_size = Vector2( 0, 70 )
- custom_fonts/font = ExtResource( 4 )
- custom_colors/font_color = Color( 0.0579834, 0.141144, 0.390625, 1 )
- text = "Controls:"
- align = 1
- valign = 1
- [node name="ControlsText" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer2"]
- margin_top = 216.0
- margin_right = 1180.0
- margin_bottom = 323.0
- rect_min_size = Vector2( 0, 30 )
- custom_fonts/font = ExtResource( 3 )
- custom_colors/font_color = Color( 0.0579834, 0.141144, 0.390625, 1 )
- text = "move - w, a , s, d / arrow keys
- switch player - spacebar
- reset level - r"
- align = 1
- [connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxPlay/ButtonPlay" to="MarginContainer" method="_on_ButtonLevel1_pressed"]
- [connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxPlay/ButtonExit" to="MarginContainer" method="_on_ButtonExit_pressed"]
|