first commit

This commit is contained in:
pennyrigate 2022-12-07 02:00:47 -05:00
commit 096ebe5aa4
275 changed files with 3937 additions and 0 deletions

16
testwalk.gd Normal file
View file

@ -0,0 +1,16 @@
extends AnimatedSprite
func _physics_process(delta):
var dir = Input.get_axis("ui_left","ui_right")
position.x += dir
#Flip Sprite
if dir < 0.0:
flip_h = true
elif dir > 0.0:
flip_h = false
if dir == 0:
play("idle")
else:
play("move")