Why are you adding so many if trues?
They literally don’t do anything
Do you pressed the up arrow in the keyboard to test it?
if True:
is a statement of python not GDScript.
Do it normally:
print("something")
Do not need to place it in a statement.
Is the action up
defined in your input map?
Check Project/Project Settings/Input Map
The default/built-in action is ui_up
Oh not W, press the up arrow.
Not sure what are you doing, this time press W.
Or try it normally:
func _process(delta):
print("Working!")
Working?
什么也不输出:(
Make sure you added the player properly in scene and it attached with the script. Also remove the bookmark if anything there.
Please talk in English.