new enemy work

This commit is contained in:
pennyrigate 2025-11-01 23:05:51 -04:00
parent 783fc7c877
commit 6825cd59c9
12 changed files with 241 additions and 0 deletions

View file

@ -0,0 +1,8 @@
extends Node2D
@export var speed = Vector2.ZERO
var velocity = Vector2.ZERO
func _physics_process(delta: float) -> void:
velocity = speed * delta
position += velocity