diff --git a/assets/icons/victory.png b/assets/icons/victory.png new file mode 100644 index 0000000..39b3c35 Binary files /dev/null and b/assets/icons/victory.png differ diff --git a/assets/icons/victory.png.import b/assets/icons/victory.png.import new file mode 100644 index 0000000..7632db1 --- /dev/null +++ b/assets/icons/victory.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbll7rkbty50k" +path="res://.godot/imported/victory.png-749485763936c5e84aa6f5fd503b853b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/icons/victory.png" +dest_files=["res://.godot/imported/victory.png-749485763936c5e84aa6f5fd503b853b.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 diff --git a/project.godot b/project.godot index 8458ced..65f07ee 100644 --- a/project.godot +++ b/project.godot @@ -11,7 +11,7 @@ config_version=5 [application] config/name="Frontier of Hell" -run/main_scene="res://scenes/ui/how_to_play.tscn" +run/main_scene="res://scenes/ui/victory.tscn" config/features=PackedStringArray("4.1", "Mobile") boot_splash/bg_color=Color(0.141176, 0.141176, 0.141176, 1) boot_splash/image="res://assets/icons/logo.png" diff --git a/scenes/ui/victory.tscn b/scenes/ui/victory.tscn new file mode 100644 index 0000000..bf81455 --- /dev/null +++ b/scenes/ui/victory.tscn @@ -0,0 +1,47 @@ +[gd_scene load_steps=2 format=3 uid="uid://r8kq68v8iflb"] + +[ext_resource type="Texture2D" uid="uid://bbll7rkbty50k" path="res://assets/icons/victory.png" id="1_3fse5"] + +[node name="Victory" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Panel" type="Panel" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="MarginContainer" type="MarginContainer" parent="Panel"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"] +layout_mode = 2 + +[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 6 +text = "VICTORY" + +[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +texture = ExtResource("1_3fse5") + +[node name="Button" type="Button" parent="Panel/MarginContainer/VBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 4 +size_flags_vertical = 6 +text = "Next Stage"