Manage marble’s insertion in a curve queue C++ [closed]
Closed 10 mins ago.
Manage marble’s insertion in a curve queue C++ / Gestion insertion bille suivant une courbe C++
I am trying to create a reproduction of the game Zuma in C++ with SFML. I have created a chain of points and made a VertexArray
with LineStrip
. Each frame, I update the position of each marble using a factor and an index for the point. The factor is used to place the marble between the saved index and the next point. I also have a list of marbles: