Update Select Stage UI

This commit is contained in:
Moe Poi ~ 2023-10-25 23:09:47 +07:00
parent 503f8166eb
commit c1b39cfbd7
13 changed files with 251 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://2rld5n0v61af"
path="res://.godot/imported/stage-1.png-faefaf0608ea5d73a67729c5a0aeda1b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/backgrounds/stage-1.png"
dest_files=["res://.godot/imported/stage-1.png-faefaf0608ea5d73a67729c5a0aeda1b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d0qcne33grdd4"
path="res://.godot/imported/stage-2.png-53bc055534f814b6a85d622e6fe444fe.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/backgrounds/stage-2.png"
dest_files=["res://.godot/imported/stage-2.png-53bc055534f814b6a85d622e6fe444fe.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://u428vvqpwphd"
path="res://.godot/imported/stage-3.png-3e1f83e894fc115feac6d538bcfaee35.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/backgrounds/stage-3.png"
dest_files=["res://.godot/imported/stage-3.png-3e1f83e894fc115feac6d538bcfaee35.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cushhcqgpt2wi"
path="res://.godot/imported/stage-4.png-0dcea37a5ab3f589d3780d7e90146d82.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/backgrounds/stage-4.png"
dest_files=["res://.godot/imported/stage-4.png-0dcea37a5ab3f589d3780d7e90146d82.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dflfg140pfdfj"
path="res://.godot/imported/stage-5.png-9d6a005a8a45b55e15d7d227dbb4d15f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/backgrounds/stage-5.png"
dest_files=["res://.godot/imported/stage-5.png-9d6a005a8a45b55e15d7d227dbb4d15f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cvw4fruerjwk6"
path="res://.godot/imported/stage-6.png-f770aa3989f36720e3739f125b614af0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/backgrounds/stage-6.png"
dest_files=["res://.godot/imported/stage-6.png-f770aa3989f36720e3739f125b614af0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -1,7 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://cwf2fhvjfq7xg"] [gd_scene load_steps=11 format=3 uid="uid://cwf2fhvjfq7xg"]
[ext_resource type="Script" path="res://scripts/ui/select_stage.gd" id="1_t86bq"] [ext_resource type="Script" path="res://scripts/ui/select_stage.gd" id="1_t86bq"]
[ext_resource type="Theme" uid="uid://bt3yyqwlp4f7j" path="res://themes/title_text.tres" id="2_gqow0"]
[ext_resource type="Texture2D" uid="uid://dcd26ajdxnv5s" path="res://assets/icons/locked.png" id="2_ppj84"] [ext_resource type="Texture2D" uid="uid://dcd26ajdxnv5s" path="res://assets/icons/locked.png" id="2_ppj84"]
[ext_resource type="Theme" uid="uid://caw53lcko4jnt" path="res://themes/button.tres" id="3_kfu7o"]
[ext_resource type="Texture2D" uid="uid://2rld5n0v61af" path="res://assets/backgrounds/stage-1.png" id="4_1a6a4"]
[ext_resource type="Texture2D" uid="uid://d0qcne33grdd4" path="res://assets/backgrounds/stage-2.png" id="6_agxb7"]
[ext_resource type="Texture2D" uid="uid://u428vvqpwphd" path="res://assets/backgrounds/stage-3.png" id="7_d2qvt"]
[ext_resource type="Texture2D" uid="uid://cushhcqgpt2wi" path="res://assets/backgrounds/stage-4.png" id="8_jnehq"]
[ext_resource type="Texture2D" uid="uid://dflfg140pfdfj" path="res://assets/backgrounds/stage-5.png" id="9_jt253"]
[ext_resource type="Texture2D" uid="uid://cvw4fruerjwk6" path="res://assets/backgrounds/stage-6.png" id="10_xmmdy"]
[node name="SelectStage" type="Control"] [node name="SelectStage" type="Control"]
layout_mode = 3 layout_mode = 3
@ -37,18 +45,19 @@ layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"] [node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"] [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 2 size_flags_horizontal = 2
size_flags_vertical = 0 size_flags_vertical = 0
theme = ExtResource("2_gqow0")
text = "Select Stage" text = "Select Stage"
[node name="Back" type="Button" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"] [node name="Back" type="Button" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 10 size_flags_horizontal = 10
size_flags_vertical = 0 size_flags_vertical = 0
theme = ExtResource("3_kfu7o")
text = "Back" text = "Back"
[node name="HBoxContainer2" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"] [node name="HBoxContainer2" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
@ -63,6 +72,12 @@ theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10 theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10 theme_override_constants/margin_bottom = 10
[node name="Preview" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer"]
layout_mode = 2
texture = ExtResource("4_1a6a4")
expand_mode = 2
stretch_mode = 6
[node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer"] [node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer"]
layout_mode = 2 layout_mode = 2
texture = ExtResource("2_ppj84") texture = ExtResource("2_ppj84")
@ -81,6 +96,12 @@ theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10 theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10 theme_override_constants/margin_bottom = 10
[node name="Preview" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer2"]
layout_mode = 2
texture = ExtResource("6_agxb7")
expand_mode = 2
stretch_mode = 6
[node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer2"] [node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer2"]
layout_mode = 2 layout_mode = 2
texture = ExtResource("2_ppj84") texture = ExtResource("2_ppj84")
@ -99,6 +120,12 @@ theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 20 theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 10 theme_override_constants/margin_bottom = 10
[node name="Preview" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer3"]
layout_mode = 2
texture = ExtResource("7_d2qvt")
expand_mode = 2
stretch_mode = 6
[node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer3"] [node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer3"]
layout_mode = 2 layout_mode = 2
texture = ExtResource("2_ppj84") texture = ExtResource("2_ppj84")
@ -121,6 +148,12 @@ theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10 theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 20 theme_override_constants/margin_bottom = 20
[node name="Preview" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer"]
layout_mode = 2
texture = ExtResource("8_jnehq")
expand_mode = 2
stretch_mode = 6
[node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer"] [node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer"]
layout_mode = 2 layout_mode = 2
texture = ExtResource("2_ppj84") texture = ExtResource("2_ppj84")
@ -139,6 +172,12 @@ theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10 theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 20 theme_override_constants/margin_bottom = 20
[node name="Preview" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer2"]
layout_mode = 2
texture = ExtResource("9_jt253")
expand_mode = 2
stretch_mode = 6
[node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer2"] [node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer2"]
layout_mode = 2 layout_mode = 2
texture = ExtResource("2_ppj84") texture = ExtResource("2_ppj84")
@ -157,6 +196,12 @@ theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 20 theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20 theme_override_constants/margin_bottom = 20
[node name="Preview" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer3"]
layout_mode = 2
texture = ExtResource("10_xmmdy")
expand_mode = 2
stretch_mode = 6
[node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer3"] [node name="Locked" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer3/MarginContainer3"]
layout_mode = 2 layout_mode = 2
texture = ExtResource("2_ppj84") texture = ExtResource("2_ppj84")