This commit is contained in:
Fabio 2025-03-30 09:49:48 +02:00
parent ad6c87b999
commit 94e009d2a6
70 changed files with 4498 additions and 4498 deletions

View File

@ -1,34 +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={}
[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={}

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,34 +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
[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

View File

@ -1,8 +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)
[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)

View File

@ -1,8 +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)
[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)

View File

@ -1,15 +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"
[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"

View File

@ -1,4 +1,4 @@
#!/bin/sh
echo -ne '\033c\033]0;kicia game\a'
base_path="$(dirname "$(realpath "$0")")"
"$base_path/1feb2025-12-36.x86_64" "$@"
#!/bin/sh
echo -ne '\033c\033]0;kicia game\a'
base_path="$(dirname "$(realpath "$0")")"
"$base_path/1feb2025-12-36.x86_64" "$@"

View File

@ -1,104 +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}'"
[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}'"

View File

@ -1,37 +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)
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)

View File

@ -1,37 +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
[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

View File

@ -1,72 +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
; 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

164
save.gd
View File

@ -1,82 +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)
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)

View File

@ -1,30 +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")
[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")

View File

@ -1,38 +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"]
[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"]

View File

@ -1,14 +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"]
[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"]

File diff suppressed because one or more lines are too long

View File

@ -1,13 +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()
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()

View File

@ -1,19 +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
[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

View File

@ -1,111 +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"]
[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"]

View File

@ -1,226 +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"]
[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"]

View File

@ -1,226 +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"]
[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"]

View File

@ -1,226 +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"]
[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"]

View File

@ -1,226 +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"]
[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"]

View File

@ -1,226 +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"]
[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"]

View File

@ -1,226 +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"]
[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"]

View File

@ -1,226 +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"]
[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"]

View File

@ -1,298 +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"]
[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"]

View File

@ -1,145 +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"]
[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"]

View File

@ -1,90 +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")
[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")

View File

@ -1,10 +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"
[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"

View File

@ -1,98 +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"]
[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"]

View File

@ -1,109 +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"]
[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"]

View File

@ -1,86 +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"]
[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"]

View File

@ -1,21 +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()
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()

View File

@ -1,13 +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()
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()

View File

@ -1,14 +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()
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()

View File

@ -1,80 +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
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

View File

@ -1,24 +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")
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")

View File

@ -1,54 +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()
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()

View File

@ -1,17 +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
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

View File

@ -1,10 +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")
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")

View File

@ -1,10 +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
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

View File

@ -1,7 +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")
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")