Hey guys I need your help, so the little green square is supposed to be moving right why isn't he? :( #programming #gamedev #godot #godotengine
@PumpkinsLinked I don't see a script attached to any of the objects in your scene tree, so I don't think its even running.
The warning you are getting in the log isn't really important, but can sometimes catch when you meant to do more with a function than just run it.
You can turn off the warning, amongst others, in the settings.
@PumpkinsLinked Each object in your tree has a type. The one that looks like a person icon is a KinematicBody2D. That's the player object that I think you are trying to drive with your script.
You can see the node type if you hover over the name in the scene tree.
If your .gd script 'extends' KinematicBody2d, those are the only objects it could be assigned to. In godot every object is of a certain type, and an assigned script is like overriding that specific type with new behavior.