Im trying to make a grid of 9 quads, that are slowly removed one by one, when a user pauses a random selector on each quad. This is to slowly reveal an image behind the quads.
And I just can’t get it to remove the right quad, and maintain that (now vacant) quad’s position. The only way I could get it to remove the right quad was by just colouring the last quad red (the selector) and then re-ordering the spread, but that meant that when i then removed that quad, the emptyspace moved around along with the new red quad.
I’ve tried 3 different approaches to this and am sure there should be a fairly simple way of doing it, i must just be ignorant of the key nodes required.
Attached are two different approaches i’ve tried, im sure the correct one is very much different to both! please all suggestions welcome.
Thanks Karistouf, looks like you have put a lot of work into that! Unfortunately, I must not have explained myself properly; it’s not the mouse selecting the square. its an automated randomiser, that when a user pauses it, the square that the selector is paused on, is removed.
The elements I need are still probably in your patch, minus the mouse/coordinates/selection, so i can probably reverse engineer what i need out of your patch. unless anyone can suggest a simpler way of doing it.
Again, i must not have explained myself clearly as the random selection isn’t quite how intended in either of your patches. However they did provide inspiration for me getting it working pretty much how i wanted. It would be good if a bit more was automated, but with a little user input the desired effect is achieved.
Attached is the working patch that does what i intended, although not quite as smoothly as I wanted
Like I said, it does whats needed now, although any further tips on how to tidy it up or make it a bit more efficient would be welcome. (i’ve stuck with the ‘manual’ spreads instead of the linearspread & cross combo because when using those it reverses the spread order and makes the manual removing of the selected square less intuitive)