extends Node export(int) var player_hp = 3 export(float) var GRAVITY: float = 1200 export(float) var MAX_FALL_SPEED: float = 1200 signal player_hp_changed func add_player_hp(delta: int): player_hp += delta emit_signal("player_hp_changed", player_hp) # Called when the node enters the scene tree for the first time. func _ready(): pass # Replace with function body. # Called every frame. 'delta' is the elapsed time since the previous frame. #func _process(delta): # pass