mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
9 lines
180 B
GDScript
9 lines
180 B
GDScript
extends Enemy
|
|
|
|
var direction_vector := Vector2.UP
|
|
|
|
const MOVE_SPEED := 70.0
|
|
|
|
func _physics_process(delta: float) -> void:
|
|
global_position += direction_vector * MOVE_SPEED * delta
|