final tutorial setup and UI fix
This commit is contained in:
@@ -15,8 +15,10 @@ var active_tutorial: Control
|
||||
@onready var tuto_wall_jump: HBoxContainer = %TutoWallJump
|
||||
@onready var tuto_dash: HBoxContainer = %TutoDash
|
||||
@onready var tuto_dash_weapon: HBoxContainer = %TutoDashWeapon
|
||||
@onready var tuto_weapon_throw: HBoxContainer = %TutoWeaponThrow
|
||||
@onready var tuto_empowered_dash: HBoxContainer = %TutoEmpoweredDash
|
||||
@onready var tuto_empowered_jump: HBoxContainer = %TutoEmpoweredJump
|
||||
@onready var tuto_enjoy: HBoxContainer = %TutoEnjoy
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
@@ -55,6 +57,18 @@ func _on_tuto_done_area_body_entered(body: Node3D) -> void:
|
||||
func _on_weapon_retrieved_body_entered(body: Node3D) -> void:
|
||||
wait_to_show_blocking_tuto.start()
|
||||
|
||||
func _on_tuto_weapon_throw_body_entered(body: Node3D) -> void:
|
||||
handle_new_tutorial(tuto_weapon_throw)
|
||||
|
||||
func _on_tuto_empowered_dash_body_entered(body: Node3D) -> void:
|
||||
handle_new_tutorial(tuto_empowered_dash)
|
||||
|
||||
func _on_tuto_empowered_jump_body_entered(body: Node3D) -> void:
|
||||
handle_new_tutorial(tuto_empowered_jump)
|
||||
|
||||
func _on_tuto_enjoy_body_entered(body: Node3D) -> void:
|
||||
handle_new_tutorial(tuto_enjoy)
|
||||
|
||||
func _show_weapon_tutorial() -> void:
|
||||
if already_shown_weapon_tuto:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user