Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

You are sure better at making platformers
How did u make the player feel so smooth tho?

Anyway thanks for the reply :)

I used FixedUpdate instead of Update for my movement. I also used GetAxis.

i did use getaxis but forgot about fixed update.. did u use time.deltatime?

(1 edit)

This is what it would look like ish 

float Speed = Whatever you want;

float Movex;

FixedUpdate()

{

Movex = Input.GetAxis("Horizontal");

transform.position += new Vector2(Movex * Speed, 0) * Time.deltaTime

}