Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I really liked the dialog boxes with the camera zoom and the text slowly popping in like in good old gba games.
It felt a bit rough when colliding with wall.
How do you do the movement of the player ?

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 :)