How to make Zuma?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Alexandr

What to keep the balls?
Do balls need physics?
How to make the balls move along a certain trajectory?

These questions are too broad to answer effectively. Can you be more specific about what you are trying to make?

kidscancode | 2018-10-23 16:32

:bust_in_silhouette: Reply From: SASUPERNOVA

A Zuma game should probably not use physics, as this would limit your level design if you needed to create a level in which the balls move upwards. What you could do instead is use a combination of AStar and Navigation2D to make the balls follow your desired route, and simply reverse the direction of the “disconnected” balls when the player clears a set of balls. As from keeping the balls from overlapping one another, you could use something like CollisionPolygon2D to define the area for each of your ball objects.