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