R0J0hound wrote:Probably something like this to set column 1 to column 0:
set array at (1,0) to array.at(0,0)
set array at (1,1) to array.at(0,1)
set array at (1,2) to array.at(0,2)
set array at (1,3) to array.at(0,3)
set array at (1,4) to array.at(0,4)
set array at (1,array.height-1) to array.at(0,array.height-1)
But that just screams "use a loop", so...
repeat array.height times
---set array at (1,loopindex) to array.at(0,loopindex)
Thank you so much!! I can't thank you enough for helping me with those loops, I've learned a lot from this. Here's the finishing code:
That keeps a second columns (I changed it around so they're columns rather than how I had it with rows, too hard for me to visualize!) updating and I just update the score like so:
Works well so far! Any side-effects I might encounter, performance-wise?