Rather than writing a whole new “bounding box diagonal radius checker” set of code, and having to loop across all cells in the entire rectangle, it seems it would have been easier and more efficient to use the same loop you used earlier to solve another problem, wherein you did a mini-loop that interpolated the path of the ball between frame positions. Just add the “light up the touched cells” code you already wrote a few comics ago and apply it not to the frame-by-frame position, but to the “positions in-between the frames” loop you already have.
Rather than writing a whole new “bounding box diagonal radius checker” set of code, and having to loop across all cells in the entire rectangle, it seems it would have been easier and more efficient to use the same loop you used earlier to solve another problem, wherein you did a mini-loop that interpolated the path of the ball between frame positions. Just add the “light up the touched cells” code you already wrote a few comics ago and apply it not to the frame-by-frame position, but to the “positions in-between the frames” loop you already have.
Comment by Ichneumon — May 22, 2020 @ 11:21 am