added crown, tweaks with muzzle smoke
This commit is contained in:
@@ -175,6 +175,9 @@ func _physics_process(delta):
|
||||
|
||||
speed = WALK_SPEED #the fuck is this line doing
|
||||
|
||||
if Input.is_action_just_pressed("crouch"):
|
||||
velocity.y -= JUMP_VELOCITY * 4
|
||||
|
||||
# Get the input direction and handle the movement/deceleration.
|
||||
var input_dir = Input.get_vector("move_left", "move_right", "move_up", "move_down")
|
||||
var direction = (self.transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized()
|
||||
|
||||
Reference in New Issue
Block a user