rework bullet speed a wee bit

This commit is contained in:
Haze Weathers 2026-01-03 10:17:41 -06:00
parent ddf3590c96
commit 08763960ca
5 changed files with 16 additions and 11 deletions

View file

@ -38,6 +38,9 @@ static var _hitbox_shapes: Dictionary[Vector2i, RectangleShape2D] = {}
_hitbox_shapes[hitbox_size] = new_shape
_hitbox.shape = _hitbox_shapes[hitbox_size]
## The speed at which the bullet should travel.
@export var speed: float
## The direction that the bullet is travelling.
@export_custom(0, "direction") var direction: Vector2 = Vector2.RIGHT