COVID-19 Support:
We’re providing all users three months of complimentary access to Unity Learn Premium, from March 19 to June 20, 2020.
Just log in to start learning.

Lesson 2.1 - Player Positioning

1 Hour
For Educators
Tutorial Materials
You will begin this unit by creating a new project for your second Prototype and getting basic player movement working. You will first choose which character you would like, which types of animals you would like to interact with, and which food you would like to feed those animals. You will give the player basic side-to-side movement just like you did in Prototype 1, but then you will use if-then statements to keep the Player in bounds.
Project Outcome:
The player will be able to move left and right on the screen based on the user’s left and right key presses, but will not be able to leave the play area on either side.
Recommended Unity versions
Topics we'll cover
Lesson 2.1 - Player Positioning