no depth test for the hand
This commit is contained in:
12
Player.gd
12
Player.gd
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user