This commit is contained in:
pennyrigate 2025-07-19 16:54:36 -04:00
commit 6a269eb236
97 changed files with 2137 additions and 0 deletions

View file

@ -0,0 +1,12 @@
extends Node2D
@export var speed = 100.0
@export var direction = 1
var grazed = false
func _physics_process(delta: float) -> void:
position.x += (speed * direction) * delta
func _on_area_2d_body_entered(body: Node2D) -> void:
if !body.is_in_group("player_hitbox"): queue_free()