Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(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

}