Row of object like balls in Zuma or luxor

Hello, i wanna create row of balls like on zuma or luxor
They should:
1)Move along path
2)Add new ball when collide
3)Destroy when 3 or more balls of the same color.

You’ve got alot to think about there:

  1. Create a row of balls: You can do this easily using a for loop, using the incrementer to determine the balls position
  2. Move along a path: If this is similar to luxor you’d probably have to use some form of mapping on your level so that the colliders attached to the balls simply follow the path with gravity…maybe
  3. Add new ball when a collision happens: Use OnCollsionEnter() to instantiate a new ball at a particular position (either at the original balls position or the colliders position)
  4. Check for a row of balls: this is something you can work out, as a hint maybe give each colour ball and id number i.e blue = 1 red = 2 then if you can check that 111 is valid, you have a match.