Player movement and animation

This commit is contained in:
Felipe M 2021-01-29 17:09:52 +01:00
parent f456725cf2
commit 0dd3f24030
Signed by: fmartingr
GPG key ID: 716BC147715E716F
9 changed files with 700 additions and 38 deletions

View file

@ -0,0 +1,6 @@
extends Node2D
var motion = Vector2(rand_range(-20, 20), rand_range(-10, -40))
func _process(delta):
position += motion * delta