Hey, so I’m currently creating a dance floor and I’m wondering what the best method for handling a gradient over several objects.
I am currently generating cells to fit an area in which said cells are stored within a meta table with the values {x, y}. My end goal is to easily translate a singular UIGradient and its values to several gradients over multiple frames.
Current Approach:
My current approach is to have a global UIGradient and then retrieve the color value corresponding to the tile’s position (pos) and setting the tile’s individual UIGradients gradient to (pos, pos+1)
Although I do not believe this approach to be efficient and would like secondary advice.
I’m not asking for anyone to write code for me, thats why I have not posted any code.I am purely looking for perspective/methods regarding this matter.
Thank you for any assistance,
xg.

