godot-ultimate-tutorial/scenes/enemies/drone.gd
2023-08-15 22:51:29 +02:00

7 lines
125 B
GDScript

extends CharacterBody2D
func _process(_delta):
var direction = Vector2.RIGHT
velocity = direction * 100
move_and_slide()