This repository has been archived on 2022-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
Tyra/scenes/Menu.tscn

65 lines
2.4 KiB
Text
Raw Normal View History

2021-04-08 02:31:29 +02:00
[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/images/fondMenu.png" type="Texture" id=1]
[ext_resource path="res://assets/images/titreMenu.png" type="Texture" id=2]
[ext_resource path="res://assets/images/buttonPlay.png" type="Texture" id=3]
[ext_resource path="res://assets/images/buttonPlaySelected.png" type="Texture" id=4]
[ext_resource path="res://assets/images/buttonExitSelected.png" type="Texture" id=5]
[ext_resource path="res://assets/images/buttonExit.png" type="Texture" id=6]
[ext_resource path="res://scripts/menuPrincipal.gd" type="Script" id=7]
[node name="Menu" type="Node2D"]
[node name="Principal" type="Node2D" parent="."]
script = ExtResource( 7 )
[node name="Sprite" type="Sprite" parent="Principal"]
texture = ExtResource( 1 )
centered = false
[node name="MarginContainer" type="MarginContainer" parent="Principal"]
margin_right = 1024.0
margin_bottom = 600.0
custom_constants/margin_right = 40
custom_constants/margin_top = 40
custom_constants/margin_left = 40
custom_constants/margin_bottom = 40
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="Principal/MarginContainer"]
margin_left = 40.0
margin_top = 40.0
margin_right = 1064.0
margin_bottom = 610.0
size_flags_horizontal = 5
custom_constants/separation = -24
[node name="TextureRect" type="TextureRect" parent="Principal/MarginContainer/VBoxContainer"]
margin_right = 1024.0
margin_bottom = 222.0
texture = ExtResource( 2 )
[node name="VBoxContainer" type="VBoxContainer" parent="Principal/MarginContainer/VBoxContainer"]
margin_left = 350.0
margin_top = 198.0
margin_right = 674.0
margin_bottom = 570.0
size_flags_horizontal = 4
[node name="Jouer" type="TextureButton" parent="Principal/MarginContainer/VBoxContainer/VBoxContainer"]
margin_right = 324.0
margin_bottom = 184.0
texture_normal = ExtResource( 3 )
texture_focused = ExtResource( 4 )
[node name="Quitter" type="TextureButton" parent="Principal/MarginContainer/VBoxContainer/VBoxContainer"]
margin_top = 188.0
margin_right = 324.0
margin_bottom = 372.0
texture_normal = ExtResource( 6 )
texture_focused = ExtResource( 5 )
[connection signal="pressed" from="Principal/MarginContainer/VBoxContainer/VBoxContainer/Jouer" to="Principal" method="_on_Jouer_pressed"]
[connection signal="pressed" from="Principal/MarginContainer/VBoxContainer/VBoxContainer/Quitter" to="Principal" method="_on_Quitter_pressed"]