From 74030dae35a83ef4bdaeb3a5fa2c4393cf54e233 Mon Sep 17 00:00:00 2001 From: Maximilian Kerbel Date: Sat, 15 Feb 2025 17:36:04 +0100 Subject: [PATCH] Fix music loop --- project.godot | 5 +++++ scenes/music.tscn | 2 +- scripts/player.gd | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/project.godot b/project.godot index c08f161..fe545ab 100644 --- a/project.godot +++ b/project.godot @@ -25,6 +25,11 @@ GlobalSettings="*res://saves/global_settings.gd" window/stretch/mode="viewport" +[editor] + +version_control/plugin_name="GitPlugin" +version_control/autoload_on_startup=true + [input] move_left={ diff --git a/scenes/music.tscn b/scenes/music.tscn index c910bf2..a6b6eea 100644 --- a/scenes/music.tscn +++ b/scenes/music.tscn @@ -6,4 +6,4 @@ stream = ExtResource("1_k2etp") autoplay = true bus = &"Music" -parameters/looping = false +parameters/looping = true diff --git a/scripts/player.gd b/scripts/player.gd index 8827035..d916a55 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -44,7 +44,6 @@ func _physics_process(delta: float) -> void: velocity.y = jump_velocity jump.play() jumpcount = 1 - health -= 20 # Doublejump reset if !Input.is_action_just_pressed("jump") and is_on_floor(): jumpcount = 0