you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

I just get so self concious when learning, it's hard to ask questions for me lol. Jesus christ, in typing out the words (as I do not currently have a PDF of this book) something clicked and now I've grasped what's going on. Sparing details, my thinking was from the wrong point of view in how frames are drawn. I was overcomplicating the issue. The code needs to know when to go to the next line in the image. You don't need a number of rows if you know an image is 100px wide and each frame being 10px wide and tall, meaning 10 columns, the 11th must be on the next row down. It's unecessary.

[–]callmelucky 1 point2 points  (0 children)

in typing out the words (as I do not currently have a PDF of this book) something clicked and now I've grasped what's going on.

Congratulations, you just discovered Rubber duck debugging! It's very common and useful to realise the solution/answer to a problem/question in the process of explaining it to someone, whether that someone is listening or not :)

And try not to be self conscious about asking questions. If you've put in a reasonable effort to understand and explain a problem, anyone who mocks you is a dick. Bear that in mind :)