Skip to content

A simple game created in Unity3D involving the player to collect the collectibles while trying to avoid collisions with the enemies at the same time.

Notifications You must be signed in to change notification settings

pranshi112/RollerMadness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RollerMadness

RollerMadness is a simple game which involves the player to collect the collectibles while trying to avoid collisions with the enemies at the same time. The game has two levels — Level1 and Level2 — both beatable.

Components of the Game

  1. Player - The player is a sphere ball, namely RollerBall. It is destroyed either on collision with the enemy or on entering the DeathZone.

rollerball

  1. Enemy - The enemies are the cubes which spawn every 3 seconds and chase the player. They are destroyed on collision, either with the player or another enemy.

enemy

  1. Collectibles - These include non-translating as well as bouncy coins. The bouncy coins spawn every second and are self-destructed after 10 seconds. For each coin collected, the player gets 1 point.

coin

  1. Obstacles - On collison with the obstacles, the GameObjects bounce off.

bumper

  1. Floor - The entire area where the player is free to move.

floor

  1. DeathZone - The area around the floor, on entering which, the player dies.

deathzone

How to Play

  • Player movement can be controlled using either the arrow keys or the WSAD keys.
  • The player must collect the minimum number of coins(either the non-translating or the bouncy ones) required to beat that level while trying to avoid any collision with the enemies or falling into the Death Zone simultaneously. If the latter happens, the player loses the level.
  • Minimum score to beat:
    • Level1 = 5
    • Level2 = 10
  • Beating Level1 takes the player to Level2. If not beated, the player gets an option to play Level1 again.
  • In both cases - beating or losing Level2 - the player gets 2 options:
    • Play Level2 again.
    • Restart the game from Level1.

Getting Started

The project is made on an Editor version 2019.4.16f1 and includes WebGL and Windows Build.

WebGL:

  • In the project folder, navigate to Builds → WebGL → index.html.
    Note: Opening index.html directly from the file system might not work in some browsers. This is due to security restrictions applied to local file URLs.
  • In case none of your browsers support the first method, you may open the file by starting a local testing server. To start it:
    • Make sure you have Python installed on your system.
    • Next, open the Command Prompt & navigate to the directory, WebGL where index.html lies inside, using the cd command.
    • Enter the command to start up the server in that directory:
    # If Python version is 3.X
    python -m http.server
    # If Python version is 2.X
    python -m SimpleHTTPServer
    

This will run the contents of the directory on a local web server, on port 8000. You can go to this server by going to the URL localhost:8000 in any web browser. The HTML file would run now.

Windows:

In the project folder, navigate to Builds → Windows → Roller Master.exe.

Unity:

Open the project in Unity and navigate to File → Build And Run. This opens the application on your target platform specified in Unity.
Note: If your Editor version doesn't match with the project's, a warning message will be displayed asking you to download that version. Alternatively, download the required version in Unity Hub.

About

A simple game created in Unity3D involving the player to collect the collectibles while trying to avoid collisions with the enemies at the same time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published