Add background to button select level

This commit is contained in:
VAILLANT Jeremy
2021-05-15 14:30:00 +02:00
parent 7fa7228232
commit 0148703274
5 changed files with 86 additions and 10 deletions
+18 -10
View File
@@ -1,4 +1,6 @@
[gd_scene format=2]
[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/ui/themes/level-btn.png" type="Texture" id=1]
[node name="VBoxContainer" type="VBoxContainer"]
margin_right = 150.0
@@ -8,31 +10,37 @@ __meta__ = {
}
[node name="TextureRect" type="TextureRect" parent="."]
margin_right = 350.0
margin_right = 200.0
margin_bottom = 200.0
texture = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="TextureRect"]
margin_left = 25.0
margin_top = 25.0
margin_right = 40.0
margin_bottom = 40.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="HBoxContainer" parent="."]
margin_top = 4.0
margin_right = 350.0
margin_bottom = 174.0
margin_top = 204.0
margin_right = 200.0
margin_bottom = 224.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 25
alignment = 1
[node name="ButtonReset" type="Button" parent="VBoxContainer"]
margin_right = 162.0
margin_bottom = 170.0
margin_right = 87.0
margin_bottom = 20.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
@@ -49,9 +57,9 @@ __meta__ = {
}
[node name="ButtonCount" type="Button" parent="VBoxContainer"]
margin_left = 187.0
margin_right = 350.0
margin_bottom = 170.0
margin_left = 112.0
margin_right = 200.0
margin_bottom = 20.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
__meta__ = {