Code: Select all
;
I was trying to do something similar to:
startX = 127; lastX = 0; stepX = -1
startY = 1; lastY = 127; stepY = 1
But I've been forced to do:
startX = 127
lastX = 0
stepX = -1
startY = 1
lastY = 127
stepY = 1
Since I have to do this 9 times to handle horizontal/vertical/diagonals/center. They both look messy but I was hoping to constrain the ugliness to a few lines -
