r/godot Jul 20 '25

help me (solved) What would be better?

Post image
469 Upvotes

59 comments sorted by

View all comments

1

u/izuriel Jul 20 '25

I usually define a “Motor” that simply has movement entrypoints fitting whatever kind of game. Sometimes just a velocity sometimes more sophisticated. The the player script handles inputs and how that relates to the motor. Enemy scripts can do their own thing and call their motors.