Use your cursor to direct the circle to the squares. You can turn blue (hold M1 or space) to move faster and destroy triangles without taking damage, but watch out! Squares will only turn back to green if you're magenta! Keep the hexagons from turning red until the timer runs out to win!

...

The squares were built using coroutines, interps and state machines. There are three different states of the square. The first state is just green and cannot be interacted with, the second is the one where the colors interpolate between green and red (and must be interacted with) and the last state is when the square turns red, causing the game to end.  I used raycasts for the spawning of objects as demonstrated in one of the lectures, as well as to track cursor movement to make the circle lag behind it.

For polish, I added a Trail Renderer to the player and had the start color change depending on whether the player holds down the turn blue button or not. I added a little more pizzaz to the timer by giving it slider bar underneath that shrinks in size as time progresses (which I followed a tutorial for). I also added an animation to the hexagons to give a better visual representation of what state they're in, as well as a new shape: the triangle. For those, I added an animation when they spawn to indicate that they are there. During this animation, the player will not take damage if they run into it. I thought it was only fair.

Song - Re:structure 【ELECTROCUTICA】

Download

Download
Unity_aF1R1nSz7A - Trim.mp4 12 MB
Download
100SecondGameGameplay.mp4 31 MB

Leave a comment

Log in with itch.io to leave a comment.