Загрузка данных


extends Actor
class_name Player

func bounce() -> void:
	velocity.y = jump_strength

func die() -> void:
	queue_free()
	# Здесь можно добавить перезагрузку сцены, потерю жизни и т.д.