Fix template select scene

This commit is contained in:
Vaillant Jeremy
2021-05-15 12:08:43 +02:00
parent d013e3130f
commit ae31945fd8
3 changed files with 114 additions and 37 deletions
+75
View File
@@ -0,0 +1,75 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/levels/warcraft.jpg" type="Texture" id=1]
[node name="VBoxContainer" type="VBoxContainer"]
margin_right = 150.0
margin_bottom = 174.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
margin_right = 150.0
margin_bottom = 150.0
texture = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="TextureRect"]
margin_right = 40.0
margin_bottom = 40.0
mouse_default_cursor_shape = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="HBoxContainer" parent="."]
margin_top = 154.0
margin_right = 150.0
margin_bottom = 174.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 25
alignment = 1
[node name="ButtonReset" type="Button" parent="VBoxContainer"]
margin_right = 62.0
margin_bottom = 20.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
[node name="Label" type="Label" parent="VBoxContainer/ButtonReset"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 7
text = "Reset"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ButtonCount" type="Button" parent="VBoxContainer"]
margin_left = 87.0
margin_right = 150.0
margin_bottom = 20.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/ButtonCount"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 7
text = "X / 10"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}