Dungeon Escape — Tightening Up Player Setup

Putting some final touches on my Player for my Unity mobile Game

Gabe Gomez
Sep 27, 2021

Objective: Go over some final touches I implemented for my player before moving on to enemies.

Camera Follow

To get the camera follow to work, I first installed Cinemachine from the Package Manager window.

With Cinemachine, we can use Virtual Cameras to follow our player as they move in the scene. After setting up my virtual camera to follow my player, I got the result seen below.

Player Cleanup

Next up, I fixed the sprite for the sword arc animation. As you may have noticed, the first frame of the animation is constantly on the screen. After some tweaking, I got the result shown below.

That’s all for today! Thank you for taking the time to read today’s article. In the next article, I will begin implementing enemy AI.

--

--