diff options
-rw-r--r-- | UI/StartScreen.png | bin | 0 -> 2033475 bytes | |||
-rw-r--r-- | UI/StartScreen.png.import | 34 | ||||
-rw-r--r-- | UI/StartScreen.xcf | bin | 0 -> 21056386 bytes | |||
-rw-r--r-- | UI/minimizebuttonpressed.png | bin | 0 -> 624 bytes | |||
-rw-r--r-- | UI/minimizebuttonpressed.png.import | 34 | ||||
-rw-r--r-- | UI/minimizebuttonpressed.xcf | bin | 0 -> 1407 bytes | |||
-rw-r--r-- | UI/startbuttonpressed.png | bin | 0 -> 1852 bytes | |||
-rw-r--r-- | UI/startbuttonpressed.png.import | 34 | ||||
-rw-r--r-- | UI/startbuttonpressed.xcf | bin | 0 -> 12900 bytes | |||
-rw-r--r-- | UI/xbuttonpressed.png | bin | 0 -> 669 bytes | |||
-rw-r--r-- | UI/xbuttonpressed.png.import | 34 | ||||
-rw-r--r-- | UI/xbuttonpressed.xcf | bin | 0 -> 1839 bytes | |||
-rw-r--r-- | project.godot | 6 | ||||
-rw-r--r-- | scenes/title.gd | 25 | ||||
-rw-r--r-- | scenes/title.tscn | 324 |
15 files changed, 491 insertions, 0 deletions
diff --git a/UI/StartScreen.png b/UI/StartScreen.png Binary files differnew file mode 100644 index 0000000..674eb43 --- /dev/null +++ b/UI/StartScreen.png diff --git a/UI/StartScreen.png.import b/UI/StartScreen.png.import new file mode 100644 index 0000000..0d2f74c --- /dev/null +++ b/UI/StartScreen.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bmgnk2m8rj1n1" +path="res://.godot/imported/StartScreen.png-6f7bd7e59f0d6f1a5c57988855f3d2da.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://UI/StartScreen.png" +dest_files=["res://.godot/imported/StartScreen.png-6f7bd7e59f0d6f1a5c57988855f3d2da.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/UI/StartScreen.xcf b/UI/StartScreen.xcf Binary files differnew file mode 100644 index 0000000..3aabd12 --- /dev/null +++ b/UI/StartScreen.xcf diff --git a/UI/minimizebuttonpressed.png b/UI/minimizebuttonpressed.png Binary files differnew file mode 100644 index 0000000..3f0f9ef --- /dev/null +++ b/UI/minimizebuttonpressed.png diff --git a/UI/minimizebuttonpressed.png.import b/UI/minimizebuttonpressed.png.import new file mode 100644 index 0000000..9ecfc4d --- /dev/null +++ b/UI/minimizebuttonpressed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dje61ck7cl66a" +path="res://.godot/imported/minimizebuttonpressed.png-6dc3d346a0c7cbeb60a8cded494e3d7b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://UI/minimizebuttonpressed.png" +dest_files=["res://.godot/imported/minimizebuttonpressed.png-6dc3d346a0c7cbeb60a8cded494e3d7b.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/UI/minimizebuttonpressed.xcf b/UI/minimizebuttonpressed.xcf Binary files differnew file mode 100644 index 0000000..20e7a7a --- /dev/null +++ b/UI/minimizebuttonpressed.xcf diff --git a/UI/startbuttonpressed.png b/UI/startbuttonpressed.png Binary files differnew file mode 100644 index 0000000..305d42e --- /dev/null +++ b/UI/startbuttonpressed.png diff --git a/UI/startbuttonpressed.png.import b/UI/startbuttonpressed.png.import new file mode 100644 index 0000000..cdbc220 --- /dev/null +++ b/UI/startbuttonpressed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://by22pdnmuwpqg" +path="res://.godot/imported/startbuttonpressed.png-fe3ec5bc3804ab801d23efaa92258df7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://UI/startbuttonpressed.png" +dest_files=["res://.godot/imported/startbuttonpressed.png-fe3ec5bc3804ab801d23efaa92258df7.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/UI/startbuttonpressed.xcf b/UI/startbuttonpressed.xcf Binary files differnew file mode 100644 index 0000000..6da9698 --- /dev/null +++ b/UI/startbuttonpressed.xcf diff --git a/UI/xbuttonpressed.png b/UI/xbuttonpressed.png Binary files differnew file mode 100644 index 0000000..141a5cb --- /dev/null +++ b/UI/xbuttonpressed.png diff --git a/UI/xbuttonpressed.png.import b/UI/xbuttonpressed.png.import new file mode 100644 index 0000000..89224ab --- /dev/null +++ b/UI/xbuttonpressed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://brlgi3g1hy155" +path="res://.godot/imported/xbuttonpressed.png-c785f377541d6bca1ae66fcc16851385.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://UI/xbuttonpressed.png" +dest_files=["res://.godot/imported/xbuttonpressed.png-c785f377541d6bca1ae66fcc16851385.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/UI/xbuttonpressed.xcf b/UI/xbuttonpressed.xcf Binary files differnew file mode 100644 index 0000000..675b622 --- /dev/null +++ b/UI/xbuttonpressed.xcf diff --git a/project.godot b/project.godot index d7d2121..587f5f7 100644 --- a/project.godot +++ b/project.godot @@ -17,7 +17,13 @@ config/icon="res://icon.svg" [display] +window/size/viewport_width=1280 +window/size/viewport_height=720 +window/size/resizable=false +window/size/borderless=true +window/size/transparent=true window/subwindows/embed_subwindows=false +window/stretch/mode="canvas_items" window/per_pixel_transparency/allowed=true [input] diff --git a/scenes/title.gd b/scenes/title.gd new file mode 100644 index 0000000..5373abe --- /dev/null +++ b/scenes/title.gd @@ -0,0 +1,25 @@ +extends Node2D + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + pass + + +func _on_close_button_up() -> void: + get_tree().quit() + + +func _on_minimize_button_up() -> void: + OS.shell_open("https://tenor.com/en-CA/view/free-smileys-faces-de-emoji-nope-no-nah-gif-16168307") + DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_MINIMIZED) + + +func _on_start_pressed() -> void: + get_window().size = Vector2(0,0) + get_window().position = Vector2(-100,-100) diff --git a/scenes/title.tscn b/scenes/title.tscn new file mode 100644 index 0000000..1570a3e --- /dev/null +++ b/scenes/title.tscn @@ -0,0 +1,324 @@ +[gd_scene load_steps=46 format=3 uid="uid://cosfolwy43pu"] + +[ext_resource type="Script" path="res://scenes/title.gd" id="1_q3sds"] +[ext_resource type="Texture2D" uid="uid://bmgnk2m8rj1n1" path="res://UI/StartScreen.png" id="1_xa24a"] +[ext_resource type="Texture2D" uid="uid://by22pdnmuwpqg" path="res://UI/startbuttonpressed.png" id="2_3c8o0"] +[ext_resource type="Texture2D" uid="uid://dje61ck7cl66a" path="res://UI/minimizebuttonpressed.png" id="3_oa4rs"] +[ext_resource type="Texture2D" uid="uid://brlgi3g1hy155" path="res://UI/xbuttonpressed.png" id="4_ugbiu"] +[ext_resource type="Texture2D" uid="uid://dohsqvvi8y64h" path="res://UI/fish-spinning-ezgif.com-gif-to-sprite-converter.png" id="5_8ouym"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_uyge7"] +atlas = ExtResource("5_8ouym") +region = Rect2(1440, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_q361v"] +atlas = ExtResource("5_8ouym") +region = Rect2(1920, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xg08o"] +atlas = ExtResource("5_8ouym") +region = Rect2(2400, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_5wrxk"] +atlas = ExtResource("5_8ouym") +region = Rect2(2880, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_sqk41"] +atlas = ExtResource("5_8ouym") +region = Rect2(3360, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_v7jwr"] +atlas = ExtResource("5_8ouym") +region = Rect2(3840, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_7b85l"] +atlas = ExtResource("5_8ouym") +region = Rect2(4320, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pm4lk"] +atlas = ExtResource("5_8ouym") +region = Rect2(4800, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_gb3cd"] +atlas = ExtResource("5_8ouym") +region = Rect2(5280, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_aujti"] +atlas = ExtResource("5_8ouym") +region = Rect2(5760, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_kssee"] +atlas = ExtResource("5_8ouym") +region = Rect2(6240, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_awsou"] +atlas = ExtResource("5_8ouym") +region = Rect2(6720, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_dqry7"] +atlas = ExtResource("5_8ouym") +region = Rect2(7200, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_l2edp"] +atlas = ExtResource("5_8ouym") +region = Rect2(7680, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_06kk0"] +atlas = ExtResource("5_8ouym") +region = Rect2(8160, 540, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wyica"] +atlas = ExtResource("5_8ouym") +region = Rect2(0, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_bl2fa"] +atlas = ExtResource("5_8ouym") +region = Rect2(480, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ljnbe"] +atlas = ExtResource("5_8ouym") +region = Rect2(960, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_48vwo"] +atlas = ExtResource("5_8ouym") +region = Rect2(1440, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0ffer"] +atlas = ExtResource("5_8ouym") +region = Rect2(1920, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_pmw51"] +atlas = ExtResource("5_8ouym") +region = Rect2(2400, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_h13o4"] +atlas = ExtResource("5_8ouym") +region = Rect2(2880, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_i5rca"] +atlas = ExtResource("5_8ouym") +region = Rect2(3360, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_1w2n4"] +atlas = ExtResource("5_8ouym") +region = Rect2(3840, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_t4ovh"] +atlas = ExtResource("5_8ouym") +region = Rect2(4320, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3ykvn"] +atlas = ExtResource("5_8ouym") +region = Rect2(4800, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_j2usu"] +atlas = ExtResource("5_8ouym") +region = Rect2(5280, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qwxmp"] +atlas = ExtResource("5_8ouym") +region = Rect2(5760, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_muy25"] +atlas = ExtResource("5_8ouym") +region = Rect2(6240, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_3fnw4"] +atlas = ExtResource("5_8ouym") +region = Rect2(6720, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_teehr"] +atlas = ExtResource("5_8ouym") +region = Rect2(7200, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mflgh"] +atlas = ExtResource("5_8ouym") +region = Rect2(7680, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vy71g"] +atlas = ExtResource("5_8ouym") +region = Rect2(8160, 810, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vhs7i"] +atlas = ExtResource("5_8ouym") +region = Rect2(0, 1080, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_50ge1"] +atlas = ExtResource("5_8ouym") +region = Rect2(480, 1080, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_16ov1"] +atlas = ExtResource("5_8ouym") +region = Rect2(960, 1080, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_epju2"] +atlas = ExtResource("5_8ouym") +region = Rect2(1440, 1080, 480, 270) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vpon3"] +atlas = ExtResource("5_8ouym") +region = Rect2(1920, 1080, 480, 270) + +[sub_resource type="SpriteFrames" id="SpriteFrames_fosgy"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_uyge7") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_q361v") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xg08o") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_5wrxk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_sqk41") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_v7jwr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_7b85l") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pm4lk") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_gb3cd") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_aujti") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_kssee") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_awsou") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_dqry7") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_l2edp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_06kk0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_wyica") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_bl2fa") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ljnbe") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_48vwo") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_0ffer") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_pmw51") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_h13o4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_i5rca") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_1w2n4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_t4ovh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3ykvn") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_j2usu") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_qwxmp") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_muy25") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_3fnw4") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_teehr") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_mflgh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vy71g") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vhs7i") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_50ge1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_16ov1") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_epju2") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_vpon3") +}], +"loop": true, +"name": &"default", +"speed": 36.0 +}] + +[node name="Node2D" type="Node2D"] +script = ExtResource("1_q3sds") + +[node name="Background" type="Sprite2D" parent="."] +position = Vector2(640.5, 360.5) +scale = Vector2(0.666146, 0.665741) +texture = ExtResource("1_xa24a") + +[node name="Start" type="TextureButton" parent="."] +offset_left = 443.0 +offset_top = 504.0 +offset_right = 1049.0 +offset_bottom = 737.0 +scale = Vector2(0.666, 0.666) +texture_pressed = ExtResource("2_3c8o0") + +[node name="Minimize" type="TextureButton" parent="."] +offset_left = 1213.0 +offset_top = 13.0 +offset_right = 1253.0 +offset_bottom = 53.0 +scale = Vector2(0.66, 0.66) +texture_pressed = ExtResource("3_oa4rs") + +[node name="Close" type="TextureButton" parent="."] +offset_left = 1241.0 +offset_top = 13.0 +offset_right = 1281.0 +offset_bottom = 53.0 +scale = Vector2(0.66, 0.66) +texture_pressed = ExtResource("4_ugbiu") + +[node name="Rotating fish" type="AnimatedSprite2D" parent="."] +position = Vector2(27, 26) +scale = Vector2(0.0416667, 0.0740741) +sprite_frames = SubResource("SpriteFrames_fosgy") +autoplay = "default" + +[connection signal="pressed" from="Start" to="." method="_on_start_pressed"] +[connection signal="button_up" from="Minimize" to="." method="_on_minimize_button_up"] +[connection signal="button_up" from="Close" to="." method="_on_close_button_up"] |