added ground pound
This commit is contained in:
@@ -12,10 +12,7 @@ func Physics_Update(delta):
|
||||
Transitioned.emit(self,"in air")
|
||||
|
||||
if Input.is_action_just_pressed("crouch"):
|
||||
if character.is_on_floor():
|
||||
Transitioned.emit(self,"crouched")
|
||||
else:
|
||||
character.velocity.y -= 25
|
||||
Transitioned.emit(self,"crouched")
|
||||
|
||||
if Input.is_action_just_pressed("jump"):
|
||||
character.jumps_remaining -= 1
|
||||
|
||||
Reference in New Issue
Block a user