commit 67629429dd15506e662366dce4e41623cd927d4f Author: Fabio Date: Mon Mar 24 19:21:17 2025 +0100 Initial commit diff --git a/SAVEFILE.save b/SAVEFILE.save new file mode 100644 index 0000000..2ae9459 --- /dev/null +++ b/SAVEFILE.save @@ -0,0 +1 @@ +{"fullscreen":false,"music":66,"mute":true,"resolution":1,"sfx":100,"volume":95} \ No newline at end of file diff --git a/assets/fonts/ark-pixel-12px-proportional-latin.ttf b/assets/fonts/ark-pixel-12px-proportional-latin.ttf new file mode 100755 index 0000000..554a54d Binary files /dev/null and b/assets/fonts/ark-pixel-12px-proportional-latin.ttf differ diff --git a/assets/fonts/ark-pixel-12px-proportional-latin.ttf.import b/assets/fonts/ark-pixel-12px-proportional-latin.ttf.import new file mode 100755 index 0000000..3b23ac6 --- /dev/null +++ b/assets/fonts/ark-pixel-12px-proportional-latin.ttf.import @@ -0,0 +1,34 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://c6e56mqdq236j" +path="res://.godot/imported/ark-pixel-12px-proportional-latin.ttf-a74ca9d2ccb0a9cd1f2bb6b4d09d6315.fontdata" + +[deps] + +source_file="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" +dest_files=["res://.godot/imported/ark-pixel-12px-proportional-latin.ttf-a74ca9d2ccb0a9cd1f2bb6b4d09d6315.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +disable_embedded_bitmaps=true +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +hinting=1 +subpixel_positioning=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/assets/sprites/abillityCards/abillityOrb.png b/assets/sprites/abillityCards/abillityOrb.png new file mode 100644 index 0000000..c552c09 Binary files /dev/null and b/assets/sprites/abillityCards/abillityOrb.png differ diff --git a/assets/sprites/abillityCards/abillityOrb.png.import b/assets/sprites/abillityCards/abillityOrb.png.import new file mode 100644 index 0000000..c76e373 --- /dev/null +++ b/assets/sprites/abillityCards/abillityOrb.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbe5arwkxwwfw" +path="res://.godot/imported/abillityOrb.png-eb2a2e3cc6e409c2a6c0e9a82aa7f031.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/abillityCards/abillityOrb.png" +dest_files=["res://.godot/imported/abillityOrb.png-eb2a2e3cc6e409c2a6c0e9a82aa7f031.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/sprites/abillityCards/defaultCard.aseprite b/assets/sprites/abillityCards/defaultCard.aseprite new file mode 100644 index 0000000..f0c8219 Binary files /dev/null and b/assets/sprites/abillityCards/defaultCard.aseprite differ diff --git a/assets/sprites/abillityCards/doubleJumptCard.png b/assets/sprites/abillityCards/doubleJumptCard.png new file mode 100644 index 0000000..8a6a4d7 Binary files /dev/null and b/assets/sprites/abillityCards/doubleJumptCard.png differ diff --git a/assets/sprites/abillityCards/doubleJumptCard.png.import b/assets/sprites/abillityCards/doubleJumptCard.png.import new file mode 100644 index 0000000..7461170 --- /dev/null +++ b/assets/sprites/abillityCards/doubleJumptCard.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdcnjdg6l07x4" +path="res://.godot/imported/doubleJumptCard.png-a6a44e9913eaf81334f5da023dcfc0f1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/abillityCards/doubleJumptCard.png" +dest_files=["res://.godot/imported/doubleJumptCard.png-a6a44e9913eaf81334f5da023dcfc0f1.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/sprites/background.png b/assets/sprites/background.png new file mode 100755 index 0000000..25f9df4 Binary files /dev/null and b/assets/sprites/background.png differ diff --git a/assets/sprites/background.png.import b/assets/sprites/background.png.import new file mode 100755 index 0000000..20a2bfb --- /dev/null +++ b/assets/sprites/background.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://nf1t72v76e6d" +path="res://.godot/imported/background.png-dde469fb1f19281f3784b52d4bea96cd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/background.png" +dest_files=["res://.godot/imported/background.png-dde469fb1f19281f3784b52d4bea96cd.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/sprites/buttons/BAKbutton_pressed.png.import b/assets/sprites/buttons/BAKbutton_pressed.png.import new file mode 100644 index 0000000..f890e7e --- /dev/null +++ b/assets/sprites/buttons/BAKbutton_pressed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dtykbjctmtael" +path="res://.godot/imported/BAKbutton_pressed.png-44227bff10071cad725e746f11340665.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/BAKbutton_pressed.png" +dest_files=["res://.godot/imported/BAKbutton_pressed.png-44227bff10071cad725e746f11340665.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/sprites/buttons/arrow.aseprite b/assets/sprites/buttons/arrow.aseprite new file mode 100755 index 0000000..98bd2de Binary files /dev/null and b/assets/sprites/buttons/arrow.aseprite differ diff --git a/assets/sprites/buttons/arrow.png b/assets/sprites/buttons/arrow.png new file mode 100755 index 0000000..587c238 Binary files /dev/null and b/assets/sprites/buttons/arrow.png differ diff --git a/assets/sprites/buttons/arrow.png.import b/assets/sprites/buttons/arrow.png.import new file mode 100644 index 0000000..270d2c0 --- /dev/null +++ b/assets/sprites/buttons/arrow.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cb073tsxlhw3x" +path="res://.godot/imported/arrow.png-66d2e47f97115324ffafb1e17396176a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/arrow.png" +dest_files=["res://.godot/imported/arrow.png-66d2e47f97115324ffafb1e17396176a.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/sprites/buttons/arrow_side.png b/assets/sprites/buttons/arrow_side.png new file mode 100644 index 0000000..7648c82 Binary files /dev/null and b/assets/sprites/buttons/arrow_side.png differ diff --git a/assets/sprites/buttons/arrow_side.png.import b/assets/sprites/buttons/arrow_side.png.import new file mode 100644 index 0000000..bc9db81 --- /dev/null +++ b/assets/sprites/buttons/arrow_side.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://tncraim5yyhl" +path="res://.godot/imported/arrow_side.png-2aa424968c578d5752d77beec21ff7b8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/arrow_side.png" +dest_files=["res://.godot/imported/arrow_side.png-2aa424968c578d5752d77beec21ff7b8.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/sprites/buttons/button.png b/assets/sprites/buttons/button.png new file mode 100755 index 0000000..bd107bd Binary files /dev/null and b/assets/sprites/buttons/button.png differ diff --git a/assets/sprites/buttons/button.png.import b/assets/sprites/buttons/button.png.import new file mode 100755 index 0000000..a8fbb3c --- /dev/null +++ b/assets/sprites/buttons/button.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dfhbdyfc0a572" +path="res://.godot/imported/button.png-112b291b23b878aa4f5fbbf559d9a7f2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/button.png" +dest_files=["res://.godot/imported/button.png-112b291b23b878aa4f5fbbf559d9a7f2.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/sprites/buttons/button.xcf b/assets/sprites/buttons/button.xcf new file mode 100755 index 0000000..d77cdfd Binary files /dev/null and b/assets/sprites/buttons/button.xcf differ diff --git a/assets/sprites/buttons/button_hover.png b/assets/sprites/buttons/button_hover.png new file mode 100755 index 0000000..d9ab5bb Binary files /dev/null and b/assets/sprites/buttons/button_hover.png differ diff --git a/assets/sprites/buttons/button_hover.png.import b/assets/sprites/buttons/button_hover.png.import new file mode 100755 index 0000000..eca2c7d --- /dev/null +++ b/assets/sprites/buttons/button_hover.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://l0hgddevuuak" +path="res://.godot/imported/button_hover.png-28648068df23c3501c8f4a5d1bb9b9f3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/button_hover.png" +dest_files=["res://.godot/imported/button_hover.png-28648068df23c3501c8f4a5d1bb9b9f3.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/sprites/buttons/button_pressed.png b/assets/sprites/buttons/button_pressed.png new file mode 100755 index 0000000..93109ee Binary files /dev/null and b/assets/sprites/buttons/button_pressed.png differ diff --git a/assets/sprites/buttons/button_pressed.png.import b/assets/sprites/buttons/button_pressed.png.import new file mode 100755 index 0000000..ce88a0f --- /dev/null +++ b/assets/sprites/buttons/button_pressed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://wrbi6c4sil01" +path="res://.godot/imported/button_pressed.png-80d82f23642e33601d3598b81ecbfde7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/button_pressed.png" +dest_files=["res://.godot/imported/button_pressed.png-80d82f23642e33601d3598b81ecbfde7.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/sprites/buttons/checkbox.aseprite b/assets/sprites/buttons/checkbox.aseprite new file mode 100755 index 0000000..51f37e6 Binary files /dev/null and b/assets/sprites/buttons/checkbox.aseprite differ diff --git a/assets/sprites/buttons/checkbox.png b/assets/sprites/buttons/checkbox.png new file mode 100755 index 0000000..3b59627 Binary files /dev/null and b/assets/sprites/buttons/checkbox.png differ diff --git a/assets/sprites/buttons/checkbox.png.import b/assets/sprites/buttons/checkbox.png.import new file mode 100644 index 0000000..e5af6b2 --- /dev/null +++ b/assets/sprites/buttons/checkbox.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c3sysm0b6k2w1" +path="res://.godot/imported/checkbox.png-ae5dcb1d545192691336ee608b026b1a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/checkbox.png" +dest_files=["res://.godot/imported/checkbox.png-ae5dcb1d545192691336ee608b026b1a.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/sprites/buttons/checkbox_checked.aseprite b/assets/sprites/buttons/checkbox_checked.aseprite new file mode 100755 index 0000000..39e9c45 Binary files /dev/null and b/assets/sprites/buttons/checkbox_checked.aseprite differ diff --git a/assets/sprites/buttons/checkbox_checked.png b/assets/sprites/buttons/checkbox_checked.png new file mode 100755 index 0000000..bd2d54e Binary files /dev/null and b/assets/sprites/buttons/checkbox_checked.png differ diff --git a/assets/sprites/buttons/checkbox_checked.png.import b/assets/sprites/buttons/checkbox_checked.png.import new file mode 100755 index 0000000..4baf869 --- /dev/null +++ b/assets/sprites/buttons/checkbox_checked.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bt26nii4wonk4" +path="res://.godot/imported/checkbox_checked.png-018cfee122e2ab07a9accbfae335f550.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/checkbox_checked.png" +dest_files=["res://.godot/imported/checkbox_checked.png-018cfee122e2ab07a9accbfae335f550.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/sprites/buttons/checkbox_radio_pressed.aseprite b/assets/sprites/buttons/checkbox_radio_pressed.aseprite new file mode 100755 index 0000000..4e785be Binary files /dev/null and b/assets/sprites/buttons/checkbox_radio_pressed.aseprite differ diff --git a/assets/sprites/buttons/checkbox_radio_pressed.png b/assets/sprites/buttons/checkbox_radio_pressed.png new file mode 100755 index 0000000..8a344ae Binary files /dev/null and b/assets/sprites/buttons/checkbox_radio_pressed.png differ diff --git a/assets/sprites/buttons/checkbox_radio_pressed.png.import b/assets/sprites/buttons/checkbox_radio_pressed.png.import new file mode 100644 index 0000000..718278c --- /dev/null +++ b/assets/sprites/buttons/checkbox_radio_pressed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b5s8uf6xblnpu" +path="res://.godot/imported/checkbox_radio_pressed.png-bdb4cff714e29d7e533183e0a0d76674.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/checkbox_radio_pressed.png" +dest_files=["res://.godot/imported/checkbox_radio_pressed.png-bdb4cff714e29d7e533183e0a0d76674.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/sprites/buttons/grabber.aseprite b/assets/sprites/buttons/grabber.aseprite new file mode 100755 index 0000000..e1291a6 Binary files /dev/null and b/assets/sprites/buttons/grabber.aseprite differ diff --git a/assets/sprites/buttons/grabber.png b/assets/sprites/buttons/grabber.png new file mode 100755 index 0000000..b363a62 Binary files /dev/null and b/assets/sprites/buttons/grabber.png differ diff --git a/assets/sprites/buttons/grabber.png.import b/assets/sprites/buttons/grabber.png.import new file mode 100644 index 0000000..74e1504 --- /dev/null +++ b/assets/sprites/buttons/grabber.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://chyuwtdq83ist" +path="res://.godot/imported/grabber.png-e06ccf7fa9f6fe35420bfd7702c76b26.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/grabber.png" +dest_files=["res://.godot/imported/grabber.png-e06ccf7fa9f6fe35420bfd7702c76b26.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/sprites/buttons/grabber_pressed.aseprite b/assets/sprites/buttons/grabber_pressed.aseprite new file mode 100755 index 0000000..a1e39d2 Binary files /dev/null and b/assets/sprites/buttons/grabber_pressed.aseprite differ diff --git a/assets/sprites/buttons/grabber_pressed.png b/assets/sprites/buttons/grabber_pressed.png new file mode 100755 index 0000000..bba5e8f Binary files /dev/null and b/assets/sprites/buttons/grabber_pressed.png differ diff --git a/assets/sprites/buttons/grabber_pressed.png.import b/assets/sprites/buttons/grabber_pressed.png.import new file mode 100644 index 0000000..55f594e --- /dev/null +++ b/assets/sprites/buttons/grabber_pressed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cp440sw0lnw2o" +path="res://.godot/imported/grabber_pressed.png-db7d30748860996bce367f8579589ed8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/grabber_pressed.png" +dest_files=["res://.godot/imported/grabber_pressed.png-db7d30748860996bce367f8579589ed8.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/sprites/buttons/option_button.aseprite b/assets/sprites/buttons/option_button.aseprite new file mode 100755 index 0000000..68a2a87 Binary files /dev/null and b/assets/sprites/buttons/option_button.aseprite differ diff --git a/assets/sprites/buttons/option_button.png b/assets/sprites/buttons/option_button.png new file mode 100755 index 0000000..bfeaa33 Binary files /dev/null and b/assets/sprites/buttons/option_button.png differ diff --git a/assets/sprites/buttons/option_button.png.import b/assets/sprites/buttons/option_button.png.import new file mode 100644 index 0000000..a50ca60 --- /dev/null +++ b/assets/sprites/buttons/option_button.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d3s2ewvf0kjq8" +path="res://.godot/imported/option_button.png-6eb2a35d6f42e01db2872095b7b01ac6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/option_button.png" +dest_files=["res://.godot/imported/option_button.png-6eb2a35d6f42e01db2872095b7b01ac6.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/sprites/buttons/option_button_bg.png b/assets/sprites/buttons/option_button_bg.png new file mode 100755 index 0000000..3d68670 Binary files /dev/null and b/assets/sprites/buttons/option_button_bg.png differ diff --git a/assets/sprites/buttons/option_button_bg.png.import b/assets/sprites/buttons/option_button_bg.png.import new file mode 100644 index 0000000..4745eb8 --- /dev/null +++ b/assets/sprites/buttons/option_button_bg.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cmeynqpvrchdi" +path="res://.godot/imported/option_button_bg.png-8552690a033cc68765a30b67c69db78d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/option_button_bg.png" +dest_files=["res://.godot/imported/option_button_bg.png-8552690a033cc68765a30b67c69db78d.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/sprites/buttons/option_button_pressed.aseprite b/assets/sprites/buttons/option_button_pressed.aseprite new file mode 100755 index 0000000..9099165 Binary files /dev/null and b/assets/sprites/buttons/option_button_pressed.aseprite differ diff --git a/assets/sprites/buttons/option_button_pressed.png b/assets/sprites/buttons/option_button_pressed.png new file mode 100755 index 0000000..a8073ba Binary files /dev/null and b/assets/sprites/buttons/option_button_pressed.png differ diff --git a/assets/sprites/buttons/option_button_pressed.png.import b/assets/sprites/buttons/option_button_pressed.png.import new file mode 100644 index 0000000..50d3a78 --- /dev/null +++ b/assets/sprites/buttons/option_button_pressed.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cdtfefdk87lhu" +path="res://.godot/imported/option_button_pressed.png-d3b00b0c66f65b3790f9047f9e54abad.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/option_button_pressed.png" +dest_files=["res://.godot/imported/option_button_pressed.png-d3b00b0c66f65b3790f9047f9e54abad.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/sprites/buttons/slider.aseprite b/assets/sprites/buttons/slider.aseprite new file mode 100755 index 0000000..3200600 Binary files /dev/null and b/assets/sprites/buttons/slider.aseprite differ diff --git a/assets/sprites/buttons/slider.png b/assets/sprites/buttons/slider.png new file mode 100755 index 0000000..8199c93 Binary files /dev/null and b/assets/sprites/buttons/slider.png differ diff --git a/assets/sprites/buttons/slider.png.import b/assets/sprites/buttons/slider.png.import new file mode 100644 index 0000000..cf99d5c --- /dev/null +++ b/assets/sprites/buttons/slider.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://blu2a62eqigx0" +path="res://.godot/imported/slider.png-810ef969f275554f745adbeaf34baa8c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/slider.png" +dest_files=["res://.godot/imported/slider.png-810ef969f275554f745adbeaf34baa8c.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/sprites/buttons/slider_highlight.aseprite b/assets/sprites/buttons/slider_highlight.aseprite new file mode 100755 index 0000000..db5a6cd Binary files /dev/null and b/assets/sprites/buttons/slider_highlight.aseprite differ diff --git a/assets/sprites/buttons/slider_highlight.png b/assets/sprites/buttons/slider_highlight.png new file mode 100755 index 0000000..3d49cbe Binary files /dev/null and b/assets/sprites/buttons/slider_highlight.png differ diff --git a/assets/sprites/buttons/slider_highlight.png.import b/assets/sprites/buttons/slider_highlight.png.import new file mode 100644 index 0000000..3eacaab --- /dev/null +++ b/assets/sprites/buttons/slider_highlight.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cfiurwlase2u6" +path="res://.godot/imported/slider_highlight.png-c6db3071659a300d25c288df7b2dcd28.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/slider_highlight.png" +dest_files=["res://.godot/imported/slider_highlight.png-c6db3071659a300d25c288df7b2dcd28.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/sprites/buttons/switch_off.aseprite b/assets/sprites/buttons/switch_off.aseprite new file mode 100755 index 0000000..61d66e4 Binary files /dev/null and b/assets/sprites/buttons/switch_off.aseprite differ diff --git a/assets/sprites/buttons/switch_off.png b/assets/sprites/buttons/switch_off.png new file mode 100755 index 0000000..6efda2d Binary files /dev/null and b/assets/sprites/buttons/switch_off.png differ diff --git a/assets/sprites/buttons/switch_off.png.import b/assets/sprites/buttons/switch_off.png.import new file mode 100755 index 0000000..823ddbf --- /dev/null +++ b/assets/sprites/buttons/switch_off.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dvvvgj2fqslrl" +path="res://.godot/imported/switch_off.png-15f9f7c0f0694192125c2623bdcc84dd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/switch_off.png" +dest_files=["res://.godot/imported/switch_off.png-15f9f7c0f0694192125c2623bdcc84dd.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/sprites/buttons/switch_on.aseprite b/assets/sprites/buttons/switch_on.aseprite new file mode 100755 index 0000000..9321a5e Binary files /dev/null and b/assets/sprites/buttons/switch_on.aseprite differ diff --git a/assets/sprites/buttons/switch_on.png b/assets/sprites/buttons/switch_on.png new file mode 100755 index 0000000..dd8a4b5 Binary files /dev/null and b/assets/sprites/buttons/switch_on.png differ diff --git a/assets/sprites/buttons/switch_on.png.import b/assets/sprites/buttons/switch_on.png.import new file mode 100755 index 0000000..a543de1 --- /dev/null +++ b/assets/sprites/buttons/switch_on.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cr5hxvf0lwmlo" +path="res://.godot/imported/switch_on.png-bb2569ba4facb8a6b1f60c100745c970.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/buttons/switch_on.png" +dest_files=["res://.godot/imported/switch_on.png-bb2569ba4facb8a6b1f60c100745c970.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/sprites/character.png b/assets/sprites/character.png new file mode 100755 index 0000000..99c53b4 Binary files /dev/null and b/assets/sprites/character.png differ diff --git a/assets/sprites/character.png.import b/assets/sprites/character.png.import new file mode 100644 index 0000000..9191fa8 --- /dev/null +++ b/assets/sprites/character.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bwm7ukd2mf4pw" +path="res://.godot/imported/character.png-529a34c9bb84961fe0878b6df0db59b4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/character.png" +dest_files=["res://.godot/imported/character.png-529a34c9bb84961fe0878b6df0db59b4.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/sprites/logo_mini.ico b/assets/sprites/logo_mini.ico new file mode 100644 index 0000000..9fbb3cb Binary files /dev/null and b/assets/sprites/logo_mini.ico differ diff --git a/assets/sprites/logo_mini.png b/assets/sprites/logo_mini.png new file mode 100755 index 0000000..20f39af Binary files /dev/null and b/assets/sprites/logo_mini.png differ diff --git a/assets/sprites/logo_mini.png.import b/assets/sprites/logo_mini.png.import new file mode 100755 index 0000000..c8ec2ff --- /dev/null +++ b/assets/sprites/logo_mini.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://buxmtw0evqskq" +path="res://.godot/imported/logo_mini.png-88a2bfdebcb42fc807c016deb461ba3c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/logo_mini.png" +dest_files=["res://.godot/imported/logo_mini.png-88a2bfdebcb42fc807c016deb461ba3c.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/sprites/logo_text.png b/assets/sprites/logo_text.png new file mode 100755 index 0000000..b0971bf Binary files /dev/null and b/assets/sprites/logo_text.png differ diff --git a/assets/sprites/logo_text.png.import b/assets/sprites/logo_text.png.import new file mode 100755 index 0000000..d9b7ade --- /dev/null +++ b/assets/sprites/logo_text.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bqluqxxg57jj" +path="res://.godot/imported/logo_text.png-b1a5ee55c834f7cb6a752b91080b3d7e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/logo_text.png" +dest_files=["res://.godot/imported/logo_text.png-b1a5ee55c834f7cb6a752b91080b3d7e.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/sprites/option_bg.png b/assets/sprites/option_bg.png new file mode 100755 index 0000000..e35cff6 Binary files /dev/null and b/assets/sprites/option_bg.png differ diff --git a/assets/sprites/option_bg.png.import b/assets/sprites/option_bg.png.import new file mode 100755 index 0000000..2b8d655 --- /dev/null +++ b/assets/sprites/option_bg.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://crisuyqwsl4hh" +path="res://.godot/imported/option_bg.png-74db3742f24578ea354458bee32a70da.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/option_bg.png" +dest_files=["res://.godot/imported/option_bg.png-74db3742f24578ea354458bee32a70da.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/sprites/options_bg.png b/assets/sprites/options_bg.png new file mode 100755 index 0000000..1788e46 Binary files /dev/null and b/assets/sprites/options_bg.png differ diff --git a/assets/sprites/options_bg.png.import b/assets/sprites/options_bg.png.import new file mode 100755 index 0000000..de0e193 --- /dev/null +++ b/assets/sprites/options_bg.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://duef85dj76ur1" +path="res://.godot/imported/options_bg.png-868b5c7ff792521e75c1b918bb9b400d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/options_bg.png" +dest_files=["res://.godot/imported/options_bg.png-868b5c7ff792521e75c1b918bb9b400d.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/sprites/program_files/character.aseprite b/assets/sprites/program_files/character.aseprite new file mode 100755 index 0000000..5408469 Binary files /dev/null and b/assets/sprites/program_files/character.aseprite differ diff --git a/assets/sprites/program_files/character.png.import b/assets/sprites/program_files/character.png.import new file mode 100644 index 0000000..1f7391f --- /dev/null +++ b/assets/sprites/program_files/character.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cegnsaylojcss" +path="res://.godot/imported/character.png-6c3af603b6ccc610b06d31eaf0e8a0e2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/program_files/character.png" +dest_files=["res://.godot/imported/character.png-6c3af603b6ccc610b06d31eaf0e8a0e2.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/sprites/program_files/logo_text.xcf b/assets/sprites/program_files/logo_text.xcf new file mode 100755 index 0000000..838f9fc Binary files /dev/null and b/assets/sprites/program_files/logo_text.xcf differ diff --git a/assets/sprites/program_files/old_tileset.xcf b/assets/sprites/program_files/old_tileset.xcf new file mode 100755 index 0000000..130a34c Binary files /dev/null and b/assets/sprites/program_files/old_tileset.xcf differ diff --git a/assets/sprites/program_files/tileset.aseprite b/assets/sprites/program_files/tileset.aseprite new file mode 100755 index 0000000..f01d587 Binary files /dev/null and b/assets/sprites/program_files/tileset.aseprite differ diff --git a/assets/sprites/program_files/tileset_palette.aseprite b/assets/sprites/program_files/tileset_palette.aseprite new file mode 100755 index 0000000..b049a76 Binary files /dev/null and b/assets/sprites/program_files/tileset_palette.aseprite differ diff --git a/assets/sprites/tileset.png b/assets/sprites/tileset.png new file mode 100755 index 0000000..55f8f1f Binary files /dev/null and b/assets/sprites/tileset.png differ diff --git a/assets/sprites/tileset.png.import b/assets/sprites/tileset.png.import new file mode 100644 index 0000000..fdbf195 --- /dev/null +++ b/assets/sprites/tileset.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bv8p6mqpld1h4" +path="res://.godot/imported/tileset.png-b50fc1806457686cf91872f682d34a54.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/tileset.png" +dest_files=["res://.godot/imported/tileset.png-b50fc1806457686cf91872f682d34a54.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/sprites/world1.png b/assets/sprites/world1.png new file mode 100644 index 0000000..327c5a6 Binary files /dev/null and b/assets/sprites/world1.png differ diff --git a/assets/sprites/world1.png.import b/assets/sprites/world1.png.import new file mode 100644 index 0000000..b978e39 --- /dev/null +++ b/assets/sprites/world1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dad7dkue6gyiv" +path="res://.godot/imported/world1.png-cf0c1d741e67f3ec6141feecbcd91f64.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/world1.png" +dest_files=["res://.godot/imported/world1.png-cf0c1d741e67f3ec6141feecbcd91f64.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/tres/label.tres b/assets/tres/label.tres new file mode 100644 index 0000000..01cefb9 --- /dev/null +++ b/assets/tres/label.tres @@ -0,0 +1,8 @@ +[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://bpinurw0bakgm"] + +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="1_5sl3o"] + +[resource] +font = ExtResource("1_5sl3o") +font_size = 36 +font_color = Color(0.560784, 0.337255, 0.623529, 1) diff --git a/assets/tres/label_options.tres b/assets/tres/label_options.tres new file mode 100644 index 0000000..8faae0f --- /dev/null +++ b/assets/tres/label_options.tres @@ -0,0 +1,8 @@ +[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://ntl7jil1tcua"] + +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="1_sugmx"] + +[resource] +font = ExtResource("1_sugmx") +font_size = 12 +font_color = Color(0.560784, 0.337255, 0.623529, 1) diff --git a/default_bus_layout.tres b/default_bus_layout.tres new file mode 100644 index 0000000..c7f28fb --- /dev/null +++ b/default_bus_layout.tres @@ -0,0 +1,15 @@ +[gd_resource type="AudioBusLayout" format=3 uid="uid://drbg77nbunthp"] + +[resource] +bus/1/name = &"Music" +bus/1/solo = false +bus/1/mute = false +bus/1/bypass_fx = false +bus/1/volume_db = 0.0 +bus/1/send = &"Master" +bus/2/name = &"SFX" +bus/2/solo = false +bus/2/mute = false +bus/2/bypass_fx = false +bus/2/volume_db = 0.0 +bus/2/send = &"Master" diff --git a/executables/linux/1feb2025-12-36.sh b/executables/linux/1feb2025-12-36.sh new file mode 100755 index 0000000..fda09b6 --- /dev/null +++ b/executables/linux/1feb2025-12-36.sh @@ -0,0 +1,4 @@ +#!/bin/sh +echo -ne '\033c\033]0;kicia game\a' +base_path="$(dirname "$(realpath "$0")")" +"$base_path/1feb2025-12-36.x86_64" "$@" diff --git a/executables/linux/1feb2025-12-36.x86_64 b/executables/linux/1feb2025-12-36.x86_64 new file mode 100755 index 0000000..fbd3cc4 Binary files /dev/null and b/executables/linux/1feb2025-12-36.x86_64 differ diff --git a/executables/windows/1feb2025-12-35.console.exe b/executables/windows/1feb2025-12-35.console.exe new file mode 100755 index 0000000..523903c Binary files /dev/null and b/executables/windows/1feb2025-12-35.console.exe differ diff --git a/executables/windows/1feb2025-12-35.exe b/executables/windows/1feb2025-12-35.exe new file mode 100755 index 0000000..2f63fad Binary files /dev/null and b/executables/windows/1feb2025-12-35.exe differ diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100755 index 0000000..0983be0 --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,104 @@ +[preset.0] + +name="Linux" +platform="Linux" +runnable=true +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="executables/linux/1feb2025-12-36.x86_64" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +binary_format/architecture="x86_64" +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\") +rm -rf \"{temp_dir}\"" + +[preset.1] + +name="Windows Desktop" +platform="Windows Desktop" +runnable=true +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="executables/1feb2025-12-35.exe" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +binary_format/architecture="x86_64" +codesign/enable=false +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PackedStringArray() +application/modify_resources=true +application/icon="" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="" +application/product_version="" +application/company_name="f1rmii" +application/product_name="Sakura Paw" +application/file_description="" +application/copyright="" +application/trademarks="" +application/export_angle=0 +application/export_d3d12=0 +application/d3d12_agility_sdk_multiarch=true +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}' +$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}' +$trigger = New-ScheduledTaskTrigger -Once -At 00:00 +$settings = New-ScheduledTaskSettingsSet +$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings +Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true +Start-ScheduledTask -TaskName godot_remote_debug +while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 } +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue" +ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue +Remove-Item -Recurse -Force '{temp_dir}'" diff --git a/global_settings.gd b/global_settings.gd new file mode 100644 index 0000000..e9e7b26 --- /dev/null +++ b/global_settings.gd @@ -0,0 +1,37 @@ +extends Node + +func volume_value_changed(value): + var db_value = lerp(-80, 0, pow(value / 100.0, 0.5)) + AudioServer.set_bus_volume_db(0, db_value) + +func music_value_changed(value): + var music_index: int = AudioServer.get_bus_index("Music") + var db_value = lerp(-80, 0, pow(value / 100.0, 0.5)) + AudioServer.set_bus_volume_db(music_index, db_value) + +func sfx_value_changed(value): + var sfx_index: int = AudioServer.get_bus_index("SFX") + var db_value = lerp(-80, 0, pow(value / 100.0, 0.5)) + AudioServer.set_bus_volume_db(sfx_index, db_value) + +func mute_toggled(value): + AudioServer.set_bus_mute(0,value) + +func resolution_item_selected(value): + match value: + 0: + DisplayServer.window_set_size(Vector2i(1920,1080)) + 1: + DisplayServer.window_set_size(Vector2i(1600,900)) + 2: + DisplayServer.window_set_size(Vector2i(1280,720)) + 3: + DisplayServer.window_set_size(Vector2i(640,360)) + +func toggle_fullscreen(value): + if value: + DisplayServer.window_set_mode(DisplayServer.WindowMode.WINDOW_MODE_FULLSCREEN, 0) + else: + DisplayServer.window_set_mode(DisplayServer.WindowMode.WINDOW_MODE_WINDOWED, 0) + + diff --git a/icon.svg b/icon.svg new file mode 100755 index 0000000..9d8b7fa --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icon.svg.import b/icon.svg.import new file mode 100755 index 0000000..c4f852c --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dise511b0bqe3" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.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 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..d3b3f9f --- /dev/null +++ b/project.godot @@ -0,0 +1,72 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="Strayvoid" +run/main_scene="res://scenes/main_menu.tscn" +config/features=PackedStringArray("4.3", "Forward Plus") +config/icon="res://assets/sprites/logo_mini.ico" +config/windows_native_icon="res://assets/sprites/logo_mini.ico" + +[autoload] + +Save="*res://save.gd" +GlobalSettings="*res://global_settings.gd" +TestSound="*res://scenes/test_sound.tscn" + +[display] + +window/size/viewport_width=640 +window/size/viewport_height=360 +window/size/window_width_override=1280 +window/size/window_height_override=720 +window/stretch/mode="canvas_items" + +[input] + +jump={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":1,"pressure":0.0,"pressed":false,"script":null) +] +} +move_left={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null) +] +} +move_right={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":false,"script":null) +] +} +pause={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194313,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) +] +} + +[physics] + +common/physics_interpolation=true + +[rendering] + +textures/canvas_textures/default_texture_filter=0 +anti_aliasing/quality/msaa_2d=1 diff --git a/save.gd b/save.gd new file mode 100644 index 0000000..9c3dc02 --- /dev/null +++ b/save.gd @@ -0,0 +1,82 @@ +extends Node + +const SAVEFILE = "res://SAVEFILE.save" + +var game_data = {} + +func _ready() -> void: + load_data() + apply_settings() + +func load_data() -> void: + if not FileAccess.file_exists(SAVEFILE): + # Create default data if the save file doesn't exist + game_data = { + "volume": 50, + "music": 100, + "sfx": 100, + "mute": false, + "resolution": 2, + "fullscreen": false + } + save_data() + else: + var file = FileAccess.open(SAVEFILE, FileAccess.READ) + if file: + var json_data = file.get_as_text() + file.close() + + # Create an instance of JSON + var json = JSON.new() + # Parse JSON data + var error = json.parse(json_data) + if error == OK: + game_data = json.get_data() + else: + print("Error parsing save file: ", json.get_error_message()) + # Fallback to default data if parsing fails + game_data = { + "volume": 50, + "music": 100, + "sfx": 100, + "mute": false, + "resolution": 2, + "fullscreen": false + } + else: + print("Error opening save file.") + # Fallback to default data if file cannot be opened + game_data = { + "volume": 50, + "music": 100, + "sfx": 100, + "mute": false, + "resolution": 2, + "fullscreen": false + } + +func save_data() -> void: + var file = FileAccess.open(SAVEFILE, FileAccess.WRITE) + if file: + # Create an instance of JSON + var json = JSON.new() + # Convert game_data to JSON string + var json_data = json.stringify(game_data) + file.store_string(json_data) + file.close() + else: + print("Error saving data to file.") + +func apply_settings() -> void: + if game_data.has("volume"): + GlobalSettings.volume_value_changed(game_data.volume) + if game_data.has("music"): + GlobalSettings.music_value_changed(game_data.volume) + if game_data.has("sfx"): + GlobalSettings.sfx_value_changed(game_data.sfx) + if game_data.has("mute"): + GlobalSettings.mute_toggled(game_data.mute) + if game_data.has("resolution"): + GlobalSettings.resolution_item_selected(game_data.resolution) + if game_data.has("fullscreen"): + GlobalSettings.toggle_fullscreen(game_data.fullscreen) diff --git a/scenes/abillityCardChooseMenu.tscn b/scenes/abillityCardChooseMenu.tscn new file mode 100644 index 0000000..1512b7d --- /dev/null +++ b/scenes/abillityCardChooseMenu.tscn @@ -0,0 +1,30 @@ +[gd_scene load_steps=3 format=3 uid="uid://ccnph8roau3cu"] + +[ext_resource type="Texture2D" uid="uid://crisuyqwsl4hh" path="res://assets/sprites/option_bg.png" id="1_630g4"] +[ext_resource type="Texture2D" uid="uid://bdcnjdg6l07x4" path="res://assets/sprites/abillityCards/doubleJumptCard.png" id="2_c4dek"] + +[node name="abillityCardChooseMenu" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="game_dim" type="Sprite2D" parent="."] +modulate = Color(1, 1, 1, 0.584314) +position = Vector2(318.25, 179.5) +scale = Vector2(21.45, 18.05) +texture = ExtResource("1_630g4") + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +layout_mode = 1 +anchors_preset = -1 +offset_left = 288.0 +offset_top = 144.0 +offset_right = 336.0 +offset_bottom = 192.0 + +[node name="2xJumpCard" type="TextureButton" parent="VBoxContainer"] +layout_mode = 2 +texture_normal = ExtResource("2_c4dek") diff --git a/scenes/abillityCardOrb.tscn b/scenes/abillityCardOrb.tscn new file mode 100644 index 0000000..3ddbdfb --- /dev/null +++ b/scenes/abillityCardOrb.tscn @@ -0,0 +1,38 @@ +[gd_scene load_steps=6 format=3 uid="uid://c8obne1su6fsv"] + +[ext_resource type="Texture2D" uid="uid://bbe5arwkxwwfw" path="res://assets/sprites/abillityCards/abillityOrb.png" id="1_4c8h1"] +[ext_resource type="Script" path="res://scripts/abillity_orb.gd" id="2_5bjn4"] + +[sub_resource type="Gradient" id="Gradient_1207x"] +offsets = PackedFloat32Array(0.113744, 0.379147, 0.687204) +colors = PackedColorArray(1, 1, 1, 1, 0.31802, 0.31802, 0.31802, 1, 0, 0, 0, 1) + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_ffj5h"] +gradient = SubResource("Gradient_1207x") +fill = 1 +fill_from = Vector2(0.5, 0.5) + +[sub_resource type="CircleShape2D" id="CircleShape2D_s6lqd"] +radius = 6.66667 + +[node name="abillityCardOrb" type="Node2D"] + +[node name="abillityOrb" type="Sprite2D" parent="."] +scale = Vector2(0.6, 0.6) +texture = ExtResource("1_4c8h1") +script = ExtResource("2_5bjn4") + +[node name="PointLight2D" type="PointLight2D" parent="abillityOrb"] +scale = Vector2(1.66667, 1.66667) +color = Color(0.564706, 0.337255, 0.627451, 1) +energy = 1.1 +texture = SubResource("GradientTexture2D_ffj5h") +texture_scale = 0.7 + +[node name="Area2D" type="Area2D" parent="abillityOrb"] +collision_mask = 2 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="abillityOrb/Area2D"] +shape = SubResource("CircleShape2D_s6lqd") + +[connection signal="body_entered" from="abillityOrb/Area2D" to="abillityOrb" method="_on_area_2d_body_entered"] diff --git a/scenes/killzone.tscn b/scenes/killzone.tscn new file mode 100755 index 0000000..4c36c19 --- /dev/null +++ b/scenes/killzone.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=2 format=3 uid="uid://doyeiu2g07a65"] + +[ext_resource type="Script" path="res://scripts/killzone.gd" id="1_ovf14"] + +[node name="Killzone" type="Area2D"] +collision_mask = 2 +script = ExtResource("1_ovf14") + +[node name="Timer" type="Timer" parent="."] +wait_time = 0.6 +one_shot = true + +[connection signal="body_entered" from="." to="." method="_on_body_entered"] +[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] diff --git a/scenes/levels/1-1.tscn b/scenes/levels/1-1.tscn new file mode 100644 index 0000000..afa9d7a --- /dev/null +++ b/scenes/levels/1-1.tscn @@ -0,0 +1,218 @@ +[gd_scene load_steps=21 format=4 uid="uid://bhgnvc8cvyqm1"] + +[ext_resource type="Script" path="res://scenes/levels/1_1.gd" id="1_4f5nb"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_3kbq0"] +[ext_resource type="Texture2D" uid="uid://bv8p6mqpld1h4" path="res://assets/sprites/tileset.png" id="2_yyxed"] +[ext_resource type="PackedScene" uid="uid://doyeiu2g07a65" path="res://scenes/killzone.tscn" id="3_g2o1n"] +[ext_resource type="PackedScene" uid="uid://c8obne1su6fsv" path="res://scenes/abillityCardOrb.tscn" id="5_aepx3"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="5_ngmfk"] +[ext_resource type="PackedScene" uid="uid://ccnph8roau3cu" path="res://scenes/abillityCardChooseMenu.tscn" id="5_xj0qh"] +[ext_resource type="PackedScene" uid="uid://bka2dar6fugaw" path="res://scenes/player.tscn" id="5_xubp8"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="6_brniu"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="7_ohdil"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="8_6sa6b"] +[ext_resource type="PackedScene" uid="uid://n57lpheiw46o" path="res://scenes/pause_menu.tscn" id="9_axpcq"] + +[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_enosk"] + +[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_av4p4"] +polygon = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) + +[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_rnhsy"] +polygon = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_twefp"] +texture = ExtResource("2_yyxed") +texture_region_size = Vector2i(8, 8) +0:0/0 = 0 +0:0/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:0/0 = 0 +1:0/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:0/0 = 0 +2:0/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +3:0/0 = 0 +3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +4:0/0 = 0 +4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +5:0/0 = 0 +5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +6:0/0 = 0 +6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +7:0/0 = 0 +7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +8:0/0 = 0 +8:0/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_rnhsy") +8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +9:0/0 = 0 +9:0/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_rnhsy") +9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +0:1/0 = 0 +0:1/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:1/0 = 0 +1:1/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:1/0 = 0 +2:1/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +3:1/0 = 0 +3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +4:1/0 = 0 +4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +5:1/0 = 0 +5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +8:1/0 = 0 +8:1/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_rnhsy") +8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +9:1/0 = 0 +9:1/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_rnhsy") +9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +0:2/0 = 0 +0:2/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:2/0 = 0 +1:2/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:2/0 = 0 +2:2/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +3:2/0 = 0 +3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +4:2/0 = 0 +4:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +5:2/0 = 0 +5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +0:3/0 = 0 +0:3/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +1:3/0 = 0 +1:3/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +2:3/0 = 0 +2:3/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_av4p4") +2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, -4, 4, -4, 4, 4, -4, 4) +0:6/0 = 0 +1:6/0 = 0 +0:7/0 = 0 +1:7/0 = 0 +0:8/0 = 0 +2:8/0 = 0 +0:9/0 = 0 +2:9/0 = 0 +2:7/0 = 0 + +[sub_resource type="TileSet" id="TileSet_peh7y"] +tile_size = Vector2i(8, 8) +occlusion_layer_0/light_mask = 1 +physics_layer_0/collision_layer = 1 +sources/1 = SubResource("TileSetAtlasSource_twefp") + +[sub_resource type="Gradient" id="Gradient_sgqvo"] +offsets = PackedFloat32Array(0.113744, 0.379147, 0.687204) +colors = PackedColorArray(1, 1, 1, 1, 0.31802, 0.31802, 0.31802, 1, 0, 0, 0, 1) + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_ok6ah"] +gradient = SubResource("Gradient_sgqvo") +fill = 1 +fill_from = Vector2(0.5, 0.5) + +[sub_resource type="LabelSettings" id="LabelSettings_hj45o"] +font = ExtResource("8_6sa6b") +font_size = 12 +font_color = Color(0.560784, 0.337255, 0.623529, 1) + +[node name="Level 1-1" type="Node2D"] +position = Vector2(6, -1) +script = ExtResource("1_4f5nb") + +[node name="Player" parent="." instance=ExtResource("5_xubp8")] +position = Vector2(8, 32) + +[node name="Camera2D" type="Camera2D" parent="Player"] +position = Vector2(0, -16) +zoom = Vector2(2.79, 2.79) +limit_left = -60 +limit_bottom = 90 +limit_smoothed = true +position_smoothing_enabled = true + +[node name="Level" type="Node" parent="."] + +[node name="Killzone" parent="Level" instance=ExtResource("3_g2o1n")] +position = Vector2(23, 24) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Level/Killzone"] +position = Vector2(1, 86) +shape = SubResource("WorldBoundaryShape2D_enosk") + +[node name="TileMaps" type="Node" parent="Level"] + +[node name="TileMap1" type="TileMapLayer" parent="Level/TileMaps"] +use_parent_material = true +tile_map_data = PackedByteArray("AAAAAAQAAQABAAAAAAABAAQAAQABAAAAAAACAAQAAQABAAAAAAADAAQAAQABAAAAAAAEAAQAAQABAAAAAAAFAAQAAQABAAAAAAAGAAQAAQABAAAAAAD//wMAAQACAAEAAAD//wIAAQACAAEAAAD//wEAAQACAAEAAAD//wAAAQACAAEAAAD+////AQABAAEAAAD/////AQACAAEAAAD9////AQABAAEAAAD9/wAAAQABAAEAAAD9/wEAAQABAAEAAAD9/wIAAQABAAEAAAD9/wMAAQABAAEAAAD9/wQAAQABAAEAAAD+/wAAAQABAAEAAAD+/wEAAQABAAEAAAD+/wIAAQABAAEAAAD+/wMAAQABAAEAAAD+/wQAAQABAAEAAAD//wQAAQAIAAEAAAD9/wUAAQABAAEAAAD+/wUAAQABAAEAAAD//wUAAQABAAEAAAAAAAUAAQABAAEAAAABAAUAAQABAAEAAAACAAUAAQABAAEAAAADAAUAAQABAAEAAAAEAAUAAQABAAEAAAAFAAUAAQABAAEAAAAGAAUAAQABAAEAAAAGAAYAAQABAAEAAAAFAAYAAQABAAEAAAAEAAYAAQABAAEAAAADAAYAAQABAAEAAAACAAYAAQABAAEAAAABAAYAAQABAAEAAAAAAAYAAQABAAEAAAAAAAcAAQABAAEAAAABAAcAAQABAAEAAAACAAcAAQABAAEAAAADAAcAAQABAAEAAAAEAAcAAQABAAEAAAAFAAcAAQABAAEAAAAGAAcAAQABAAEAAAAHAAcAAQABAAEAAAAIAAcAAQABAAEAAAAJAAcAAQABAAEAAAAKAAcAAQABAAEAAAALAAcAAQABAAEAAAALAAYAAQABAAEAAAALAAUAAQABAAEAAAALAAQAAQABAAAAAAAKAAQAAQABAAAAAAAJAAQAAQABAAAAAAAIAAQAAQABAAAAAAAHAAQAAQABAAAAAAAHAAUAAQABAAEAAAAIAAUAAQABAAEAAAAJAAUAAQABAAEAAAAKAAUAAQABAAEAAAAKAAYAAQABAAEAAAAJAAYAAQABAAEAAAAIAAYAAQABAAEAAAAHAAYAAQABAAEAAAD//wYAAQABAAEAAAD//wcAAQABAAEAAAD+/wcAAQABAAEAAAD9/wYAAQABAAEAAAD9/wcAAQABAAEAAAD9/wgAAQABAAEAAAD+/wgAAQABAAEAAAD//wgAAQABAAEAAAAAAAgAAQABAAEAAAABAAgAAQABAAEAAAACAAgAAQABAAEAAAADAAgAAQABAAEAAAAEAAgAAQABAAEAAAAFAAgAAQABAAEAAAAGAAgAAQABAAEAAAAHAAgAAQABAAEAAAAIAAgAAQABAAEAAAAJAAgAAQABAAEAAAAKAAgAAQABAAEAAAALAAgAAQABAAEAAAD+/wYAAQABAAEAAAD9//7/AQABAAEAAAD9//3/AQABAAEAAAD9//z/AQABAAAAAAD+//z/AQABAAAAAAD///z/AQACAAAAAAD///3/AQACAAEAAAD///7/AQACAAEAAAD+//7/AQABAAEAAAD+//3/AQABAAEAAAD8//z/AQAAAAAAAAD8//3/AQAAAAEAAAD8//7/AQAAAAEAAAD8////AQAAAAEAAAD8/wUAAQAAAAEAAAD8/wYAAQAAAAEAAAD8/wcAAQAAAAEAAAD8/wAAAQAAAAEAAAD8/wEAAQAAAAEAAAD8/wQAAQAAAAEAAAD8/wMAAQAAAAEAAAD8/wIAAQAAAAEAAAD8/wgAAQAAAAEAAAAMAAQAAQABAAAAAAAMAAUAAQABAAEAAAAMAAYAAQABAAEAAAAMAAcAAQABAAEAAAAMAAgAAQABAAEAAAANAAQAAQABAAAAAAANAAUAAQABAAEAAAANAAYAAQABAAEAAAANAAcAAQABAAEAAAANAAgAAQABAAEAAAAOAAQAAQABAAAAAAAOAAUAAQABAAEAAAAOAAYAAQABAAEAAAAOAAcAAQABAAEAAAAOAAgAAQABAAEAAAAPAAQAAQABAAAAAAAPAAUAAQABAAEAAAAPAAYAAQABAAEAAAAPAAcAAQABAAEAAAAPAAgAAQABAAEAAAAQAAQAAQABAAAAAAAQAAUAAQABAAEAAAAQAAYAAQABAAEAAAAQAAcAAQABAAEAAAAQAAgAAQABAAEAAAARAAQAAQABAAAAAAARAAUAAQABAAEAAAARAAYAAQABAAEAAAARAAcAAQABAAEAAAARAAgAAQABAAEAAAASAAQAAQABAAAAAAASAAUAAQABAAEAAAASAAYAAQABAAEAAAASAAcAAQABAAEAAAASAAgAAQABAAEAAAATAAQAAQABAAAAAAATAAUAAQABAAEAAAATAAYAAQABAAEAAAATAAcAAQABAAEAAAATAAgAAQABAAEAAAAUAAQAAQABAAAAAAAUAAUAAQABAAEAAAAUAAYAAQABAAEAAAAUAAcAAQABAAEAAAAUAAgAAQABAAEAAAAVAAQAAQABAAAAAAAVAAUAAQABAAEAAAAVAAYAAQABAAEAAAAVAAcAAQABAAEAAAAVAAgAAQABAAEAAAAWAAQAAQABAAAAAAAWAAUAAQABAAEAAAAWAAYAAQABAAEAAAAWAAcAAQABAAEAAAAWAAgAAQABAAEAAAAXAAQAAQABAAAAAAAXAAUAAQABAAEAAAAXAAYAAQABAAEAAAAXAAcAAQABAAEAAAAXAAgAAQABAAEAAAAYAAQAAQABAAAAAAAYAAUAAQABAAEAAAAYAAYAAQABAAEAAAAYAAcAAQABAAEAAAAYAAgAAQABAAEAAAAZAAQAAQABAAAAAAAZAAUAAQABAAEAAAAZAAYAAQABAAEAAAAZAAcAAQABAAEAAAAZAAgAAQABAAEAAAAaAAQAAQABAAAAAAAaAAUAAQABAAEAAAAaAAYAAQABAAEAAAAaAAcAAQABAAEAAAAaAAgAAQABAAEAAAAbAAQAAQABAAAAAAAbAAUAAQABAAEAAAAbAAYAAQABAAEAAAAbAAcAAQABAAEAAAAbAAgAAQABAAEAAAAcAAQAAQABAAAAAAAcAAUAAQABAAEAAAAcAAYAAQABAAEAAAAcAAcAAQABAAEAAAAcAAgAAQABAAEAAAAdAAQAAQABAAAAAAAdAAUAAQABAAEAAAAdAAYAAQABAAEAAAAdAAcAAQABAAEAAAAdAAgAAQABAAEAAAAeAAQAAQABAAAAAAAeAAUAAQABAAEAAAAeAAYAAQABAAEAAAAeAAcAAQABAAEAAAAeAAgAAQABAAEAAAAfAAQAAQABAAAAAAAfAAUAAQABAAEAAAAfAAYAAQABAAEAAAAfAAcAAQABAAEAAAAfAAgAAQABAAEAAAAgAAQAAQABAAAAAAAgAAUAAQABAAEAAAAgAAYAAQABAAEAAAAgAAcAAQABAAEAAAAgAAgAAQABAAEAAAAhAAQAAQABAAAAAAAhAAUAAQABAAEAAAAhAAYAAQABAAEAAAAhAAcAAQABAAEAAAAhAAgAAQABAAEAAAAiAAQAAQABAAAAAAAiAAUAAQABAAEAAAAiAAYAAQABAAEAAAAiAAcAAQABAAEAAAAiAAgAAQABAAEAAAAjAAQAAQABAAAAAAAjAAUAAQABAAEAAAAjAAYAAQABAAEAAAAjAAcAAQABAAEAAAAjAAgAAQABAAEAAAAkAAQAAQABAAAAAAAkAAUAAQABAAEAAAAkAAYAAQABAAEAAAAkAAcAAQABAAEAAAAkAAgAAQABAAEAAAAlAAQAAQABAAAAAAAlAAUAAQABAAEAAAAlAAYAAQABAAEAAAAlAAcAAQABAAEAAAAlAAgAAQABAAEAAAAmAAQAAQABAAAAAAAmAAUAAQABAAEAAAAmAAYAAQABAAEAAAAmAAcAAQABAAEAAAAmAAgAAQABAAEAAAAnAAQAAQABAAAAAAAnAAUAAQABAAEAAAAnAAYAAQABAAEAAAAnAAcAAQABAAEAAAAnAAgAAQABAAEAAAAoAAQAAQABAAAAAAAoAAUAAQABAAEAAAAoAAYAAQABAAEAAAAoAAcAAQABAAEAAAAoAAgAAQABAAEAAAApAAQAAQABAAAAAAApAAUAAQABAAEAAAApAAYAAQABAAEAAAApAAcAAQABAAEAAAApAAgAAQABAAEAAAAqAAQAAQABAAAAAAAqAAUAAQABAAEAAAAqAAYAAQABAAEAAAAqAAcAAQABAAEAAAAqAAgAAQABAAEAAAArAAQAAQABAAAAAAArAAUAAQABAAEAAAArAAYAAQABAAEAAAArAAcAAQABAAEAAAArAAgAAQABAAEAAAAsAAQAAQABAAAAAAAsAAUAAQABAAEAAAAsAAYAAQABAAEAAAAsAAcAAQABAAEAAAAsAAgAAQABAAEAAAAtAAQAAQABAAAAAAAtAAUAAQABAAEAAAAtAAYAAQABAAEAAAAtAAcAAQABAAEAAAAtAAgAAQABAAEAAAAuAAQAAQABAAAAAAAuAAUAAQABAAEAAAAuAAYAAQABAAEAAAAuAAcAAQABAAEAAAAuAAgAAQABAAEAAAAvAAQAAQABAAAAAAAvAAUAAQABAAEAAAAvAAYAAQABAAEAAAAvAAcAAQABAAEAAAAvAAgAAQABAAEAAAAwAAQAAQABAAAAAAAwAAUAAQABAAEAAAAwAAYAAQABAAEAAAAwAAcAAQABAAEAAAAwAAgAAQABAAEAAAAxAAQAAQABAAAAAAAxAAUAAQABAAEAAAAxAAYAAQABAAEAAAAxAAcAAQABAAEAAAAxAAgAAQABAAEAAAAyAAQAAQABAAAAAAAyAAUAAQABAAEAAAAyAAYAAQABAAEAAAAyAAcAAQABAAEAAAAyAAgAAQABAAEAAAAIAAMAAQACAAkAAAAIAAIAAQACAAgAAAAIAAEAAQACAAcAAAAPAAMAAQAAAAkAAAAPAAIAAQAAAAcAAAAQAAMAAQAAAAkAAAAQAAEAAQAAAAYAAAAQAAIAAQABAAYAAAD9/wkAAQABAAEAAAD9/woAAQABAAEAAAD9/wsAAQABAAIAAAD+/wkAAQABAAEAAAD+/woAAQABAAEAAAD+/wsAAQABAAIAAAD//wkAAQABAAEAAAD//woAAQABAAEAAAD//wsAAQABAAIAAAAAAAkAAQABAAEAAAAAAAoAAQABAAEAAAAAAAsAAQABAAIAAAABAAkAAQABAAEAAAABAAoAAQABAAEAAAABAAsAAQABAAIAAAACAAkAAQABAAEAAAACAAoAAQABAAEAAAACAAsAAQABAAIAAAADAAkAAQABAAEAAAADAAoAAQABAAEAAAADAAsAAQABAAIAAAAEAAkAAQABAAEAAAAEAAoAAQABAAEAAAAEAAsAAQABAAIAAAAFAAkAAQABAAEAAAAFAAoAAQABAAEAAAAFAAsAAQABAAIAAAAGAAkAAQABAAEAAAAGAAoAAQABAAEAAAAGAAsAAQABAAIAAAAHAAkAAQABAAEAAAAHAAoAAQABAAEAAAAHAAsAAQABAAIAAAAIAAkAAQABAAEAAAAIAAoAAQABAAEAAAAIAAsAAQABAAIAAAAJAAkAAQABAAEAAAAJAAoAAQABAAEAAAAJAAsAAQABAAIAAAAKAAkAAQABAAEAAAAKAAoAAQABAAEAAAAKAAsAAQABAAIAAAALAAkAAQABAAEAAAALAAoAAQABAAEAAAALAAsAAQABAAIAAAAMAAkAAQABAAEAAAAMAAoAAQABAAEAAAAMAAsAAQABAAIAAAANAAkAAQABAAEAAAANAAoAAQABAAEAAAANAAsAAQABAAIAAAAOAAkAAQABAAEAAAAOAAoAAQABAAEAAAAOAAsAAQABAAIAAAAPAAkAAQABAAEAAAAPAAoAAQABAAEAAAAPAAsAAQABAAIAAAAQAAkAAQABAAEAAAAQAAoAAQABAAEAAAAQAAsAAQABAAIAAAARAAkAAQABAAEAAAARAAoAAQABAAEAAAARAAsAAQABAAIAAAASAAkAAQABAAEAAAASAAoAAQABAAEAAAASAAsAAQABAAIAAAATAAkAAQABAAEAAAATAAoAAQABAAEAAAATAAsAAQABAAIAAAAUAAkAAQABAAEAAAAUAAoAAQABAAEAAAAUAAsAAQABAAIAAAAVAAkAAQABAAEAAAAVAAoAAQABAAEAAAAVAAsAAQABAAIAAAAWAAkAAQABAAEAAAAWAAoAAQABAAEAAAAWAAsAAQABAAIAAAAXAAkAAQABAAEAAAAXAAoAAQABAAEAAAAXAAsAAQABAAIAAAAYAAkAAQABAAEAAAAYAAoAAQABAAEAAAAYAAsAAQABAAIAAAAZAAkAAQABAAEAAAAZAAoAAQABAAEAAAAZAAsAAQABAAIAAAAaAAkAAQABAAEAAAAaAAoAAQABAAEAAAAaAAsAAQABAAIAAAAbAAkAAQABAAEAAAAbAAoAAQABAAEAAAAbAAsAAQABAAIAAAAcAAkAAQABAAEAAAAcAAoAAQABAAEAAAAcAAsAAQABAAIAAAAdAAkAAQABAAEAAAAdAAoAAQABAAEAAAAdAAsAAQABAAIAAAD8/wsAAQAAAAIAAAD8/woAAQAAAAEAAAD8/wkAAQAAAAEAAAAeAAkAAQABAAEAAAAeAAoAAQABAAEAAAAeAAsAAQABAAIAAAAfAAkAAQABAAEAAAAfAAoAAQABAAEAAAAfAAsAAQABAAIAAAAgAAkAAQABAAEAAAAgAAoAAQABAAEAAAAgAAsAAQABAAIAAAAhAAkAAQABAAEAAAAhAAoAAQABAAEAAAAhAAsAAQABAAIAAAAiAAkAAQABAAEAAAAiAAoAAQABAAEAAAAiAAsAAQABAAIAAAAjAAkAAQABAAEAAAAjAAoAAQABAAEAAAAjAAsAAQABAAIAAAAkAAkAAQABAAEAAAAkAAoAAQABAAEAAAAkAAsAAQABAAIAAAAlAAkAAQABAAEAAAAlAAoAAQABAAEAAAAlAAsAAQABAAIAAAAmAAkAAQABAAEAAAAmAAoAAQABAAEAAAAmAAsAAQABAAIAAAAnAAkAAQABAAEAAAAnAAoAAQABAAEAAAAnAAsAAQABAAIAAAAoAAkAAQABAAEAAAAoAAoAAQABAAEAAAAoAAsAAQABAAIAAAApAAkAAQABAAEAAAApAAoAAQABAAEAAAApAAsAAQABAAIAAAAqAAkAAQABAAEAAAAqAAoAAQABAAEAAAAqAAsAAQABAAIAAAArAAkAAQABAAEAAAArAAoAAQABAAEAAAArAAsAAQABAAIAAAAsAAkAAQABAAEAAAAsAAoAAQABAAEAAAAsAAsAAQABAAIAAAAtAAkAAQABAAEAAAAtAAoAAQABAAEAAAAtAAsAAQABAAIAAAAuAAkAAQABAAEAAAAuAAoAAQABAAEAAAAuAAsAAQABAAIAAAAvAAkAAQABAAEAAAAvAAoAAQABAAEAAAAvAAsAAQABAAIAAAAwAAkAAQABAAEAAAAwAAoAAQABAAEAAAAwAAsAAQABAAIAAAAxAAkAAQABAAEAAAAxAAoAAQABAAEAAAAxAAsAAQABAAIAAAAyAAkAAQABAAEAAAAyAAoAAQABAAEAAAAyAAsAAQABAAIAAAAKAAIAAQAAAAcAAAAKAAMAAQAAAAkAAAA=") +tile_set = SubResource("TileSet_peh7y") + +[node name="PointLight2D" type="PointLight2D" parent="Level/TileMaps/TileMap1"] +position = Vector2(68, 12) +color = Color(0.564706, 0.337255, 0.627451, 1) +energy = 1.1 +texture = SubResource("GradientTexture2D_ok6ah") +texture_scale = 1.36 + +[node name="Enemies & traps" type="Node" parent="Level"] + +[node name="Additions" type="Node" parent="Level"] + +[node name="abillityOrbs" type="Node" parent="Level/Additions"] + +[node name="abillityCardOrb" parent="Level/Additions/abillityOrbs" instance=ExtResource("5_aepx3")] +position = Vector2(170, 26) + +[node name="GUI" type="CanvasLayer" parent="."] + +[node name="abillityCardChooseMenu" parent="GUI" instance=ExtResource("5_xj0qh")] +visible = false + +[node name="Pause" type="TextureButton" parent="GUI"] +offset_left = 495.0 +offset_top = 8.0 +offset_right = 633.0 +offset_bottom = 41.0 +texture_normal = ExtResource("5_ngmfk") +texture_pressed = ExtResource("6_brniu") +texture_hover = ExtResource("7_ohdil") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Pause" type="Label" parent="GUI/Pause"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Pause" +label_settings = SubResource("LabelSettings_hj45o") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Pause menu" parent="GUI" instance=ExtResource("9_axpcq")] +visible = false + +[node name="ParallaxBackground" type="ParallaxBackground" parent="."] + +[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] +motion_mirroring = Vector2(640, 360) + +[node name="Background" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"] +position = Vector2(1, 12) +texture = ExtResource("2_3kbq0") + +[node name="DirectionalLight2D" type="DirectionalLight2D" parent="."] +color = Color(0.564706, 0.337255, 0.627451, 1) +energy = 0.79 +blend_mode = 1 + +[connection signal="pressed" from="GUI/Pause" to="." method="_on_pause_pressed"] diff --git a/scenes/levels/1_1.gd b/scenes/levels/1_1.gd new file mode 100644 index 0000000..66a1257 --- /dev/null +++ b/scenes/levels/1_1.gd @@ -0,0 +1,13 @@ +extends Node2D +@onready var pause_menu: Control = $"GUI/Pause menu" + +func _on_pause_pressed() -> void: + get_tree().paused = true + pause_menu.visible = true + +func _input(event: InputEvent) -> void: + if not pause_menu.visible: + if event.is_action_pressed("pause"): + _on_pause_pressed() + + diff --git a/scenes/lofi1.mp3 b/scenes/lofi1.mp3 new file mode 100644 index 0000000..866dbef Binary files /dev/null and b/scenes/lofi1.mp3 differ diff --git a/scenes/lofi1.mp3.import b/scenes/lofi1.mp3.import new file mode 100644 index 0000000..e9a65a8 --- /dev/null +++ b/scenes/lofi1.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://cknl23pewxuva" +path="res://.godot/imported/lofi1.mp3-2617690e61f048e356b97c69455bb2b7.mp3str" + +[deps] + +source_file="res://scenes/lofi1.mp3" +dest_files=["res://.godot/imported/lofi1.mp3-2617690e61f048e356b97c69455bb2b7.mp3str"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/scenes/main_menu.tscn b/scenes/main_menu.tscn new file mode 100644 index 0000000..d93c5c0 --- /dev/null +++ b/scenes/main_menu.tscn @@ -0,0 +1,111 @@ +[gd_scene load_steps=10 format=3 uid="uid://bq18yfskjhadc"] + +[ext_resource type="Script" path="res://scripts/main_menu.gd" id="1_l65j5"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_amhjb"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_jej0o"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_cs7jm"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_ver27"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_4ddb7"] +[ext_resource type="PackedScene" uid="uid://b48bk4r45bdxk" path="res://scenes/options_menu.tscn" id="8_xkyf8"] +[ext_resource type="Texture2D" uid="uid://bqluqxxg57jj" path="res://assets/sprites/logo_text.png" id="13_65ong"] + +[sub_resource type="LabelSettings" id="LabelSettings_uvldi"] +font = ExtResource("6_4ddb7") +font_size = 12 +font_color = Color(0.560784, 0.337255, 0.623529, 1) + +[node name="Main menu" 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_l65j5") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +scale = Vector2(1.025, 1.04444) +texture = ExtResource("2_amhjb") + +[node name="Play" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 80.0 +offset_top = 112.0 +offset_right = 240.0 +offset_bottom = 152.0 +texture_normal = ExtResource("3_jej0o") +texture_pressed = ExtResource("4_cs7jm") +texture_hover = ExtResource("5_ver27") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Play" type="Label" parent="Play"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 159.0 +offset_bottom = 39.0 +text = "Play" +label_settings = SubResource("LabelSettings_uvldi") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Options" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 80.0 +offset_top = 168.0 +offset_right = 240.0 +offset_bottom = 208.0 +texture_normal = ExtResource("3_jej0o") +texture_pressed = ExtResource("4_cs7jm") +texture_hover = ExtResource("5_ver27") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Options" type="Label" parent="Options"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 159.0 +offset_bottom = 39.0 +text = "Options" +label_settings = SubResource("LabelSettings_uvldi") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Exit" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 80.0 +offset_top = 224.0 +offset_right = 240.0 +offset_bottom = 264.0 +texture_normal = ExtResource("3_jej0o") +texture_pressed = ExtResource("4_cs7jm") +texture_hover = ExtResource("5_ver27") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Exit" type="Label" parent="Exit"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 159.0 +offset_bottom = 39.0 +text = "Exit" +label_settings = SubResource("LabelSettings_uvldi") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="LogoText" type="Sprite2D" parent="."] +position = Vector2(450.417, 160) +scale = Vector2(0.602333, 0.596667) +texture = ExtResource("13_65ong") + +[node name="Options Menu" parent="." instance=ExtResource("8_xkyf8")] +visible = false +layout_mode = 1 + +[connection signal="pressed" from="Play" to="." method="_on_play_pressed"] +[connection signal="pressed" from="Options" to="." method="_on_options_pressed"] +[connection signal="pressed" from="Exit" to="." method="_on_exit_pressed"] diff --git a/scenes/opt10E9.tmp b/scenes/opt10E9.tmp new file mode 100755 index 0000000..e05a29c --- /dev/null +++ b/scenes/opt10E9.tmp @@ -0,0 +1,226 @@ +[gd_scene load_steps=36 format=3 uid="uid://b48bk4r45bdxk"] + +[ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_ftbx8"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] +[ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] +[ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="7_kwm08"] +[ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] +[ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] +[ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] +[ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] +[ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] +[ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] +[ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] +[ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] +[ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] +texture = ExtResource("8_3cmui") +texture_margin_top = 16.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6vef0"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rgp8m"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b7f3"] +bg_color = Color(1, 1, 1, 0.298039) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmdy2"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtdn"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mr0ir"] +texture = ExtResource("17_qdb7h") + +[sub_resource type="Theme" id="Theme_k2s72"] +default_font = ExtResource("6_1cuh6") +default_font_size = 12 +PopupMenu/icons/radio_checked = ExtResource("15_fck8p") +PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") +PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_6vef0") +PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_rgp8m") +PopupMenu/styles/hover = SubResource("StyleBoxFlat_0b7f3") +PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_kmdy2") +PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_bqtdn") +PopupMenu/styles/panel = SubResource("StyleBoxTexture_mr0ir") +PopupMenu/styles/separator = null + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] +texture = ExtResource("15_v883t") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] +texture = ExtResource("15_8sjp5") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] +texture = ExtResource("15_v883t") + +[node name="Options Menu" 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_6deg7") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +scale = Vector2(1.025, 1.04444) +texture = ExtResource("2_ftbx8") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(101.5, 184) +scale = Vector2(1.87, 1.06944) +texture = ExtResource("3_ih0b6") + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 16.0 +offset_top = 8.0 +offset_right = 154.0 +offset_bottom = 41.0 +texture_normal = ExtResource("3_1hutp") +texture_pressed = ExtResource("4_u3ms3") +texture_hover = ExtResource("5_2d15i") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Bck" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = ExtResource("7_kwm08") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Volume" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 80.0 +offset_right = 182.0 +offset_bottom = 105.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 100.0 + +[node name="Vol" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 80.0 +offset_right = 62.0 +offset_bottom = 104.0 +text = "Volume +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Mute" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 82.0 +offset_top = 107.0 +offset_right = 126.0 +offset_bottom = 131.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="Mt" type="Label" parent="Mute"] +layout_mode = 0 +offset_left = -58.0 +offset_right = -26.0 +offset_bottom = 24.0 +text = "Mute" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Resolution" type="OptionButton" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 132.0 +offset_right = 168.0 +offset_bottom = 156.0 +theme = SubResource("Theme_k2s72") +theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") +theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") +theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") +theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") +theme_override_icons/arrow = ExtResource("15_qecsk") +alignment = 1 +selected = 2 +item_count = 4 +popup/item_0/text = "1920x1080" +popup/item_1/text = "1600x900" +popup/item_1/id = 1 +popup/item_2/text = "1280x720" +popup/item_2/id = 2 +popup/item_3/text = "640x360" +popup/item_3/id = 3 + +[node name="Res" type="Label" parent="Resolution"] +offset_left = -64.0 +offset_top = -1.0 +offset_right = -8.0 +offset_bottom = 23.0 +text = "Resolution" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Fullscreen" type="CheckButton" parent="."] +offset_left = 88.0 +offset_top = 155.0 +offset_right = 132.0 +offset_bottom = 179.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="fscreen" type="Label" parent="."] +offset_left = 24.0 +offset_top = 155.0 +offset_right = 80.0 +offset_bottom = 179.0 +text = "Fullscreen +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] +[connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] +[connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] diff --git a/scenes/opt1D7E.tmp b/scenes/opt1D7E.tmp new file mode 100755 index 0000000..e05a29c --- /dev/null +++ b/scenes/opt1D7E.tmp @@ -0,0 +1,226 @@ +[gd_scene load_steps=36 format=3 uid="uid://b48bk4r45bdxk"] + +[ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_ftbx8"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] +[ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] +[ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="7_kwm08"] +[ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] +[ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] +[ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] +[ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] +[ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] +[ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] +[ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] +[ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] +[ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] +texture = ExtResource("8_3cmui") +texture_margin_top = 16.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6vef0"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rgp8m"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b7f3"] +bg_color = Color(1, 1, 1, 0.298039) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmdy2"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtdn"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mr0ir"] +texture = ExtResource("17_qdb7h") + +[sub_resource type="Theme" id="Theme_k2s72"] +default_font = ExtResource("6_1cuh6") +default_font_size = 12 +PopupMenu/icons/radio_checked = ExtResource("15_fck8p") +PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") +PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_6vef0") +PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_rgp8m") +PopupMenu/styles/hover = SubResource("StyleBoxFlat_0b7f3") +PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_kmdy2") +PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_bqtdn") +PopupMenu/styles/panel = SubResource("StyleBoxTexture_mr0ir") +PopupMenu/styles/separator = null + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] +texture = ExtResource("15_v883t") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] +texture = ExtResource("15_8sjp5") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] +texture = ExtResource("15_v883t") + +[node name="Options Menu" 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_6deg7") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +scale = Vector2(1.025, 1.04444) +texture = ExtResource("2_ftbx8") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(101.5, 184) +scale = Vector2(1.87, 1.06944) +texture = ExtResource("3_ih0b6") + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 16.0 +offset_top = 8.0 +offset_right = 154.0 +offset_bottom = 41.0 +texture_normal = ExtResource("3_1hutp") +texture_pressed = ExtResource("4_u3ms3") +texture_hover = ExtResource("5_2d15i") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Bck" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = ExtResource("7_kwm08") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Volume" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 80.0 +offset_right = 182.0 +offset_bottom = 105.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 100.0 + +[node name="Vol" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 80.0 +offset_right = 62.0 +offset_bottom = 104.0 +text = "Volume +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Mute" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 82.0 +offset_top = 107.0 +offset_right = 126.0 +offset_bottom = 131.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="Mt" type="Label" parent="Mute"] +layout_mode = 0 +offset_left = -58.0 +offset_right = -26.0 +offset_bottom = 24.0 +text = "Mute" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Resolution" type="OptionButton" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 132.0 +offset_right = 168.0 +offset_bottom = 156.0 +theme = SubResource("Theme_k2s72") +theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") +theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") +theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") +theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") +theme_override_icons/arrow = ExtResource("15_qecsk") +alignment = 1 +selected = 2 +item_count = 4 +popup/item_0/text = "1920x1080" +popup/item_1/text = "1600x900" +popup/item_1/id = 1 +popup/item_2/text = "1280x720" +popup/item_2/id = 2 +popup/item_3/text = "640x360" +popup/item_3/id = 3 + +[node name="Res" type="Label" parent="Resolution"] +offset_left = -64.0 +offset_top = -1.0 +offset_right = -8.0 +offset_bottom = 23.0 +text = "Resolution" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Fullscreen" type="CheckButton" parent="."] +offset_left = 88.0 +offset_top = 155.0 +offset_right = 132.0 +offset_bottom = 179.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="fscreen" type="Label" parent="."] +offset_left = 24.0 +offset_top = 155.0 +offset_right = 80.0 +offset_bottom = 179.0 +text = "Fullscreen +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] +[connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] +[connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] diff --git a/scenes/opt210D.tmp b/scenes/opt210D.tmp new file mode 100755 index 0000000..e05a29c --- /dev/null +++ b/scenes/opt210D.tmp @@ -0,0 +1,226 @@ +[gd_scene load_steps=36 format=3 uid="uid://b48bk4r45bdxk"] + +[ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_ftbx8"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] +[ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] +[ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="7_kwm08"] +[ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] +[ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] +[ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] +[ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] +[ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] +[ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] +[ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] +[ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] +[ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] +texture = ExtResource("8_3cmui") +texture_margin_top = 16.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6vef0"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rgp8m"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b7f3"] +bg_color = Color(1, 1, 1, 0.298039) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmdy2"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtdn"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mr0ir"] +texture = ExtResource("17_qdb7h") + +[sub_resource type="Theme" id="Theme_k2s72"] +default_font = ExtResource("6_1cuh6") +default_font_size = 12 +PopupMenu/icons/radio_checked = ExtResource("15_fck8p") +PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") +PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_6vef0") +PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_rgp8m") +PopupMenu/styles/hover = SubResource("StyleBoxFlat_0b7f3") +PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_kmdy2") +PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_bqtdn") +PopupMenu/styles/panel = SubResource("StyleBoxTexture_mr0ir") +PopupMenu/styles/separator = null + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] +texture = ExtResource("15_v883t") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] +texture = ExtResource("15_8sjp5") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] +texture = ExtResource("15_v883t") + +[node name="Options Menu" 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_6deg7") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +scale = Vector2(1.025, 1.04444) +texture = ExtResource("2_ftbx8") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(101.5, 184) +scale = Vector2(1.87, 1.06944) +texture = ExtResource("3_ih0b6") + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 16.0 +offset_top = 8.0 +offset_right = 154.0 +offset_bottom = 41.0 +texture_normal = ExtResource("3_1hutp") +texture_pressed = ExtResource("4_u3ms3") +texture_hover = ExtResource("5_2d15i") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Bck" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = ExtResource("7_kwm08") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Volume" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 80.0 +offset_right = 182.0 +offset_bottom = 105.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 100.0 + +[node name="Vol" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 80.0 +offset_right = 62.0 +offset_bottom = 104.0 +text = "Volume +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Mute" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 82.0 +offset_top = 107.0 +offset_right = 126.0 +offset_bottom = 131.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="Mt" type="Label" parent="Mute"] +layout_mode = 0 +offset_left = -58.0 +offset_right = -26.0 +offset_bottom = 24.0 +text = "Mute" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Resolution" type="OptionButton" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 132.0 +offset_right = 168.0 +offset_bottom = 156.0 +theme = SubResource("Theme_k2s72") +theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") +theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") +theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") +theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") +theme_override_icons/arrow = ExtResource("15_qecsk") +alignment = 1 +selected = 2 +item_count = 4 +popup/item_0/text = "1920x1080" +popup/item_1/text = "1600x900" +popup/item_1/id = 1 +popup/item_2/text = "1280x720" +popup/item_2/id = 2 +popup/item_3/text = "640x360" +popup/item_3/id = 3 + +[node name="Res" type="Label" parent="Resolution"] +offset_left = -64.0 +offset_top = -1.0 +offset_right = -8.0 +offset_bottom = 23.0 +text = "Resolution" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Fullscreen" type="CheckButton" parent="."] +offset_left = 88.0 +offset_top = 155.0 +offset_right = 132.0 +offset_bottom = 179.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="fscreen" type="Label" parent="."] +offset_left = 24.0 +offset_top = 155.0 +offset_right = 80.0 +offset_bottom = 179.0 +text = "Fullscreen +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] +[connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] +[connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] diff --git a/scenes/opt2CFD.tmp b/scenes/opt2CFD.tmp new file mode 100755 index 0000000..e05a29c --- /dev/null +++ b/scenes/opt2CFD.tmp @@ -0,0 +1,226 @@ +[gd_scene load_steps=36 format=3 uid="uid://b48bk4r45bdxk"] + +[ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_ftbx8"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] +[ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] +[ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="7_kwm08"] +[ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] +[ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] +[ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] +[ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] +[ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] +[ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] +[ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] +[ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] +[ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] +texture = ExtResource("8_3cmui") +texture_margin_top = 16.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6vef0"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rgp8m"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b7f3"] +bg_color = Color(1, 1, 1, 0.298039) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmdy2"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtdn"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mr0ir"] +texture = ExtResource("17_qdb7h") + +[sub_resource type="Theme" id="Theme_k2s72"] +default_font = ExtResource("6_1cuh6") +default_font_size = 12 +PopupMenu/icons/radio_checked = ExtResource("15_fck8p") +PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") +PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_6vef0") +PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_rgp8m") +PopupMenu/styles/hover = SubResource("StyleBoxFlat_0b7f3") +PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_kmdy2") +PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_bqtdn") +PopupMenu/styles/panel = SubResource("StyleBoxTexture_mr0ir") +PopupMenu/styles/separator = null + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] +texture = ExtResource("15_v883t") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] +texture = ExtResource("15_8sjp5") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] +texture = ExtResource("15_v883t") + +[node name="Options Menu" 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_6deg7") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +scale = Vector2(1.025, 1.04444) +texture = ExtResource("2_ftbx8") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(101.5, 184) +scale = Vector2(1.87, 1.06944) +texture = ExtResource("3_ih0b6") + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 16.0 +offset_top = 8.0 +offset_right = 154.0 +offset_bottom = 41.0 +texture_normal = ExtResource("3_1hutp") +texture_pressed = ExtResource("4_u3ms3") +texture_hover = ExtResource("5_2d15i") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Bck" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = ExtResource("7_kwm08") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Volume" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 80.0 +offset_right = 182.0 +offset_bottom = 105.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 100.0 + +[node name="Vol" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 80.0 +offset_right = 62.0 +offset_bottom = 104.0 +text = "Volume +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Mute" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 82.0 +offset_top = 107.0 +offset_right = 126.0 +offset_bottom = 131.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="Mt" type="Label" parent="Mute"] +layout_mode = 0 +offset_left = -58.0 +offset_right = -26.0 +offset_bottom = 24.0 +text = "Mute" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Resolution" type="OptionButton" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 132.0 +offset_right = 168.0 +offset_bottom = 156.0 +theme = SubResource("Theme_k2s72") +theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") +theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") +theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") +theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") +theme_override_icons/arrow = ExtResource("15_qecsk") +alignment = 1 +selected = 2 +item_count = 4 +popup/item_0/text = "1920x1080" +popup/item_1/text = "1600x900" +popup/item_1/id = 1 +popup/item_2/text = "1280x720" +popup/item_2/id = 2 +popup/item_3/text = "640x360" +popup/item_3/id = 3 + +[node name="Res" type="Label" parent="Resolution"] +offset_left = -64.0 +offset_top = -1.0 +offset_right = -8.0 +offset_bottom = 23.0 +text = "Resolution" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Fullscreen" type="CheckButton" parent="."] +offset_left = 88.0 +offset_top = 155.0 +offset_right = 132.0 +offset_bottom = 179.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="fscreen" type="Label" parent="."] +offset_left = 24.0 +offset_top = 155.0 +offset_right = 80.0 +offset_bottom = 179.0 +text = "Fullscreen +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] +[connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] +[connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] diff --git a/scenes/opt5AD6.tmp b/scenes/opt5AD6.tmp new file mode 100755 index 0000000..e05a29c --- /dev/null +++ b/scenes/opt5AD6.tmp @@ -0,0 +1,226 @@ +[gd_scene load_steps=36 format=3 uid="uid://b48bk4r45bdxk"] + +[ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_ftbx8"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] +[ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] +[ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="7_kwm08"] +[ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] +[ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] +[ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] +[ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] +[ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] +[ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] +[ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] +[ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] +[ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] +texture = ExtResource("8_3cmui") +texture_margin_top = 16.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6vef0"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rgp8m"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b7f3"] +bg_color = Color(1, 1, 1, 0.298039) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmdy2"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtdn"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mr0ir"] +texture = ExtResource("17_qdb7h") + +[sub_resource type="Theme" id="Theme_k2s72"] +default_font = ExtResource("6_1cuh6") +default_font_size = 12 +PopupMenu/icons/radio_checked = ExtResource("15_fck8p") +PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") +PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_6vef0") +PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_rgp8m") +PopupMenu/styles/hover = SubResource("StyleBoxFlat_0b7f3") +PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_kmdy2") +PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_bqtdn") +PopupMenu/styles/panel = SubResource("StyleBoxTexture_mr0ir") +PopupMenu/styles/separator = null + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] +texture = ExtResource("15_v883t") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] +texture = ExtResource("15_8sjp5") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] +texture = ExtResource("15_v883t") + +[node name="Options Menu" 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_6deg7") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +scale = Vector2(1.025, 1.04444) +texture = ExtResource("2_ftbx8") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(101.5, 184) +scale = Vector2(1.87, 1.06944) +texture = ExtResource("3_ih0b6") + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 16.0 +offset_top = 8.0 +offset_right = 154.0 +offset_bottom = 41.0 +texture_normal = ExtResource("3_1hutp") +texture_pressed = ExtResource("4_u3ms3") +texture_hover = ExtResource("5_2d15i") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Bck" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = ExtResource("7_kwm08") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Volume" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 80.0 +offset_right = 182.0 +offset_bottom = 105.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 100.0 + +[node name="Vol" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 80.0 +offset_right = 62.0 +offset_bottom = 104.0 +text = "Volume +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Mute" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 82.0 +offset_top = 107.0 +offset_right = 126.0 +offset_bottom = 131.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="Mt" type="Label" parent="Mute"] +layout_mode = 0 +offset_left = -58.0 +offset_right = -26.0 +offset_bottom = 24.0 +text = "Mute" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Resolution" type="OptionButton" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 132.0 +offset_right = 168.0 +offset_bottom = 156.0 +theme = SubResource("Theme_k2s72") +theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") +theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") +theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") +theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") +theme_override_icons/arrow = ExtResource("15_qecsk") +alignment = 1 +selected = 2 +item_count = 4 +popup/item_0/text = "1920x1080" +popup/item_1/text = "1600x900" +popup/item_1/id = 1 +popup/item_2/text = "1280x720" +popup/item_2/id = 2 +popup/item_3/text = "640x360" +popup/item_3/id = 3 + +[node name="Res" type="Label" parent="Resolution"] +offset_left = -64.0 +offset_top = -1.0 +offset_right = -8.0 +offset_bottom = 23.0 +text = "Resolution" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Fullscreen" type="CheckButton" parent="."] +offset_left = 88.0 +offset_top = 155.0 +offset_right = 132.0 +offset_bottom = 179.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="fscreen" type="Label" parent="."] +offset_left = 24.0 +offset_top = 155.0 +offset_right = 80.0 +offset_bottom = 179.0 +text = "Fullscreen +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] +[connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] +[connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] diff --git a/scenes/opt5F10.tmp b/scenes/opt5F10.tmp new file mode 100755 index 0000000..e05a29c --- /dev/null +++ b/scenes/opt5F10.tmp @@ -0,0 +1,226 @@ +[gd_scene load_steps=36 format=3 uid="uid://b48bk4r45bdxk"] + +[ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_ftbx8"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] +[ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] +[ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="7_kwm08"] +[ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] +[ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] +[ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] +[ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] +[ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] +[ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] +[ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] +[ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] +[ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] +texture = ExtResource("8_3cmui") +texture_margin_top = 16.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6vef0"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rgp8m"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b7f3"] +bg_color = Color(1, 1, 1, 0.298039) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmdy2"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtdn"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mr0ir"] +texture = ExtResource("17_qdb7h") + +[sub_resource type="Theme" id="Theme_k2s72"] +default_font = ExtResource("6_1cuh6") +default_font_size = 12 +PopupMenu/icons/radio_checked = ExtResource("15_fck8p") +PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") +PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_6vef0") +PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_rgp8m") +PopupMenu/styles/hover = SubResource("StyleBoxFlat_0b7f3") +PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_kmdy2") +PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_bqtdn") +PopupMenu/styles/panel = SubResource("StyleBoxTexture_mr0ir") +PopupMenu/styles/separator = null + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] +texture = ExtResource("15_v883t") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] +texture = ExtResource("15_8sjp5") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] +texture = ExtResource("15_v883t") + +[node name="Options Menu" 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_6deg7") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +scale = Vector2(1.025, 1.04444) +texture = ExtResource("2_ftbx8") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(101.5, 184) +scale = Vector2(1.87, 1.06944) +texture = ExtResource("3_ih0b6") + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 16.0 +offset_top = 8.0 +offset_right = 154.0 +offset_bottom = 41.0 +texture_normal = ExtResource("3_1hutp") +texture_pressed = ExtResource("4_u3ms3") +texture_hover = ExtResource("5_2d15i") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Bck" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = ExtResource("7_kwm08") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Volume" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 80.0 +offset_right = 182.0 +offset_bottom = 105.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 100.0 + +[node name="Vol" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 80.0 +offset_right = 62.0 +offset_bottom = 104.0 +text = "Volume +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Mute" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 82.0 +offset_top = 107.0 +offset_right = 126.0 +offset_bottom = 131.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="Mt" type="Label" parent="Mute"] +layout_mode = 0 +offset_left = -58.0 +offset_right = -26.0 +offset_bottom = 24.0 +text = "Mute" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Resolution" type="OptionButton" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 132.0 +offset_right = 168.0 +offset_bottom = 156.0 +theme = SubResource("Theme_k2s72") +theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") +theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") +theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") +theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") +theme_override_icons/arrow = ExtResource("15_qecsk") +alignment = 1 +selected = 2 +item_count = 4 +popup/item_0/text = "1920x1080" +popup/item_1/text = "1600x900" +popup/item_1/id = 1 +popup/item_2/text = "1280x720" +popup/item_2/id = 2 +popup/item_3/text = "640x360" +popup/item_3/id = 3 + +[node name="Res" type="Label" parent="Resolution"] +offset_left = -64.0 +offset_top = -1.0 +offset_right = -8.0 +offset_bottom = 23.0 +text = "Resolution" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Fullscreen" type="CheckButton" parent="."] +offset_left = 88.0 +offset_top = 155.0 +offset_right = 132.0 +offset_bottom = 179.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="fscreen" type="Label" parent="."] +offset_left = 24.0 +offset_top = 155.0 +offset_right = 80.0 +offset_bottom = 179.0 +text = "Fullscreen +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] +[connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] +[connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] diff --git a/scenes/optA05F.tmp b/scenes/optA05F.tmp new file mode 100755 index 0000000..e05a29c --- /dev/null +++ b/scenes/optA05F.tmp @@ -0,0 +1,226 @@ +[gd_scene load_steps=36 format=3 uid="uid://b48bk4r45bdxk"] + +[ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_ftbx8"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] +[ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] +[ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="7_kwm08"] +[ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] +[ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] +[ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] +[ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] +[ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] +[ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] +[ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] +[ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] +[ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] +texture = ExtResource("8_3cmui") +texture_margin_top = 16.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6vef0"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rgp8m"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b7f3"] +bg_color = Color(1, 1, 1, 0.298039) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmdy2"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtdn"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mr0ir"] +texture = ExtResource("17_qdb7h") + +[sub_resource type="Theme" id="Theme_k2s72"] +default_font = ExtResource("6_1cuh6") +default_font_size = 12 +PopupMenu/icons/radio_checked = ExtResource("15_fck8p") +PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") +PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_6vef0") +PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_rgp8m") +PopupMenu/styles/hover = SubResource("StyleBoxFlat_0b7f3") +PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_kmdy2") +PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_bqtdn") +PopupMenu/styles/panel = SubResource("StyleBoxTexture_mr0ir") +PopupMenu/styles/separator = null + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] +texture = ExtResource("15_v883t") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] +texture = ExtResource("15_8sjp5") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] +texture = ExtResource("15_v883t") + +[node name="Options Menu" 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_6deg7") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +scale = Vector2(1.025, 1.04444) +texture = ExtResource("2_ftbx8") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(101.5, 184) +scale = Vector2(1.87, 1.06944) +texture = ExtResource("3_ih0b6") + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 16.0 +offset_top = 8.0 +offset_right = 154.0 +offset_bottom = 41.0 +texture_normal = ExtResource("3_1hutp") +texture_pressed = ExtResource("4_u3ms3") +texture_hover = ExtResource("5_2d15i") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Bck" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = ExtResource("7_kwm08") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Volume" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 80.0 +offset_right = 182.0 +offset_bottom = 105.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 100.0 + +[node name="Vol" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 80.0 +offset_right = 62.0 +offset_bottom = 104.0 +text = "Volume +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Mute" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 82.0 +offset_top = 107.0 +offset_right = 126.0 +offset_bottom = 131.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="Mt" type="Label" parent="Mute"] +layout_mode = 0 +offset_left = -58.0 +offset_right = -26.0 +offset_bottom = 24.0 +text = "Mute" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Resolution" type="OptionButton" parent="."] +layout_mode = 0 +offset_left = 88.0 +offset_top = 132.0 +offset_right = 168.0 +offset_bottom = 156.0 +theme = SubResource("Theme_k2s72") +theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") +theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") +theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") +theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") +theme_override_icons/arrow = ExtResource("15_qecsk") +alignment = 1 +selected = 2 +item_count = 4 +popup/item_0/text = "1920x1080" +popup/item_1/text = "1600x900" +popup/item_1/id = 1 +popup/item_2/text = "1280x720" +popup/item_2/id = 2 +popup/item_3/text = "640x360" +popup/item_3/id = 3 + +[node name="Res" type="Label" parent="Resolution"] +offset_left = -64.0 +offset_top = -1.0 +offset_right = -8.0 +offset_bottom = 23.0 +text = "Resolution" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Fullscreen" type="CheckButton" parent="."] +offset_left = 88.0 +offset_top = 155.0 +offset_right = 132.0 +offset_bottom = 179.0 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="fscreen" type="Label" parent="."] +offset_left = 24.0 +offset_top = 155.0 +offset_right = 80.0 +offset_bottom = 179.0 +text = "Fullscreen +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] +[connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] +[connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] diff --git a/scenes/options_menu.tscn b/scenes/options_menu.tscn new file mode 100644 index 0000000..f152f3d --- /dev/null +++ b/scenes/options_menu.tscn @@ -0,0 +1,298 @@ +[gd_scene load_steps=34 format=3 uid="uid://b48bk4r45bdxk"] + +[ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] +[ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] +[ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] +[ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] +[ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] +[ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] +[ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] +[ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] +[ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] +[ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] +[ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] +[ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] +texture = ExtResource("8_3cmui") +texture_margin_top = 16.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nd3lo"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_w861x"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pmwpo"] +bg_color = Color(1, 1, 1, 0.298039) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mk78q"] +draw_center = false + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2l0l5"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_wor86"] +texture = ExtResource("17_qdb7h") + +[sub_resource type="Theme" id="Theme_k2s72"] +default_font = ExtResource("6_1cuh6") +default_font_size = 12 +PopupMenu/icons/radio_checked = ExtResource("15_fck8p") +PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") +PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_nd3lo") +PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_w861x") +PopupMenu/styles/hover = SubResource("StyleBoxFlat_pmwpo") +PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_mk78q") +PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_2l0l5") +PopupMenu/styles/panel = SubResource("StyleBoxTexture_wor86") +PopupMenu/styles/separator = null + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] +draw_center = false + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] +texture = ExtResource("15_v883t") +texture_margin_left = 6.0 + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] +texture = ExtResource("15_8sjp5") +texture_margin_left = 6.0 + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] +texture = ExtResource("15_v883t") +texture_margin_left = 6.0 + +[node name="Options Menu" type="Control"] +process_mode = 3 +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_6deg7") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(156, 180.499) +scale = Vector2(2.16, 1.06944) +texture = ExtResource("3_ih0b6") + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 2 +offset_left = 56.0 +offset_top = 8.49921 +offset_right = 194.0 +offset_bottom = 41.4992 +texture_normal = ExtResource("3_1hutp") +texture_pressed = ExtResource("4_u3ms3") +texture_hover = ExtResource("5_2d15i") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Bck" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = ExtResource("15_7ia0x") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Volume" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 128.0 +offset_top = 80.4992 +offset_right = 222.0 +offset_bottom = 105.499 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 20.0 + +[node name="Vol" type="Label" parent="Volume"] +layout_mode = 0 +offset_left = -64.0 +offset_right = -26.0 +offset_bottom = 23.9998 +text = "Master" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="vol_percentage" type="Label" parent="Volume"] +layout_mode = 0 +offset_left = 104.0 +offset_top = -0.499199 +offset_right = 144.0 +offset_bottom = 23.5008 +text = "50%" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Music" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 128.0 +offset_top = 104.0 +offset_right = 222.0 +offset_bottom = 129.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 20.0 + +[node name="Mus_vol" type="Label" parent="Music"] +layout_mode = 0 +offset_left = -64.0 +offset_right = -26.0 +offset_bottom = 23.9998 +text = "Music" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="music_percentage" type="Label" parent="Music"] +layout_mode = 0 +offset_left = 104.0 +offset_right = 144.0 +offset_bottom = 24.0 +text = "50%" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="SFX_vol" type="HSlider" parent="."] +layout_mode = 0 +offset_left = 128.0 +offset_top = 128.0 +offset_right = 222.0 +offset_bottom = 153.0 +theme_override_icons/grabber = ExtResource("6_3006i") +theme_override_icons/grabber_highlight = ExtResource("7_1kary") +theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") +theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") +theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") +value = 20.0 + +[node name="SFX_vol" type="Label" parent="SFX_vol"] +layout_mode = 0 +offset_left = -64.0 +offset_right = -26.0 +offset_bottom = 23.9998 +text = "SFX" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="sfx_percentage" type="Label" parent="SFX_vol"] +layout_mode = 0 +offset_left = 104.0 +offset_top = -0.499199 +offset_right = 144.0 +offset_bottom = 23.5008 +text = "50%" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Mute" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 122.0 +offset_top = 151.499 +offset_right = 166.0 +offset_bottom = 175.499 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="Mt" type="Label" parent="Mute"] +layout_mode = 0 +offset_left = -58.0 +offset_right = -26.0 +offset_bottom = 24.0 +text = "Mute" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Resolution" type="OptionButton" parent="."] +layout_mode = 0 +offset_left = 128.0 +offset_top = 176.499 +offset_right = 208.0 +offset_bottom = 200.499 +theme = SubResource("Theme_k2s72") +theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) +theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") +theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") +theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") +theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") +theme_override_icons/arrow = ExtResource("15_qecsk") +alignment = 1 +selected = 2 +item_count = 4 +popup/item_0/text = "1920x1080" +popup/item_1/text = "1600x900" +popup/item_1/id = 1 +popup/item_2/text = "1280x720" +popup/item_2/id = 2 +popup/item_3/text = "640x360" +popup/item_3/id = 3 + +[node name="Res" type="Label" parent="Resolution"] +layout_mode = 0 +offset_left = -64.0 +offset_top = -1.0 +offset_right = -8.0 +offset_bottom = 23.0 +text = "Resolution" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[node name="Fullscreen" type="CheckButton" parent="."] +layout_mode = 0 +offset_left = 128.0 +offset_top = 199.499 +offset_right = 172.0 +offset_bottom = 223.499 +theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") +theme_override_icons/checked = ExtResource("10_kx3br") +theme_override_icons/unchecked = ExtResource("11_ws4y6") + +[node name="fscreen" type="Label" parent="Fullscreen"] +layout_mode = 0 +offset_left = -64.0 +offset_right = -8.0 +offset_bottom = 24.0 +text = "Fullscreen +" +label_settings = ExtResource("15_7ia0x") +vertical_alignment = 1 + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] +[connection signal="value_changed" from="Music" to="." method="_on_music_value_changed"] +[connection signal="value_changed" from="SFX_vol" to="." method="_on_sfx_vol_value_changed"] +[connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] +[connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] +[connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"] diff --git a/scenes/pause_menu.tscn b/scenes/pause_menu.tscn new file mode 100644 index 0000000..2d69c6f --- /dev/null +++ b/scenes/pause_menu.tscn @@ -0,0 +1,145 @@ +[gd_scene load_steps=10 format=3 uid="uid://n57lpheiw46o"] + +[ext_resource type="Script" path="res://scripts/pause_menu.gd" id="1_gc3x0"] +[ext_resource type="Texture2D" uid="uid://crisuyqwsl4hh" path="res://assets/sprites/option_bg.png" id="2_2q27u"] +[ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_gkg4m"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="4_ua15r"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="5_idb2h"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="6_4kymy"] +[ext_resource type="PackedScene" uid="uid://b48bk4r45bdxk" path="res://scenes/options_menu.tscn" id="8_i775h"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="8_qqgpl"] +[ext_resource type="Texture2D" uid="uid://bqluqxxg57jj" path="res://assets/sprites/logo_text.png" id="9_aflw5"] + +[node name="Pause menu" type="Control"] +process_mode = 3 +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_gc3x0") + +[node name="game_dim" type="Sprite2D" parent="."] +modulate = Color(1, 1, 1, 0.584314) +position = Vector2(318.25, 179.5) +scale = Vector2(21.45, 18.05) +texture = ExtResource("2_2q27u") + +[node name="options_background" type="Sprite2D" parent="."] +position = Vector2(124, 180.499) +scale = Vector2(1.52, 1.06944) +texture = ExtResource("3_gkg4m") + +[node name="LogoText" type="Sprite2D" parent="."] +position = Vector2(124, 80) +scale = Vector2(0.311247, 0.325921) +texture = ExtResource("9_aflw5") + +[node name="Resume" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 56.0 +offset_top = 144.0 +offset_right = 194.0 +offset_bottom = 177.0 +texture_normal = ExtResource("4_ua15r") +texture_pressed = ExtResource("5_idb2h") +texture_hover = ExtResource("6_4kymy") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Rsm" type="Label" parent="Resume"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Resume" +label_settings = ExtResource("8_qqgpl") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Options" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 56.0 +offset_top = 184.0 +offset_right = 194.0 +offset_bottom = 217.0 +texture_normal = ExtResource("4_ua15r") +texture_pressed = ExtResource("5_idb2h") +texture_hover = ExtResource("6_4kymy") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Opts" type="Label" parent="Options"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Options +" +label_settings = ExtResource("8_qqgpl") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Exit to Levels Map" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 56.0 +offset_top = 224.0 +offset_right = 194.0 +offset_bottom = 257.0 +texture_normal = ExtResource("4_ua15r") +texture_pressed = ExtResource("5_idb2h") +texture_hover = ExtResource("6_4kymy") +ignore_texture_size = true +stretch_mode = 0 + +[node name="ext1" type="Label" parent="Exit to Levels Map"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Exit to World Map" +label_settings = ExtResource("8_qqgpl") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Exit to Main Menu" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 56.0 +offset_top = 264.0 +offset_right = 194.0 +offset_bottom = 297.0 +texture_normal = ExtResource("4_ua15r") +texture_pressed = ExtResource("5_idb2h") +texture_hover = ExtResource("6_4kymy") +ignore_texture_size = true +stretch_mode = 0 + +[node name="ext2" type="Label" parent="Exit to Main Menu"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Exit to Main menu" +label_settings = ExtResource("8_qqgpl") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Options Menu" parent="." instance=ExtResource("8_i775h")] +visible = false +layout_mode = 1 + +[connection signal="pressed" from="Resume" to="." method="_on_resume_pressed"] +[connection signal="pressed" from="Resume" to="." method="_on_back_pressed"] +[connection signal="pressed" from="Options" to="." method="_on_options_pressed"] +[connection signal="pressed" from="Options" to="." method="_on_back_pressed"] +[connection signal="pressed" from="Exit to Levels Map" to="." method="_on_exit_to_levels_map_pressed"] +[connection signal="pressed" from="Exit to Levels Map" to="." method="_on_resume_pressed"] +[connection signal="pressed" from="Exit to Levels Map" to="." method="_on_back_pressed"] +[connection signal="pressed" from="Exit to Main Menu" to="." method="_on_resume_pressed"] +[connection signal="pressed" from="Exit to Main Menu" to="." method="_on_exit_to_main_menu_pressed"] +[connection signal="pressed" from="Exit to Main Menu" to="." method="_on_back_pressed"] diff --git a/scenes/player.tscn b/scenes/player.tscn new file mode 100755 index 0000000..54a19ac --- /dev/null +++ b/scenes/player.tscn @@ -0,0 +1,90 @@ +[gd_scene load_steps=12 format=3 uid="uid://bka2dar6fugaw"] + +[ext_resource type="Texture2D" uid="uid://bwm7ukd2mf4pw" path="res://assets/sprites/character.png" id="1_04s5f"] +[ext_resource type="Script" path="res://scripts/player.gd" id="1_8og1l"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_c7tji"] +atlas = ExtResource("1_04s5f") +region = Rect2(12, 4, 20, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_crmtc"] +atlas = ExtResource("1_04s5f") +region = Rect2(52, 4, 20, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_imd7e"] +atlas = ExtResource("1_04s5f") +region = Rect2(32, 60, 20, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_4kk6i"] +atlas = ExtResource("1_04s5f") +region = Rect2(12, 32, 20, 14) + +[sub_resource type="AtlasTexture" id="AtlasTexture_j0txb"] +atlas = ExtResource("1_04s5f") +region = Rect2(52, 32, 20, 14) + +[sub_resource type="SpriteFrames" id="SpriteFrames_nsy4c"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_c7tji") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_crmtc") +}], +"loop": true, +"name": &"idle", +"speed": 1.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_imd7e") +}], +"loop": true, +"name": &"jump", +"speed": 1.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_4kk6i") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_j0txb") +}], +"loop": true, +"name": &"run", +"speed": 4.0 +}] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_5qhjd"] +size = Vector2(15, 11) + +[sub_resource type="Gradient" id="Gradient_a33b2"] +offsets = PackedFloat32Array(0.113744, 0.379147, 0.687204) +colors = PackedColorArray(1, 1, 1, 1, 0.31802, 0.31802, 0.31802, 1, 0, 0, 0, 1) + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_vsfg3"] +gradient = SubResource("Gradient_a33b2") +fill = 1 +fill_from = Vector2(0.5, 0.5) + +[node name="Player" type="CharacterBody2D"] +z_index = 9 +collision_layer = 2 +script = ExtResource("1_8og1l") + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] +position = Vector2(2, -6) +scale = Vector2(0.8, 0.8125) +sprite_frames = SubResource("SpriteFrames_nsy4c") +animation = &"run" +autoplay = "idle" + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2(1.5, -5.5) +shape = SubResource("RectangleShape2D_5qhjd") + +[node name="PointLight2D" type="PointLight2D" parent="."] +color = Color(0.564706, 0.337255, 0.627451, 1) +energy = 1.1 +texture = SubResource("GradientTexture2D_vsfg3") diff --git a/scenes/test_sound.tscn b/scenes/test_sound.tscn new file mode 100644 index 0000000..34ff66a --- /dev/null +++ b/scenes/test_sound.tscn @@ -0,0 +1,10 @@ +[gd_scene load_steps=2 format=3 uid="uid://bm80u6rqrkiig"] + +[ext_resource type="AudioStream" uid="uid://cknl23pewxuva" path="res://scenes/lofi1.mp3" id="1_fil1c"] + +[node name="TestSound" type="Node2D"] + +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = ExtResource("1_fil1c") +autoplay = true +bus = &"Music" diff --git a/scenes/world1_map.tscn b/scenes/world1_map.tscn new file mode 100644 index 0000000..2e94958 --- /dev/null +++ b/scenes/world1_map.tscn @@ -0,0 +1,98 @@ +[gd_scene load_steps=12 format=3 uid="uid://bbolxp0x0vebg"] + +[ext_resource type="Script" path="res://scripts/world_1_map.gd" id="1_jm3fc"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_1dxjp"] +[ext_resource type="Texture2D" uid="uid://dad7dkue6gyiv" path="res://assets/sprites/world1.png" id="3_lgu5o"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="4_aiv4b"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="4_nrg2y"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="5_xx086"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="6_mitqt"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="7_7o6da"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="9_pddn2"] +[ext_resource type="Texture2D" uid="uid://tncraim5yyhl" path="res://assets/sprites/buttons/arrow_side.png" id="10_ktsot"] + +[sub_resource type="LabelSettings" id="LabelSettings_ofavl"] +font = ExtResource("7_7o6da") +font_size = 12 +font_color = Color(0.560784, 0.337255, 0.623529, 1) + +[node name="mapWorld1" 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_jm3fc") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +texture = ExtResource("2_1dxjp") + +[node name="World 1" type="Label" parent="."] +layout_mode = 0 +offset_left = 256.0 +offset_top = 64.0 +offset_right = 385.0 +offset_bottom = 118.0 +text = "World 1" +label_settings = ExtResource("9_pddn2") +horizontal_alignment = 1 + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +layout_mode = 2 +offset_left = 192.0 +offset_top = 128.0 +offset_right = 448.0 +offset_bottom = 332.0 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"] +layout_mode = 2 + +[node name="level1-1" type="TextureButton" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +texture_normal = ExtResource("3_lgu5o") +stretch_mode = 0 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +text = "Level 1" +label_settings = ExtResource("4_nrg2y") +horizontal_alignment = 1 + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 8.0 +offset_top = 8.0 +offset_right = 146.0 +offset_bottom = 41.0 +texture_normal = ExtResource("4_aiv4b") +texture_pressed = ExtResource("5_xx086") +texture_hover = ExtResource("6_mitqt") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Back" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = SubResource("LabelSettings_ofavl") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="worldNext" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 456.0 +offset_top = 72.0 +offset_right = 504.0 +offset_bottom = 120.0 +texture_normal = ExtResource("10_ktsot") +stretch_mode = 0 +flip_h = true + +[connection signal="pressed" from="HBoxContainer/VBoxContainer/level1-1" to="." method="_on_level_11_pressed"] +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="pressed" from="worldNext" to="." method="_on_world_next_pressed"] diff --git a/scenes/world2_map.tscn b/scenes/world2_map.tscn new file mode 100644 index 0000000..fee2f50 --- /dev/null +++ b/scenes/world2_map.tscn @@ -0,0 +1,109 @@ +[gd_scene load_steps=12 format=3 uid="uid://b6pc3toiko4ix"] + +[ext_resource type="Script" path="res://scripts/world_2_map.gd" id="1_0bpgx"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_b470e"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="3_xm0ni"] +[ext_resource type="Texture2D" uid="uid://dad7dkue6gyiv" path="res://assets/sprites/world1.png" id="4_0glwi"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="5_xsi67"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="6_0t6gg"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="7_ljcgl"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="8_v3ual"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="9_qmybo"] +[ext_resource type="Texture2D" uid="uid://tncraim5yyhl" path="res://assets/sprites/buttons/arrow_side.png" id="10_ibaoc"] + +[sub_resource type="LabelSettings" id="LabelSettings_ofavl"] +font = ExtResource("9_qmybo") +font_size = 12 +font_color = Color(0.560784, 0.337255, 0.623529, 1) + +[node name="mapWorld2" 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_0bpgx") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +texture = ExtResource("2_b470e") + +[node name="World 1" type="Label" parent="."] +layout_mode = 0 +offset_left = 200.0 +offset_top = 64.0 +offset_right = 437.0 +offset_bottom = 118.0 +text = "Coming soon..." +label_settings = ExtResource("3_xm0ni") +horizontal_alignment = 1 + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +visible = false +layout_mode = 2 +offset_left = 192.0 +offset_top = 128.0 +offset_right = 448.0 +offset_bottom = 332.0 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"] +layout_mode = 2 + +[node name="level1-1" type="TextureButton" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +texture_normal = ExtResource("4_0glwi") +stretch_mode = 0 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +text = "Level 1" +label_settings = ExtResource("5_xsi67") +horizontal_alignment = 1 + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 8.0 +offset_top = 8.0 +offset_right = 146.0 +offset_bottom = 41.0 +texture_normal = ExtResource("6_0t6gg") +texture_pressed = ExtResource("7_ljcgl") +texture_hover = ExtResource("8_v3ual") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Back" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = SubResource("LabelSettings_ofavl") +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="worldPrevious" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 136.0 +offset_top = 72.0 +offset_right = 184.0 +offset_bottom = 120.0 +texture_normal = ExtResource("10_ibaoc") +stretch_mode = 0 + +[node name="worldNext" type="TextureButton" parent="."] +visible = false +layout_mode = 0 +offset_left = 456.0 +offset_top = 72.0 +offset_right = 504.0 +offset_bottom = 120.0 +texture_normal = ExtResource("10_ibaoc") +stretch_mode = 0 +flip_h = true + +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] +[connection signal="pressed" from="worldPrevious" to="." method="_on_world_previous_pressed"] +[connection signal="pressed" from="worldNext" to="." method="_on_world_next_pressed"] diff --git a/scenes/world_map.tscn b/scenes/world_map.tscn new file mode 100644 index 0000000..24db774 --- /dev/null +++ b/scenes/world_map.tscn @@ -0,0 +1,86 @@ +[gd_scene load_steps=11 format=3 uid="uid://bad3nmlv2m7ig"] + +[ext_resource type="Script" path="res://scripts/world_map.gd" id="1_vaj7y"] +[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_p0e6e"] +[ext_resource type="Texture2D" uid="uid://dad7dkue6gyiv" path="res://assets/sprites/world1.png" id="3_ngfgm"] +[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="3_x7ldi"] +[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="4_dx5fl"] +[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="5_nfan6"] +[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="6_eouwa"] +[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="7_bomdv"] +[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="8_fmp8h"] + +[sub_resource type="LabelSettings" id="LabelSettings_ofavl"] +font = ExtResource("8_fmp8h") +font_size = 12 +font_color = Color(0.560784, 0.337255, 0.623529, 1) + +[node name="worldMap" 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_vaj7y") + +[node name="background" type="Sprite2D" parent="."] +position = Vector2(320, 180) +texture = ExtResource("2_p0e6e") + +[node name="World 1" type="Label" parent="."] +layout_mode = 2 +offset_left = 192.0 +offset_top = 64.0 +offset_right = 448.0 +offset_bottom = 118.0 +text = "Select world" +label_settings = ExtResource("3_x7ldi") +horizontal_alignment = 1 + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +layout_mode = 2 +offset_left = 192.0 +offset_top = 128.0 +offset_right = 448.0 +offset_bottom = 332.0 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"] +layout_mode = 2 + +[node name="world1" type="TextureButton" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +texture_normal = ExtResource("3_ngfgm") +stretch_mode = 0 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +text = "World 1" +label_settings = ExtResource("4_dx5fl") +horizontal_alignment = 1 + +[node name="Back" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 8.0 +offset_top = 8.0 +offset_right = 146.0 +offset_bottom = 41.0 +texture_normal = ExtResource("5_nfan6") +texture_pressed = ExtResource("6_eouwa") +texture_hover = ExtResource("7_bomdv") +ignore_texture_size = true +stretch_mode = 0 + +[node name="Back" type="Label" parent="Back"] +layout_mode = 0 +offset_left = 1.0 +offset_top = 1.0 +offset_right = 137.0 +offset_bottom = 32.0 +text = "Back" +label_settings = SubResource("LabelSettings_ofavl") +horizontal_alignment = 1 +vertical_alignment = 1 + +[connection signal="pressed" from="HBoxContainer/VBoxContainer/world1" to="." method="_on_world_1_pressed"] +[connection signal="pressed" from="Back" to="." method="_on_back_pressed"] diff --git a/scripts/abillity_orb.gd b/scripts/abillity_orb.gd new file mode 100644 index 0000000..24c04ef --- /dev/null +++ b/scripts/abillity_orb.gd @@ -0,0 +1,21 @@ +extends Sprite2D +@onready var abillity_card_choose_menu: Control = $GUI/abillityCardChooseMenu + +var float_speed = 2.0 +var float_height = 1.4 +var start_y = 0.0 +var time_passed = 0.0 + +func _ready(): + start_y = global_position.y # Store initial position + +func _process(delta): + time_passed += delta * float_speed # Increase time + global_position.y = start_y + sin(time_passed) * float_height # Apply sine wave + +func _on_area_2d_body_entered(body: Node2D) -> void: + print("Body entered the orb") + if abillity_card_choose_menu: + abillity_card_choose_menu.visible = true + queue_free() + diff --git a/scripts/killzone.gd b/scripts/killzone.gd new file mode 100755 index 0000000..f999909 --- /dev/null +++ b/scripts/killzone.gd @@ -0,0 +1,13 @@ +extends Area2D +@onready var timer: Timer = $Timer + +func _on_body_entered(body) -> void: + print("You died!") + Engine.time_scale = 0.7 + body.get_node("CollisionShape2D").queue_free() + body.velocity.y = -2000.0 + timer.start() + +func _on_timer_timeout() -> void: + Engine.time_scale = 1.0 + get_tree().reload_current_scene() diff --git a/scripts/main_menu.gd b/scripts/main_menu.gd new file mode 100644 index 0000000..03c59af --- /dev/null +++ b/scripts/main_menu.gd @@ -0,0 +1,14 @@ +extends Control +@onready var options_menu: Control = $"." + +func _on_play_pressed() -> void: + get_tree().change_scene_to_file("res://scenes/world_map.tscn") + + +func _on_options_pressed() -> void: + get_node("Options Menu").visible = true + + + +func _on_exit_pressed() -> void: + get_tree().quit() diff --git a/scripts/options_menu.gd b/scripts/options_menu.gd new file mode 100644 index 0000000..29f5cad --- /dev/null +++ b/scripts/options_menu.gd @@ -0,0 +1,80 @@ +extends Control +@onready var options_menu: Control = $"." + +@onready var volume_slider: HSlider = $Volume +@onready var music: HSlider = $Music +@onready var sfx_vol: HSlider = $SFX_vol +@onready var mute_checkbox: CheckButton = $Mute +@onready var resolution_dropdown: OptionButton = $Resolution +@onready var fullscreen_checkbox: CheckButton = $Fullscreen +@onready var vol_percentage: Label = $Volume/vol_percentage +@onready var music_percentage: Label = $Music/music_percentage +@onready var sfx_percentage: Label = $SFX_vol/sfx_percentage + + +func _ready() -> void: + # Update the UI with the loaded settings when the options menu is ready + update_ui() + +func update_ui() -> void: + # Update UI elements to match the loaded settings + if Save.game_data.has("volume"): + volume_slider.value = Save.game_data["volume"] + if Save.game_data.has("music"): + music.value = Save.game_data["music"] + if Save.game_data.has("sfx"): + sfx_vol.value = Save.game_data["sfx"] + if Save.game_data.has("mute"): + mute_checkbox.button_pressed = Save.game_data["mute"] + if Save.game_data.has("resolution"): + resolution_dropdown.selected = Save.game_data["resolution"] + if Save.game_data.has("fullscreen"): + fullscreen_checkbox.button_pressed = Save.game_data["fullscreen"] + +func _on_back_pressed() -> void: + options_menu.visible = false + +func _on_volume_value_changed(value: float) -> void: + GlobalSettings.volume_value_changed(value) + Save.game_data["volume"] = value # Update the save data + Save.save_data() # Save the updated data + update_volume_percentage_label(value) + +func update_volume_percentage_label(slider_value: float) -> void: + var percentage = int(slider_value) + vol_percentage.text = str(percentage) + "%" + +func _on_music_value_changed(value: float) -> void: + GlobalSettings.music_value_changed(value) + Save.game_data["music"] = value # Update the save data + Save.save_data() # Save the updated data + update_music_percentage_label(value) + +func update_music_percentage_label(slider_value: float) -> void: + var percentage = int(slider_value) + music_percentage.text = str(percentage) + "%" + +func _on_sfx_vol_value_changed(value: float) -> void: + GlobalSettings.sfx_value_changed(value) + Save.game_data["sfx"] = value # Update the save data + Save.save_data() # Save the updated data + update_sfx_percentage_label(value) + +func update_sfx_percentage_label(slider_value: float) -> void: + var percentage = int(slider_value) + sfx_percentage.text = str(percentage) + "%" + +func _on_mute_toggled(toggled_on: bool) -> void: + GlobalSettings.mute_toggled(toggled_on) + Save.game_data["mute"] = toggled_on # Update the save data + Save.save_data() # Save the updated data + +func _on_resolution_item_selected(index: int) -> void: + GlobalSettings.resolution_item_selected(index) + Save.game_data["resolution"] = index # Update the save data + Save.save_data() # Save the updated data + +func _on_fullscreen_toggled(toggled_on: bool) -> void: + GlobalSettings.toggle_fullscreen(toggled_on) + Save.game_data["fullscreen"] = toggled_on # Update the save data + Save.save_data() # Save the updated data diff --git a/scripts/pause_menu.gd b/scripts/pause_menu.gd new file mode 100644 index 0000000..e7f5e8d --- /dev/null +++ b/scripts/pause_menu.gd @@ -0,0 +1,24 @@ +extends Control +@onready var pause_menu: Control = $"." +@onready var options_menu: Control = $"Options Menu" + +func _ready() -> void: + options_menu.visible = false + +func _on_resume_pressed() -> void: + pause_menu.visible = false + get_tree().paused = false + +func _on_options_pressed() -> void: + get_tree().paused = true + options_menu.visible = true + pause_menu.visible = true + options_menu.update_ui() + +func _on_exit_to_levels_map_pressed() -> void: + get_tree().paused = false + get_tree().call_deferred("change_scene_to_file", "res://scenes/world_map.tscn") + +func _on_exit_to_main_menu_pressed() -> void: + get_tree().paused = false + get_tree().call_deferred("change_scene_to_file", "res://scenes/main_menu.tscn") diff --git a/scripts/player.gd b/scripts/player.gd new file mode 100644 index 0000000..ebfd179 --- /dev/null +++ b/scripts/player.gd @@ -0,0 +1,54 @@ +extends CharacterBody2D + + +const SPEED = 80.0 +const JUMP_VELOCITY = -200.0 +var doubleJumpActive = true +var hasDoubleJumped = false + + + +@onready var animated_sprite_2d: AnimatedSprite2D = $AnimatedSprite2D + +func _physics_process(delta: float) -> void: + if not is_on_floor(): + velocity += get_gravity() * delta + else: + hasDoubleJumped = false + + # Handle jump. + if Input.is_action_just_pressed("jump"): + if is_on_floor(): + velocity.y = JUMP_VELOCITY + elif doubleJumpActive and not hasDoubleJumped: + velocity.y = JUMP_VELOCITY + hasDoubleJumped = true + + # Get input direction: -1, 0, 1 + var direction := Input.get_axis("move_left", "move_right") + + # Flip the sprite + if direction > 0: + animated_sprite_2d.flip_h = false + elif direction < 0: + animated_sprite_2d.flip_h = true + + # Play animation + if is_on_floor(): + if direction == 0: + animated_sprite_2d.play("idle") + else: + animated_sprite_2d.play("run") + else: + animated_sprite_2d.play("jump") + + # Move + if direction: + velocity.x = direction * SPEED + else: + velocity.x = move_toward(velocity.x, 0, SPEED) + + + move_and_slide() + + diff --git a/scripts/rat.gd b/scripts/rat.gd new file mode 100755 index 0000000..d58d22a --- /dev/null +++ b/scripts/rat.gd @@ -0,0 +1,17 @@ +extends Node2D + +const speed = 60 +var direction = -1 + +@onready var ray_cast_right: RayCast2D = $RayCastRight +@onready var ray_cast_left: RayCast2D = $RayCastLeft +@onready var animated_sprite_2d: AnimatedSprite2D = $AnimatedSprite2D + +func _process(delta: float) -> void: + if ray_cast_right.is_colliding(): + animated_sprite_2d.flip_h = false + direction = -1 + if ray_cast_left.is_colliding(): + animated_sprite_2d.flip_h = true + direction = 1 + position.x += direction * speed * delta diff --git a/scripts/world_1_map.gd b/scripts/world_1_map.gd new file mode 100644 index 0000000..075c7db --- /dev/null +++ b/scripts/world_1_map.gd @@ -0,0 +1,10 @@ +extends Control + +func _on_back_pressed() -> void: + get_tree().change_scene_to_file("res://scenes/world_map.tscn") + +func _on_level_11_pressed() -> void: + get_tree().change_scene_to_file("res://scenes/levels/1-1.tscn") + +func _on_world_next_pressed() -> void: + get_tree().change_scene_to_file("res://scenes/world2_map.tscn") diff --git a/scripts/world_2_map.gd b/scripts/world_2_map.gd new file mode 100644 index 0000000..be9c425 --- /dev/null +++ b/scripts/world_2_map.gd @@ -0,0 +1,10 @@ +extends Control + +func _on_back_pressed() -> void: + get_tree().change_scene_to_file("res://scenes/world_map.tscn") + +func _on_world_previous_pressed() -> void: + get_tree().change_scene_to_file("res://scenes/world1_map.tscn") + +func _on_world_next_pressed() -> void: + pass diff --git a/scripts/world_map.gd b/scripts/world_map.gd new file mode 100644 index 0000000..29b6554 --- /dev/null +++ b/scripts/world_map.gd @@ -0,0 +1,7 @@ +extends Control + +func _on_back_pressed() -> void: + get_tree().change_scene_to_file("res://scenes/main_menu.tscn") + +func _on_world_1_pressed() -> void: + get_tree().change_scene_to_file("res://scenes/world1_map.tscn")