Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Thanks for playing :)

I move the player  by getting horizontal and vertical inputs using Input.GetAxis under the Update method. Then under the FixedUpdate method, i call another method called "Move" with the parameters "horizontal" and "vertical". I store these parameters in a Vector2 variable and then use this variable in transform.Translate().

Thanks for the details.
If you make use of the rigidbody2D component you can avoid the bumps in the wall.
This is a quite good tutorial from couch ferret.
Maybe it will help you :)

The bouncing off the walls happens so the player won't walk through or get pushed through them

But i will check it out thank you :)