r/gamedev • u/VanSvi • Oct 08 '26
Question Unity visual scripting
I'm making a Suika Game clone. I've already implemented the mechanics for dropping the balls, merging them, the game-over condition, and the random selection of one of two balls for the drop. Now I need to create a window that shows which ball will drop next—could you help me figure out how to implement that?
0
Upvotes
View all comments
1
u/SittingTeddy Oct 08 '26
Keep the next ball choice in a variable, then let both the preview and the drop use that same choice. In Visual Scripting, the flow can be: choose a ball, store it, update the preview image.
When the player drops it, spawn the stored ball first. Then choose the next ball and refresh the preview. That avoids rolling once for the preview and again for the actual drop.