7 lines
125 B
GDScript
7 lines
125 B
GDScript
extends CharacterBody2D
|
|
|
|
func _process(_delta):
|
|
var direction = Vector2.RIGHT
|
|
velocity = direction * 100
|
|
move_and_slide()
|