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.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Questions I’m (also) asking at tech interviews

Whatever You Do Don’t Call Me Differently Abled.

How to Build your Game with WebGL

Becoming a developer — the first step is to realize you can be one

From The Bomb Squad To The Bash Shell

Barter Review- Review From A Real User!

C# — Parallel Programming: Producer/Consumer Pattern

To be, or not to be 🎭 (Optionals) in Swift

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
Gabe Gomez

Gabe Gomez

More from Medium

Laser Fire Rate

Transposer Virtual Camera Explained in Unity’s Cinemachine

Cinematography in Unity — Working With Audio In Timeline

Ledge Grab System: Part IV