What did the five finger say to the face? SLAP!
This commit is contained in:
@@ -73,8 +73,9 @@ func _physics_process(delta):
|
||||
direction += transform.basis.x
|
||||
|
||||
# Slappening
|
||||
if Input.is_action_just_pressed("slap"):
|
||||
chargeSlap = true;
|
||||
if Input.is_action_pressed("slap"):
|
||||
if slap < 0.01:
|
||||
chargeSlap = true;
|
||||
elif Input.is_action_just_released("slap"):
|
||||
chargeSlap = false;
|
||||
isSlap = true;
|
||||
|
||||
Reference in New Issue
Block a user