Dungeon Escape — Tightening Up Player Setup

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

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.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store