Gallery

Creating a custom script: Student Challenge - Ball Maze Final

Created a small run for the balls to travel in. Each click: Drops a new ball, changes all existing balls colors, pushes the ball using a raycast hit from empties along the maze walls, and randomly changes the balls color until it exits the maze. Time it right and you get an eclectic, moving, array of colored balls. I used 5 scripts. 1 script per push direction (Left, Right, Down), 1 script to drop a new ball, and a final script to randomly change the balls color (applied to prefab).
1 Comment
Add a Comment
  • Jonathan Lampel(jlampel)

    Cool! I know it's less visual, but I enjoy seeing more Unity stuff in the gallery. Keep it up!