Background character and enemy

This commit is contained in:
2024-10-26 11:32:56 +02:00
parent 706c85338a
commit f55a15e24e
89 changed files with 1616 additions and 0 deletions

7
scripts/playerscript.gd Normal file
View File

@ -0,0 +1,7 @@
extends CharacterBody2D
func _physics_process(delta):
var direction = Input.get_vector("move_left", "move_right", "move_up", "move_down")
velocity = direction * 200
move_and_slide()
pass