Compare commits

...

2 Commits

51 changed files with 3123 additions and 9 deletions

Binary file not shown.

View File

@ -0,0 +1,36 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://brooj0hba7650"
path="res://.godot/imported/slkscr.ttf-e2ab88759afcb36d0607690a2e6ace57.fontdata"
[deps]
source_file="res://assets/fonts/slkscr.ttf"
dest_files=["res://.godot/imported/slkscr.ttf-e2ab88759afcb36d0607690a2e6ace57.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
modulate_color_glyphs=false
hinting=1
subpixel_positioning=4
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

View File

@ -0,0 +1,36 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://cq0jx2aapggkg"
path="res://.godot/imported/slkscrb.ttf-2bf6873d9fb24dc4d6aedfb79b6dbcef.fontdata"
[deps]
source_file="res://assets/fonts/slkscrb.ttf"
dest_files=["res://.godot/imported/slkscrb.ttf-2bf6873d9fb24dc4d6aedfb79b6dbcef.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
modulate_color_glyphs=false
hinting=1
subpixel_positioning=4
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

View File

@ -0,0 +1,36 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://8v71dcws4q6o"
path="res://.godot/imported/slkscre.ttf-746d32bb32e628b940521caecaa394b4.fontdata"
[deps]
source_file="res://assets/fonts/slkscre.ttf"
dest_files=["res://.godot/imported/slkscre.ttf-746d32bb32e628b940521caecaa394b4.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
modulate_color_glyphs=false
hinting=1
subpixel_positioning=4
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

View File

@ -0,0 +1,36 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://8rga35t0gba3"
path="res://.godot/imported/slkscreb.ttf-5c726b20ebbf06f9811454d2bc50e191.fontdata"
[deps]
source_file="res://assets/fonts/slkscreb.ttf"
dest_files=["res://.godot/imported/slkscreb.ttf-5c726b20ebbf06f9811454d2bc50e191.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
modulate_color_glyphs=false
hinting=1
subpixel_positioning=4
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://2ddggeetjj1t"
path="res://.godot/imported/screenshot_game.png-e9caea71a8640b748792f21ec9e89e03.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/images/screenshot_game.png"
dest_files=["res://.godot/imported/screenshot_game.png-e9caea71a8640b748792f21ec9e89e03.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

Binary file not shown.

View File

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://tevbt3p1f7ue"
path="res://.godot/imported/8_bit_dungeon.mp3-08978af324a5dc25a34c2e80bf68e0ff.mp3str"
[deps]
source_file="res://assets/music & sfx/music/8_bit_dungeon.mp3"
dest_files=["res://.godot/imported/8_bit_dungeon.mp3-08978af324a5dc25a34c2e80bf68e0ff.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View File

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://dkwud8e6w8cne"
path="res://.godot/imported/ashveil-355633.mp3-7f583d816a489a87146b865dbf9c3e79.mp3str"
[deps]
source_file="res://assets/music & sfx/music/ashveil-355633.mp3"
dest_files=["res://.godot/imported/ashveil-355633.mp3-7f583d816a489a87146b865dbf9c3e79.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View File

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://df47mpp8jojqf"
path="res://.godot/imported/chiptune-nu-metal-216243.mp3-a6a5f24b0fa2887faefe73a72dd9dd68.mp3str"
[deps]
source_file="res://assets/music & sfx/music/chiptune-nu-metal-216243.mp3"
dest_files=["res://.godot/imported/chiptune-nu-metal-216243.mp3-a6a5f24b0fa2887faefe73a72dd9dd68.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View File

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://dphh6vqb3hy8"
path="res://.godot/imported/digital-dreamscape-193900.mp3-c52e9403dc1656a741fcc3a21a2e9021.mp3str"
[deps]
source_file="res://assets/music & sfx/music/digital-dreamscape-193900.mp3"
dest_files=["res://.godot/imported/digital-dreamscape-193900.mp3-c52e9403dc1656a741fcc3a21a2e9021.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dyd1oajlyth1l"
path="res://.godot/imported/fireball_hit.wav-361b6388d1466a2cfaf6fdbdb58463c2.sample"
[deps]
source_file="res://assets/music & sfx/sfx/fireball_hit.wav"
dest_files=["res://.godot/imported/fireball_hit.wav-361b6388d1466a2cfaf6fdbdb58463c2.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://yohax5uj566"
path="res://.godot/imported/hit.wav-68f50106aeba7a81870b09df21551565.sample"
[deps]
source_file="res://assets/music & sfx/sfx/hit.wav"
dest_files=["res://.godot/imported/hit.wav-68f50106aeba7a81870b09df21551565.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://d01afcc0uluw8"
path="res://.godot/imported/hit2.wav-09febd1a6c1c47c3da7dd4dd41e3ebf0.sample"
[deps]
source_file="res://assets/music & sfx/sfx/hit2.wav"
dest_files=["res://.godot/imported/hit2.wav-09febd1a6c1c47c3da7dd4dd41e3ebf0.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://b7lddrkrm8qy0"
path="res://.godot/imported/hit3.wav-8e99c8865a9fb0da973f06a04ac268bb.sample"
[deps]
source_file="res://assets/music & sfx/sfx/hit3.wav"
dest_files=["res://.godot/imported/hit3.wav-8e99c8865a9fb0da973f06a04ac268bb.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bhqgrgry7rwf1"
path="res://.godot/imported/levelup.wav-8cbe8d27297b36b2d44126de69c9232d.sample"
[deps]
source_file="res://assets/music & sfx/sfx/levelup.wav"
dest_files=["res://.godot/imported/levelup.wav-8cbe8d27297b36b2d44126de69c9232d.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cjdd2pfnkqvkv"
path="res://.godot/imported/levelup2.wav-96d72c6390ba89072cfbdb57e9800f5e.sample"
[deps]
source_file="res://assets/music & sfx/sfx/levelup2.wav"
dest_files=["res://.godot/imported/levelup2.wav-96d72c6390ba89072cfbdb57e9800f5e.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://eyh0fillwv0g"
path="res://.godot/imported/levelup3.wav-83d273967083589a5242307c970d9d61.sample"
[deps]
source_file="res://assets/music & sfx/sfx/levelup3.wav"
dest_files=["res://.godot/imported/levelup3.wav-83d273967083589a5242307c970d9d61.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://btdd1hy6kgtia"
path="res://.godot/imported/pickup.wav-2911a2506e67fa1f34ef8a83bea98c4d.sample"
[deps]
source_file="res://assets/music & sfx/sfx/pickup.wav"
dest_files=["res://.godot/imported/pickup.wav-2911a2506e67fa1f34ef8a83bea98c4d.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://620mgxqpjjrm"
path="res://.godot/imported/pickup2.wav-660623c74a806c3409416193fd1180e3.sample"
[deps]
source_file="res://assets/music & sfx/sfx/pickup2.wav"
dest_files=["res://.godot/imported/pickup2.wav-660623c74a806c3409416193fd1180e3.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

View File

@ -0,0 +1,15 @@
[gd_resource type="AudioBusLayout" format=3 uid="uid://5oswo22yvmtg"]
[resource]
bus/1/name = &"Music"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = -29.23591
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 = -5.625
bus/2/send = &"Master"

71
export_presets.cfg 100644
View File

@ -0,0 +1,71 @@
[preset.0]
name="Windows Desktop"
platform="Windows Desktop"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../brewing/export/gae_wild_jam.exe"
patches=PackedStringArray()
patch_delta_encoding=false
patch_delta_compression_level_zstd=19
patch_delta_min_reduction=0.1
patch_delta_include_filters="*"
patch_delta_exclude_filters=""
encryption_include_filters=""
encryption_exclude_filters=""
seed=0
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=false
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
shader_baker/enabled=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=""
application/product_name=""
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 -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries
$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}'"

22
options.gd 100644
View File

@ -0,0 +1,22 @@
extends CanvasLayer
func _ready():
$VBoxContainer/HBoxContainer/HSlider.min_value = 0.0
$VBoxContainer/HBoxContainer/HSlider.max_value = 1.0
$VBoxContainer/HBoxContainer/HSlider.step = 0.01
# Aktuellen Bus-Wert als Startwert setzen
var bus_idx = AudioServer.get_bus_index("Music")
$VBoxContainer/HBoxContainer/HSlider.value = db_to_linear(AudioServer.get_bus_volume_db(bus_idx))
func _on_back_button_pressed() -> void:
get_tree().change_scene_to_file("res://scenes/mainmenu.tscn")
func _on_check_box_toggled(toggled_on: bool) -> void:
if toggled_on:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN)
else:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_WINDOWED)
func _on_h_slider_value_changed(value: float) -> void:
var bus_idx = AudioServer.get_bus_index("Music")
AudioServer.set_bus_volume_db(bus_idx, linear_to_db(value))

1
options.gd.uid 100644
View File

@ -0,0 +1 @@
uid://d05ac7jxa8og

View File

@ -15,6 +15,14 @@ run/main_scene="uid://b3dfeupbstcs8"
config/features=PackedStringArray("4.6", "GL Compatibility")
config/icon="res://assets/icon.svg"
[audio]
buses/default_bus_layout="uid://5oswo22yvmtg"
[autoload]
MusicManager="*uid://dmu7041wi1upt"
[display]
window/size/viewport_width=1280

11
scenes/game.gd 100644
View File

@ -0,0 +1,11 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready():
MusicManager.play(preload("res://assets/music & sfx/music/ashveil-355633.mp3"))
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

View File

@ -0,0 +1 @@
uid://cphrdy0xexx30

File diff suppressed because it is too large Load Diff

View File

@ -1,31 +1,78 @@
[gd_scene format=3 uid="uid://b3dfeupbstcs8"]
[ext_resource type="Script" uid="uid://c3l4dvs4hcd5k" path="res://scripts/mainmenu.gd" id="1_5mbse"]
[ext_resource type="AudioStream" uid="uid://tevbt3p1f7ue" path="res://assets/music & sfx/music/8_bit_dungeon.mp3" id="2_natt5"]
[ext_resource type="Texture2D" uid="uid://2ddggeetjj1t" path="res://assets/images/screenshot_game.png" id="3_r3g3c"]
[ext_resource type="FontFile" uid="uid://8v71dcws4q6o" path="res://assets/fonts/slkscre.ttf" id="4_3vvtq"]
[node name="mainmenu" type="CanvasLayer" unique_id=48528055]
script = ExtResource("1_5mbse")
[node name="BackgroundSprite" type="TextureRect" parent="." unique_id=437917373]
z_index = -2
offset_left = 4.0
offset_top = 2.0
offset_right = 1277.0
offset_bottom = 718.0
texture = ExtResource("3_r3g3c")
expand_mode = 2
[node name="BackgroundRect" type="ColorRect" parent="." unique_id=189171469]
z_index = -1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.47058824)
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=829947052]
visible = false
stream = ExtResource("2_natt5")
autoplay = true
bus = &"Music"
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1844679990]
offset_left = 584.0
offset_top = 217.0
offset_right = 687.0
offset_bottom = 345.0
z_index = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -308.5
offset_top = -106.0
offset_right = 308.5
offset_bottom = 106.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 50
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer" unique_id=2039313375]
layout_mode = 2
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 64
text = "Working Title"
[node name="PlayButton" type="Button" parent="VBoxContainer" unique_id=1536378372]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
text = "Play"
[node name="OptionsButton" type="Button" parent="VBoxContainer" unique_id=1460263213]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
text = "Options"
[node name="QuitButton" type="Button" parent="VBoxContainer" unique_id=1704957427]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
text = "Quit"
[connection signal="pressed" from="VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]

View File

@ -0,0 +1,89 @@
[gd_scene format=3 uid="uid://dkjnko13aajor"]
[ext_resource type="Script" uid="uid://d05ac7jxa8og" path="res://options.gd" id="1_2iy26"]
[ext_resource type="Texture2D" uid="uid://2ddggeetjj1t" path="res://assets/images/screenshot_game.png" id="2_kv8mn"]
[ext_resource type="FontFile" uid="uid://8v71dcws4q6o" path="res://assets/fonts/slkscre.ttf" id="3_1sggn"]
[node name="options" type="CanvasLayer" unique_id=1052266028]
script = ExtResource("1_2iy26")
[node name="BackgroundSprite" type="TextureRect" parent="." unique_id=1032425303]
z_index = -2
offset_left = 4.0
offset_top = 2.0
offset_right = 1277.0
offset_bottom = 718.0
texture = ExtResource("2_kv8mn")
expand_mode = 2
[node name="BackgroundRect" type="ColorRect" parent="." unique_id=998212266]
z_index = -1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.47058824)
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=422787080]
z_index = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -308.5
offset_top = -106.0
offset_right = 308.5
offset_bottom = 106.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 50
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer" unique_id=1435679909]
layout_mode = 2
theme_override_fonts/font = ExtResource("3_1sggn")
theme_override_font_sizes/font_size = 64
text = "Options"
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=1082653827]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer" unique_id=388379542]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
theme_override_fonts/font = ExtResource("3_1sggn")
theme_override_font_sizes/font_size = 32
text = "Music Volume"
[node name="HSlider" type="HSlider" parent="VBoxContainer/HBoxContainer" unique_id=2135080977]
custom_minimum_size = Vector2(300, 30)
layout_mode = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer" unique_id=532391329]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2" unique_id=1484176872]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
theme_override_fonts/font = ExtResource("3_1sggn")
theme_override_font_sizes/font_size = 32
text = "Fullscreen"
[node name="CheckBox" type="CheckBox" parent="VBoxContainer/HBoxContainer2" unique_id=56580094]
layout_mode = 2
[node name="BackButton" type="Button" parent="VBoxContainer" unique_id=2058400072]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("3_1sggn")
theme_override_font_sizes/font_size = 32
text = "Back"
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/HSlider" to="." method="_on_h_slider_value_changed"]
[connection signal="toggled" from="VBoxContainer/HBoxContainer2/CheckBox" to="." method="_on_check_box_toggled"]
[connection signal="pressed" from="VBoxContainer/BackButton" to="." method="_on_back_button_pressed"]

View File

@ -0,0 +1,11 @@
extends Button
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

View File

@ -0,0 +1 @@
uid://10hq5bwy42mv

View File

@ -1,10 +1,13 @@
extends CanvasLayer
func _ready():
MusicManager.play(preload("res://assets/music & sfx/music/8_bit_dungeon.mp3"))
func _on_play_button_pressed() -> void:
get_tree().change_scene_to_file("res://scenes/game.tscn")
func _on_options_button_pressed() -> void:
pass # Replace with function body.
get_tree().change_scene_to_file("res://scenes/options.tscn")
func _on_quit_button_pressed() -> void:
pass # Replace with function body.
get_tree().quit()

View File

@ -0,0 +1,17 @@
extends Node
var music_player: AudioStreamPlayer
func _ready():
music_player = AudioStreamPlayer.new()
music_player.bus = "Music"
add_child(music_player)
func play(stream: AudioStream):
if music_player.stream == stream and music_player.playing:
return # läuft schon, nichts tun
music_player.stream = stream
music_player.play()
func stop():
music_player.stop()

View File

@ -0,0 +1 @@
uid://dmu7041wi1upt