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
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon-reset.png-d000c25cd26938ceb23700c305ecc4f1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/themes/icon-reset.png"
dest_files=[ "res://.import/icon-reset.png-d000c25cd26938ceb23700c305ecc4f1.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/level-btn.png-e139f192a132d04b829735472e4911a5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/themes/level-btn.png"
dest_files=[ "res://.import/level-btn.png-e139f192a132d04b829735472e4911a5.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
+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__ = {