ACTIVITY 2 AND 3
PASS ME THE B A L L A 2D UNITY GAME THE CONCEPT The right player scores a point if the ball hits the left wall. The left player scores a point if the ball hits the right wall. If it hits the top or bottom wall then it bounces off. Each player will have a racket that can be moved up and down to hit back the ball. KEYS FIRST PLAYER: W - UP SECOND PLAYER: ↑ - UP S - DOWN ↓ - DOWN STEPS IN MAKING IN UNITY Let's add four walls to our game. All we need to make a wall is a so called Sprite , or in other words: a Texture.We will use one horizontal Sprite for the top and bottom walls and one vertical Sprite for the left and right walls Let's select both wall images and then take a look at the Inspector , where we will apply the following Import Settings : drag the walls to the project area "twi