Added Loading Screen for 1 second to just hide the player falling after spawning in

This commit is contained in:
Willow Behar
2024-05-09 11:53:33 -05:00
parent 31b32e4108
commit b67de8d3df
3 changed files with 53 additions and 1 deletions

View File

@ -0,0 +1,10 @@
extends Control
func _init():
show()
func _ready():
$Timer.start()
func _on_timer_timeout():
hide()

View File

@ -37,6 +37,7 @@ const SPEED_SLOWED = 3.0
const SPEED_IMMOBILE = 0.0
const JUMP_VELOCITY = 4.5
#Looking Variables
var mouse_sensitivity = 0.02
var joystick_sensitity = 2
@ -142,3 +143,5 @@ func _on_coughing_recovery_timeout():
func _on_severe_coughing_recovery_timeout():
recover()