no depth test for the hand

This commit is contained in:
Victor Turgeon
2022-10-11 15:07:07 -04:00
parent 8975fbed27
commit 104f0c5f92
3 changed files with 8 additions and 15 deletions

View File

@@ -26,17 +26,13 @@ onready var head = $Head
onready var ground_check = $GroundCheck
onready var slap_gauge = $HUD/ActualHUD/SlapGauge
onready var slap_animator = $HandMovement
func _ready():
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
slap_animator.current_animation = "basic_slap"
onready var SlapGauge = $HUD/ActualHUD/SlapGauge
onready var Menu = $HUD/Start
onready var AudioSlap = $AudioSlap
onready var AudioMegaSlap = $AudioMegaSlap
func _ready():
pass
slap_animator.current_animation = "basic_slap"
func _input(event):
if event is InputEventMouseMotion:
@@ -106,8 +102,8 @@ func _physics_process(delta):
slap_gauge.fill = slap
slap_animator.seek(slap, true)
SlapGauge.fill = slap;
SlapGauge.kill = slapkill;
slap_gauge.fill = slap;
slap_gauge.kill = slapkill;
direction = direction.normalized()