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

Character Controller — Part 1: Project setup

No Compression Algorithm for Learning

Breaking down Data Science problems with Test Driven Development

Build RESTful API service in golang using gin-gonic framework

Cool Django Projects to Add to Your Web Portfolio

Spring MVC

‘Everything in Python is an Object’

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

2D Mobile: Setting Up The Player

Installing Probuilder In Unity

Speed. I am Speed.

Adding enemies to our greybox Prototype