Mod the Cube (JC)
About
This is my completion of the "Mod the Cube" Challenge for the Unity Junior Programmer Pathway. Using the concepts of Lerping, I developed smooth transitions between scaling and position while building upon prior knowledge and experience. The controls are as follows and are also available on-screen during gameplay.
Controls:
1-6 - Change Rotation Direction
Q - Toggle Position
W - Toggle Scale Space - Toggle Material Opacity (default = 0)
ASDFG - Change Color
A - Blue
S - Slime
D - Red
F - Yellow
G - Random
References:
Lerping in Unity - You HAVE to know this!! - YouTube
unity3d - How to change the colour of an object randomly every second in unity? - Stack Overflow
Unity - Manual: Albedo Color and Transparency (unity3d.com)
Unity - Scripting API: MonoBehaviour.CancelInvoke (unity3d.com)
Create and publish WebGL builds - Unity Learn