added crown, tweaks with muzzle smoke

This commit is contained in:
derek
2024-11-27 16:47:25 -06:00
parent ff3155f25f
commit 211c243624
21 changed files with 1047 additions and 20 deletions

View File

@@ -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()