diff --git a/project/objects/player.tscn b/project/objects/player.tscn index 245ef4ba..33049c2e 100644 --- a/project/objects/player.tscn +++ b/project/objects/player.tscn @@ -5,17 +5,15 @@ [sub_resource type="GDScript" id="GDScript_eqqp1"] script/source = "extends HealthStatus -func _on_health_changed(remaining: int, delta: int) -> void: - print(\"Player Health Changed:\", delta, \"remaining:\", remaining) - func _on_death() -> void: get_tree().change_scene_to_file.call_deferred(\"res://menus/main_menu.tscn\") " [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_bxedw"] +radius = 0.4350586 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_eqqp1"] -radius = 0.3173828 +radius = 0.2866211 [node name="PlayerBody" type="PlayerBody"] @@ -51,4 +49,3 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("CapsuleShape3D_eqqp1") [connection signal="death" from="HealthStatus" to="HealthStatus" method="_on_death"] -[connection signal="health_changed" from="HealthStatus" to="HealthStatus" method="_on_health_changed"]