How can I elegantly paint multiple tiles to display the same frame?
This test room has two turbines, each with tiles that have 0fps animation frames. They are synced so all the animation frames will always be the same frame.
It's a lot of code to paint those frames... there has to be a more elegant way. Any ideas?
Check out the room code for the "iteration" room. I don't want to post all 240 lines of repetitive manual iteration, but I suspect if better developers than me look at it they might have ideas.
// here are two clumsy ideas on how to affect multiple tiles, if a feature request handled these
// but I think there's a chance that I'm missing some existing way to iterate like this
// option 1 - pass a big array of tile coordinates
// tell 16,6,18,4,18,5,18,7,18,8,16,6,17,6,19,6,20,6,14,3,14,4,14,5,14,6,14,6,14,7 to
// frame 0
// option 2 - pass several tile coordinates
// tell 16,6 18,4 18,5 18,7 18,8 16,6 17,6 19,6 20,6 14,3 1, 4 14,5 14,6 14,6 14,7 to
// frame 0
I'm probably missing something. Mimic? Let me know if you have any ideas.
WUC-Basic Iteration.json.zip (9.0 KB)