You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed it by adding
a = stepify(input_dir.angle() , PI/4) / (PI/4)
a = wrapi(int(a), 0, 8)
to the keyboard-input code section, I copied the way you did it in the mouse control section.
Discussion for http://godotrecipes.com/2d/8_direction/
The text was updated successfully, but these errors were encountered: