Player movement setup for Galaxy Invaders game-pt.2

Player able to move along the horizontal and vertical axes.
Horizontal and Vertical input axes located under the Input Manager.
Added the Horizontal Input axis to control the Player’s movement in Translation.
Player moving along the X & Y axes through user input.
Optimized the code to move the Player around with one line of code.
Player moves with optimized code.
New variable Direction created to handle user input.
Player still able to move under optimized code.

--

--

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
Rhett Haynes

Rhett Haynes

Learning to become a Unity game developer.