This commit is contained in:
2024-05-28 11:03:13 -05:00
commit 277fb03a69
75 changed files with 5206 additions and 0 deletions

8
scripts/bullet.gd Normal file
View File

@@ -0,0 +1,8 @@
extends RigidBody2D
@export var initial_velocity = 800
@export var direction: float = 0
func _ready() -> void:
rotation = direction
linear_velocity = Vector2.from_angle(direction) * initial_velocity