Game 1: Rolling Ball
Last updated
Last updated
For your assignment, you will need to build on the ball roller game in the following ways:
Create at least three extra levels (for a total of five).
Make your game say "You Win" when you beat the final level.
Different colored power up with different point value from the ones we built.
Stop the timer and disable game controls if the game is over. (Hint: You will need a boolean (bool) type variable to control whether the game has ended and link those to if - statements within your game)
Create an death box or script under your level that will restart your level if the player falls off our hits it. If you are creating a death box, you will need at box collider, but not necessarily a renderer or material You can create invisible collisions.
Make a sharable build of your game using the instructions below.
I can create and use int, float and bool variables.
I can correctly change the value of a variable through code.
I understand when to use public and private variables.
I can access inputs and apply them to player movement.
I can implement if statements in C#.
I can write and call my own methods in C#
I understand and correctly use Start, Update, FixedUpdate and LateUpdate functions.
I can link components to variables.
I can determine how many of a GameObject exist in a scene.
I can organize and program based on my build index.
I can change scenes within my game through code.
I can create and manipulate several different 3D primatives.
I understand and can use several different components.
I can add text elements to the game screen.
I understand when to add RigidBody components and when not to.
I can use RigidBody components to interact with Unity’s physics system.
I can create and apply materials to objects.