fixed camera script and restructured ui folder

This commit is contained in:
Luca 2024-09-27 21:31:03 +02:00
parent 877ebafc74
commit 5748d34b34
32 changed files with 781 additions and 162 deletions

View file

@ -81,9 +81,13 @@ func start_battle(enemy: Node3D, player_position: Vector3) -> void:
in_battle = true
velocity = Vector3.ZERO
animated_mesh.idle()
UI.show_battle_ui(true)
UI.show_ingame_controls(false)
await get_tree().create_timer(2.0).timeout
print("timer over")
print("Battle over")
in_battle = false
func save() -> Dictionary: