In this class we were tasked with creating a series of effects and game mechanics. After following multiple tutorials that played around with code a bit and created strange shapes through spawning objects in certain positions, we then went on to create a game similar to breakout that involved breaking tiles by using a cube that would continuously spawn spheres that would fall and break the tiles after falling on them a certain amount of times.
Above we have some code which caused the cubes to spawn in a stair like pattern.
This script above caused the cubes to spawn into a semi-circle, if I had finished the script then it would have caused the cubes to spawn into a circle .
In order to make the tile breaker game we had to make a Cube object in Unity and assign it with this script, this would cause it to spawn a sphere and which would drop and bounce on the tiles.
Here we have the final product of the tile breaker game.