Create By

Pedro Henrique Britto Aragão Andrade

GitHub

https://github.com/Pedro2712/RollABall

About The Game

Welcome to Cube Collector: A Race Against Time!

Prepare for an exhilarating challenge in this addictive game! Your objective is to collect as many precious cubes as possible before time expires or your lives are exhausted. You commence your adventure at the heart of the arena, confronting a solitary foe, with one sole mission: gather valuable cubes. However, remain vigilant, for with each cube acquired, a new enemy materializes (limited to a maximum of six simultaneous adversaries). Beware, as an encounter with an enemy results in the forfeiture of one of your four lives.

Fear not! Throughout the game, you will encounter special items to bolster your quest for supremacy.

Hone your skills, test your reflexes, and determine how long you can endure in this thrilling journey. Brace yourself for a race against the clock, where every second counts, and each collected cube propels you closer to glory. Best of luck, cube collector!

User Interface

In the upper-left corner, you'll find an hourglass with an animation of falling sand. Every second, it rotates to simulate the sand's descent, displaying the remaining time within. In the middle of the upper section, an image of the cube and the quantity collected by the user are prominently displayed. On the upper-right side, there are four heart icons, each progressively dimming as the player loses lives.

Additionally, in the Dead End section, you can enjoy a captivating background soundtrack that enhances the atmosphere. Here, you can also keep track of your current round's cube count and compare it to your previous best.

Visual and Sound Effects

The main menu features a background soundtrack, and the play button emits a unique sound when pressed. In the mini-game, a different background soundtrack enhances the experience. Specific sound effects accompany various in-game events, such as taking damage or collecting items, each associated with a distinctive audio cue. Additionally, when the player sustains damage from an enemy, the screen shakes, and sparks fly from the player character. Notably, there's a helpful arrow above the player's head, pointing to the location of the cubes, ensuring you never lose track of your objective.

Game Mechanics

Control the player character using the AWSD keys or arrow keys. During gameplay, pressing the ESC key will pause the game and open the pause menu, granting you the option to resume from where you left off, restart the game from the beginning, or return to the main menu to explore other choices.

Items

  • Cube: This enigmatic cube appears only once in the game. Collecting it triggers a series of challenges. Each time you capture the cube, a new enemy spawns, limited to a maximum of six enemies simultaneously.


  • Hourglasses: These mysterious hourglasses extend the available time by 5 seconds, allowing you to collect even more cubes. Hourglasses respawn randomly every 40 to 60 seconds, with the possibility of 1 to 3 appearing during each respawn. The maximum number of Hourglasses that can exist simultaneously is limited to 3.


  • Life Potions: Magical potions restore your life, granting you an extra chance to face the challenges that arise. Life Potions also respawn randomly every 40 to 60 seconds, ranging from 1 to 3 in each respawn. The maximum number of Life Potions that can exist simultaneously is limited to 3.


Life System

The player starts with 4 lives, which can be lost upon contact with enemies or falling out of the arena. However, you can recover lives by collecting the Life Potion item. If the player has already taken damage, they become temporarily immune (invulnerable to damage) for 2 seconds. This immunity is visually indicated as the player character blinks intermittently.

Time System

The game features a time system that starts with 30 seconds and decreases by one second each second. If time runs out, the game ends and displays your total score, as well as the all-time high score. During gameplay, you can increase the available time by collecting the Hourglass item.

References

How to make a menu in Unity - UI Tutorial by Tarodev

Unity Pause Game - Easy Tutorial (2023) by Solo Game Dev

Play particle effect On Trigger Enter || Unity Tutorial by Vector3 Studio

Particles on UI in Unity 3D by Learn UNITY

Réaliser une flèche directionnelle avec UNITY (Directional Arrow) by Unity Pour les nuls

Unity Make a Sand Clock UI by Hamza Herbou

How to Change the Skybox in Unity 2021 by Unity Ace

How to Make a Basic Skybox in Unity | Unity Tutorial by Omogonix

How to Edit Skybox Colour Unity 2019 by Jamer_theGamer

Camera shake in Unity in 3 mins | Cinemachine tutorial | add juice to your game easily by Single-Minded Ryan

How to Add Camera Shake on Player Hit - Unity 2022 Tutorial with Cinemachine by Chris' Tutorials

How to Install and Use Cinemachine to Create a Player Follow Camera in Unity [2021] by PlusEqual

My Favorite Way To Make A GAME OVER Menu In Unity by BMo

HOW TO MAKE HEART/HEALTH SYSTEM - UNITY TUTORIAL by Blackthornprod

5 Minute MAIN MENU Unity Tutorial by BMo

StatusReleased
PlatformsHTML5
Authorpedro2712
GenreSurvival
Tags3D, Short, Singleplayer, Unity
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard

Leave a comment

Log in with itch.io to leave a comment.