#my plane ina 2D shoot em up wont move no matter what

1 messages · Page 1 of 1 (latest)

woeful lotus
#

i set w a s d as keys and then followed some code in a video and no matter what my plane wont move

woeful lotus
#

extends CharacterBody2D

@export var speed = 200

func _process(delta: float) -> void:
var move = Input.get_vector("left", "right", "up", "down")
if move:
velocity = move * speed
else:
velocity = Vector2.ZERO
move_and_slide()

#

this is the players script

woeful lotus
digital dirge
woeful lotus
digital dirge
woeful lotus
digital dirge
#

Screenshot ur player scene tree

woeful lotus
#

here it is

#

so any thing wrong?

digital dirge
#

Nothing wrong in the script.

woeful lotus
#

is it a bug or a glitch or something?

digital dirge
woeful lotus
#

changed it

#

but still nothing

#

should i redo the whole thing?

digital dirge
#

Have u tried reloading the project

woeful lotus
#

ye

#

the issue has been there from yesterday

#

well nothing to loose

#

so anything that will help will work

digital dirge
woeful lotus
#

ok

woeful lotus
digital dirge
digital dirge
woeful lotus
#

THANKS FOR THE HELP

#

sry for caps