Skip to main content

Lesson 2.1 - Player Positioning

Summary
Overview:
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.

Materials

Prototype 2 - Starter Files.zip

Select your Unity version
2021.1 - 2021.3