-
Notifications
You must be signed in to change notification settings - Fork 0
/
Node2D.tscn
151 lines (137 loc) · 4.58 KB
/
Node2D.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[gd_scene load_steps=12 format=2]
[ext_resource path="res://assets/colors/black.jpg" type="Texture" id=1]
[ext_resource path="res://assets/colors/beige.png" type="Texture" id=2]
[ext_resource path="res://Node2D.gd" type="Script" id=3]
[ext_resource path="res://assets/interogation.png" type="Texture" id=4]
[ext_resource path="res://assets/pioche.png" type="Texture" id=5]
[ext_resource path="res://assets/arrow.png" type="Texture" id=6]
[ext_resource path="res://assets/arrow-2.png" type="Texture" id=7]
[ext_resource path="res://Node2D_aide.gd" type="Script" id=8]
[ext_resource path="res://assets/fleche_rotation.jpg" type="Texture" id=9]
[ext_resource path="res://Node2D_acceuil.gd" type="Script" id=10]
[ext_resource path="res://icon.png" type="Texture" id=11]
[node name="Node2D" type="Node2D"]
z_index = 1
script = ExtResource( 3 )
[node name="TextureRect" type="TextureRect" parent="."]
margin_right = 1026.0
margin_bottom = 487.0
mouse_filter = 2
texture = ExtResource( 1 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Area2D" type="Area2D" parent="."]
z_index = 2
[node name="TextureRect2" type="TextureRect" parent="Area2D"]
margin_left = -1.0
margin_top = 460.0
margin_right = 1024.0
margin_bottom = 599.0
mouse_filter = 2
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button_pioche" type="TextureButton" parent="Area2D/TextureRect2"]
margin_left = 158.563
margin_top = 49.7764
margin_right = 198.563
margin_bottom = 89.7764
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 5 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RichTextLabel" type="RichTextLabel" parent="Area2D/TextureRect2/Button_pioche"]
margin_left = -151.387
margin_top = -37.6838
margin_right = -5.38742
margin_bottom = -18.6838
custom_colors/default_color = Color( 0, 0, 0, 1 )
tab_size = 24
text = "PIOCHE ="
fit_content_height = true
[node name="textejoueur1" type="RichTextLabel" parent="Area2D/TextureRect2/Button_pioche"]
margin_left = -150.0
margin_top = -19.0
margin_right = -5.0
margin_bottom = 28.0
custom_colors/default_color = Color( 0, 0, 0, 1 )
text = "Joueur 1
Jetons =
Victoire ="
scroll_active = false
[node name="textejoueurIA" type="RichTextLabel" parent="Area2D/TextureRect2/Button_pioche"]
margin_left = -151.765
margin_top = 31.8316
margin_right = -59.7653
margin_bottom = 71.8316
custom_colors/default_color = Color( 0, 0, 0, 1 )
text = "Joueur IA
Jetons =
Victoire ="
scroll_active = false
[node name="Button_gauche2" type="TextureButton" parent="Area2D/TextureRect2"]
margin_left = 200.916
margin_top = 53.1914
margin_right = 240.916
margin_bottom = 93.1914
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button_droite" type="TextureButton" parent="Area2D/TextureRect2"]
margin_left = 975.733
margin_top = 60.8988
margin_right = 1015.73
margin_bottom = 100.898
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 6 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button_tourne" type="TextureButton" parent="Area2D/TextureRect2"]
margin_left = 159.151
margin_top = 94.9082
margin_right = 199.151
margin_bottom = 134.908
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 9 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="aide" type="TextureButton" parent="Area2D/TextureRect2"]
margin_left = 964.379
margin_top = 8.19928
margin_right = 1018.38
margin_bottom = 62.1993
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 4 )
script = ExtResource( 8 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="acceuil" type="TextureButton" parent="Area2D/TextureRect2"]
margin_left = 160.0
margin_top = 5.0
margin_right = 200.0
margin_bottom = 44.0
mouse_default_cursor_shape = 2
texture_normal = ExtResource( 11 )
expand = true
script = ExtResource( 10 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="button_down" from="Area2D/TextureRect2/Button_pioche" to="." method="_on_Button_pioche_button_down"]
[connection signal="button_down" from="Area2D/TextureRect2/Button_gauche2" to="." method="_on_Button_gauche_button_down"]
[connection signal="button_down" from="Area2D/TextureRect2/Button_droite" to="." method="_on_Button_droite_button_down"]
[connection signal="button_down" from="Area2D/TextureRect2/Button_tourne" to="." method="_on_Button_tourne_button_down"]
[connection signal="pressed" from="Area2D/TextureRect2/aide" to="Area2D/TextureRect2/aide" method="_on_aide_pressed"]
[connection signal="pressed" from="Area2D/TextureRect2/acceuil" to="Area2D/TextureRect2/acceuil" method="_on_acceuil_pressed"]