|
|
|
|
|
by jdmichal
4601 days ago
|
|
I ended up coding my own version of something like this, with I think a few enhancements to make my life much easier. First, I assumed the crops were laid out in a grid without any offsets. This then allowed me to define the grid in a 2d array and mark squares to skip over very easily. Second, rather than assuming that my cursor is starting at some spot on the screen that I had to keep duplicating, I just start the cursor over the first farm plot. Third, I actually never move the cursor to a new farm plot position. Instead, I scroll the screen and replace the cursor where it started. |
|