123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- [gd_scene load_steps=3 format=2]
- [ext_resource path="res://menu.gd" type="Script" id=1]
- [ext_resource path="res://menu_textures/orig_1.png" type="Texture" id=2]
- [node name="scene" type="Node2D"]
- [node name="menu" type="Control" parent="."]
- margin_right = 40.0
- margin_bottom = 40.0
- script = ExtResource( 1 )
- [node name="menu_texture" type="TextureRect" parent="menu"]
- margin_right = 1280.0
- margin_bottom = 720.0
- texture = ExtResource( 2 )
- [node name="buttons" type="Control" parent="menu"]
- margin_right = 40.0
- margin_bottom = 40.0
- [node name="b1" type="TextureButton" parent="menu/buttons"]
- margin_left = 89.0
- margin_top = 248.0
- margin_right = 379.0
- margin_bottom = 305.0
- [node name="b2" type="TextureButton" parent="menu/buttons"]
- margin_left = 90.0
- margin_top = 339.0
- margin_right = 335.0
- margin_bottom = 396.0
- [node name="b3" type="TextureButton" parent="menu/buttons"]
- margin_left = 79.6673
- margin_top = 449.434
- margin_right = 159.667
- margin_bottom = 479.434
- rect_rotation = 45.0
- rect_pivot_offset = Vector2( 40, 15 )
- [node name="popup" type="AcceptDialog" parent="menu"]
- margin_right = 83.0
- margin_bottom = 58.0
- popup_exclusive = true
- dialog_text = "Clicked"
- [connection signal="button_down" from="menu/buttons/b1" to="menu" method="_on_b1_button_down"]
- [connection signal="button_up" from="menu/buttons/b1" to="menu" method="_on_b1_button_up"]
- [connection signal="mouse_entered" from="menu/buttons/b1" to="menu" method="_on_b1_mouse_entered"]
- [connection signal="mouse_exited" from="menu/buttons/b1" to="menu" method="_on_b1_mouse_exited"]
- [connection signal="pressed" from="menu/buttons/b1" to="menu" method="_on_b1_pressed"]
- [connection signal="button_down" from="menu/buttons/b2" to="menu" method="_on_b2_button_down"]
- [connection signal="button_up" from="menu/buttons/b2" to="menu" method="_on_b2_button_up"]
- [connection signal="mouse_entered" from="menu/buttons/b2" to="menu" method="_on_b2_mouse_entered"]
- [connection signal="mouse_exited" from="menu/buttons/b2" to="menu" method="_on_b2_mouse_exited"]
- [connection signal="pressed" from="menu/buttons/b2" to="menu" method="_on_b2_pressed"]
- [connection signal="button_down" from="menu/buttons/b3" to="menu" method="_on_b3_button_down"]
- [connection signal="button_up" from="menu/buttons/b3" to="menu" method="_on_b3_button_up"]
- [connection signal="mouse_entered" from="menu/buttons/b3" to="menu" method="_on_b3_mouse_entered"]
- [connection signal="mouse_exited" from="menu/buttons/b3" to="menu" method="_on_b3_mouse_exited"]
- [connection signal="pressed" from="menu/buttons/b3" to="menu" method="_on_b3_pressed"]
|