- Windows or WebGL
- Unity Package Universal Pipeline Renderer
- Unity Package Splines
Run colorBall.exe
Open the index.html
file in a web browser.
The game is composed of 3 obstacles: a circular one made by the arc asset, a horizontal one made by the triside asset, and the last one made with multiple circles following a spline trajectory.
All the levels are generated randomly.
The player has to jump until reaching the "Finish!" where they can change levels. If the player collides with an obstacle, they respawn at the initial position and have to redo the level. If the player is out of bounds, they die and respawn at the initial position.
Stars that increment a stars count and a color switcher that changes the player's color.
I wanted to make the game fast to launch and play, without an overwhelming UI. I made the choice to integrate the UI into the player's environment (except for the collectible count). The communication between the UI & Sound and the player is handled with Event Action. A minimalistic choice was made for the sound design by not using sound when jumping, as it could become annoying repetitively. The input is very limited, so I decided to use the Input.Get method for rapid implementation.-
UiManager.cs Manages the UI elements such as the finish text and button, and updates the collectible count.
-
globalColor.cs Defines a set of colors used in the game.
-
SceneManager.cs Handles scene management, such as restarting the scene.
-
PlayerAction.cs Defines player actions as static events.
-
SoundManager.cs Manages the sound effects for different player actions.
-
LevelGenerator.cs Generates the level by placing obstacles, collectibles, and the finish line.
-
CameraBehaviour.cs Controls the
-
What I could add is a completion percentage value in the UI so the player see his progression (but I forgor β οΈ)
-
We can add more obstacle, maybe playing with verticality. Maybe change the jump orientation of the ball or add new game mechanics.