Wieso bewegt sich mein spieler in godot nicht?
Hallo,
Guckt euch bitte das Script und dann hilft mir.
Mfg
Wenn ich auf play drücke bewegt sich nichts.
1 Antwort
wo hast du das position1 her?
probiere es mal mit
func _process(delta):
if Input.is_action_pressed("forward"):
position.y = position.y + 1
oder löse dass gleich über "velocity"
func _process(delta):
if Input.is_action_pressed("forward"):
velocity.y = 1
move_and_slide()