multiple updates
This commit is contained in:
1 parent
638ba31c68
commit
0eb54aac54
14 files changed
+74
-33
No files matched your search
@@ -31,7 +31,6 @@ func _physics_process(delta):
|
||||
velocity.y = JUMP_VELOCITY
|
||||
# Hand force push (melee attack)
|
||||
if Input.is_action_just_pressed("push") && pushRightEnabled && faceLeft == false:
|
||||
print("I should force push")
|
||||
pushTarget.apply_central_impulse(Vector2(1,0) * PUSH_FORCE * 10)
|
||||
pushRightEnabled = false
|
||||
if Input.is_action_just_pressed("push") && pushLeftEnabled:
|
||||
|
||||
Reference in new issue
Block a user