There are several methods for player movement ,is there any differences between them ?

Hi, so I’m learning game dev and I know that there are several methods for player movement in 2d and I was wondering is there any differences between them?
like if there is a method that is better than all of them or so

There are essentially an endless number of methods for player movement, especially if you define it as something as generic as “player movement”. You’re going to have to narrow this question down a LOT in order to get any kind of answer.

The only part of your question that is really answerable with this level of detail is that no, there isn’t one method that’s “better than all of them”. Everything depends on what your game is.

1 Like

Generally movement is done by manipulating the transform directly, using the physics system, or using a character controller (which is really just one or both of the first two). Manipulating the transform gives exact direct control over movement, but usually lacks some realism. Physics movement can look more realistic, but it is difficult to get precise movements you may want.

What is “better” depends on what is more desirable for your game.

1 Like