UPDATED TO GODOT 4.4!!! Added: an open source font just to have something different than Godot's default Semblance of a framework for the UI a health bar a label that shows your time in seconds. Should probably make it show minutes and seconds a menu that appears in the player's death state that shows the amount of time the player lived and their kill count. Also has a working quit button and non-working try again button. a button that instantly kills you, which is "T." Co-authored-by: ysandler <ysandler@tzed.io> Reviewed-on: #11 Reviewed-by: Yehoshua Sandler <ysandler@beitzah.net>
		
			
				
	
	
		
			14 lines
		
	
	
		
			359 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			359 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
extends Node
 | 
						|
signal playerPosition(pos)
 | 
						|
signal playerHealth(healthAmount)
 | 
						|
signal playerDeath()
 | 
						|
signal enemyKill()
 | 
						|
# 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
 |