This project is a clone of the "Color Switch" game, developed as part of a recruitment for HXRC. The game is designed to run in the Unity Editor, as a Windows executable file, and for WebGL. In this game, the player controls a colored ball, navigates through obstacles, collects stars, and switches colors to avoid being destroyed.


https://gitlab.com/Alitcher/hxrc_codetask_2024/

Published 17 days ago
StatusReleased
PlatformsWindows, HTML5
AuthorAlitchee

Download

Download
ColorEXE.zip 26 MB

Install instructions

Setup and Installation

  1. Clone the Repository:
    • Fork the provided repository and clone it to your local machine using Git:
    git clone https://gitlab.com/Alitcher/hxrc_codetask_2024.git
  2. Open the Project in Unity:
    • Open the project in Unity Editor (version 2022.3.21f).
  3. Load the GameScene:
    • Navigate to the Default in the Unity Editor to begin working or testing the game.
  4. Build for WebGL:
    • To create a WebGL build, configure the build settings for WebGL and make sure the game runs correctly in the specified orientation and aspect ratio.
  5. Build for Windows:
    • To create a Windows executable, configure the build settings for the Windows platform and generate the .exe file. Make sure the game is set to portrait with the correct aspect ratio(9:16).

How to Play

  • Controls:
    • Tap or click anywhere on the screen to make the ball jump.
  • Goal:
    • Lead the ball through matching colored obstacles, collect stars, and switch colors using the color switcher pickups.
    • Avoid the wrong color obstacles and don't let the ball fall out of the screen.
  • Gameplay:
    • The game starts with the randomized colored ball. The player moves the ball upwards, collecting stars and avoiding mismatched obstacle colors.
    • The game ends if the ball hits an obstacle of the wrong color or falls out of the camera's view.


Leave a comment

Log in with itch.io to leave a comment.