top of page

HOW DID WE DO IT?

The Beginning

We started with a simple 2x2 plane located at (0,0,0). Using "GameObject," we then put in the most important piece of the game: the player, or the ball. A camera was added and lights were put in to create shadows. The simplest form of Roll-a-Ball was thus created. 

The Walls

Below, you can see the four walls, the north, south, east and west wall, are added to contain the ball and keep it from falling off the edge. These were created using basic cubes, that we scaled and rotated into place. When the ball comes into contact with any of the walls it just bounces off.

The Pick Up

The Pick Ups are simply cubes we rotated onto their sides. The script attached to them enables them to spin and be collected. Check out the SCRIPTS page to learn more about how it's controlled.

Backgrounds and Color

In the image below, the ground color has been added to the game. We created our materials in photoshop and then imported them and applied them to our game.

Pick Ups Aligned

After we got one pick up to work correctly, we made copies of it and set them up in any design we wanted. To the right, you can see mine arranged in a circle around where the ball starts. There are 12 pick ups at the moment, so to win, you need to collect 12.

Second Levels

To make the game more interesting, we decided to add more ground and pick ups to collect. You can see this above. The ball easily rolls down the ramp and back up after collecting the 8 new cubes. A lower level was added to both sides of the main platform. 

Ramps and Platforms

Below there is a picture of the new

ramps and platforms I added. Both the

ramp and ground are planes scaled to

the correct size. More walls were

added just like for the main platform. The ramps were rotated to about a 30 degree angle.

 

bottom of page