diff --git a/MainUI.gd b/MainUI.gd new file mode 100644 index 0000000..a1bbfe7 --- /dev/null +++ b/MainUI.gd @@ -0,0 +1,11 @@ +extends Control + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + pass diff --git a/MainUI.tscn b/MainUI.tscn new file mode 100644 index 0000000..671bca5 --- /dev/null +++ b/MainUI.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=2 format=3 uid="uid://b2bsdrkc45qco"] + +[ext_resource type="Script" path="res://MainUI.gd" id="1_lc711"] + +[node name="Control" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_lc711") + +[node name="Label" type="Label" parent="."] +layout_mode = 0 +offset_right = 40.0 +offset_bottom = 23.0 diff --git a/assets/Icon/Eye-144.png b/assets/Icon/Eye-144.png new file mode 100644 index 0000000..7b90062 Binary files /dev/null and b/assets/Icon/Eye-144.png differ diff --git a/assets/Icon/Eye-144.png.import b/assets/Icon/Eye-144.png.import new file mode 100644 index 0000000..d9cfb1d --- /dev/null +++ b/assets/Icon/Eye-144.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbklv12cy24d3" +path="res://.godot/imported/Eye-144.png-ca1896ba5bc224ab968c565594a4ec34.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Icon/Eye-144.png" +dest_files=["res://.godot/imported/Eye-144.png-ca1896ba5bc224ab968c565594a4ec34.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/assets/Icon/Eye-180.png b/assets/Icon/Eye-180.png new file mode 100644 index 0000000..98c0105 Binary files /dev/null and b/assets/Icon/Eye-180.png differ diff --git a/assets/Icon/Eye-180.png.import b/assets/Icon/Eye-180.png.import new file mode 100644 index 0000000..f8f01bf --- /dev/null +++ b/assets/Icon/Eye-180.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bmlgto335a234" +path="res://.godot/imported/Eye-180.png-45343ba967c626c7d5233c0319d1c86b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Icon/Eye-180.png" +dest_files=["res://.godot/imported/Eye-180.png-45343ba967c626c7d5233c0319d1c86b.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/assets/Icon/Eye-512.png b/assets/Icon/Eye-512.png new file mode 100644 index 0000000..538ea15 Binary files /dev/null and b/assets/Icon/Eye-512.png differ diff --git a/assets/Icon/Eye-512.png.import b/assets/Icon/Eye-512.png.import new file mode 100644 index 0000000..0413ba4 --- /dev/null +++ b/assets/Icon/Eye-512.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://sabcfp3olosi" +path="res://.godot/imported/Eye-512.png-b405f66d235b86d629c23b315540704e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/Icon/Eye-512.png" +dest_files=["res://.godot/imported/Eye-512.png-b405f66d235b86d629c23b315540704e.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/export_presets.cfg b/export_presets.cfg index ce6f64e..c652b06 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -14,7 +14,6 @@ encryption_include_filters="" encryption_exclude_filters="" encrypt_pck=false encrypt_directory=false -script_encryption_key="" [preset.0.options] @@ -22,7 +21,7 @@ custom_template/debug="" custom_template/release="" variant/extensions_support=false vram_texture_compression/for_desktop=true -vram_texture_compression/for_mobile=false +vram_texture_compression/for_mobile=true html/export_icon=true html/custom_html_shell="" html/head_include="" diff --git a/project.godot b/project.godot index d6c0b83..853416a 100644 --- a/project.godot +++ b/project.godot @@ -12,7 +12,7 @@ config_version=5 config/name="Animegame-Client" run/main_scene="res://fight.tscn" -config/features=PackedStringArray("4.0", "GL Compatibility") +config/features=PackedStringArray("4.1", "GL Compatibility") boot_splash/image="res://assets/Splash/splash_b.png" config/icon="res://icon.svg" @@ -26,3 +26,4 @@ window/stretch/mode="canvas_items" renderer/rendering_method="gl_compatibility" renderer/rendering_method.mobile="gl_compatibility" +textures/vram_compression/import_etc2_astc=true