Basic player plateformer code but cant use directional based animations in godot
So basically I was trying to use the default script for 2d player controller and now I’m struggling to make a different animation based on the direction variable in the script and my error code says that I need two parameters for input.get_axis() in my if statement where only
put one so that when I go left the sprite faces left but its not working.
when two scripts use parse_string, the game crashes
I don’t really want to show my code here since I’ve already found the problem. I just want to know how I should fix this or if there is another way to read the JSON file.