Search found 2 matches

by lubirb
Sat Dec 07, 2024 8:19 pm
Forum: Support and Development
Topic: Drawing grid resulting in offset tiles
Replies: 2
Views: 914

Re: Drawing grid resulting in offset tiles

Quick update...

Figured out the indexing issue. Still confused as to why 'A' x,y jumps to 0, 60, but the other rows know to re-start at 0, 0. Thanks again!
Screenshot 2024-12-07 at 3.17.42 PM.png
Screenshot 2024-12-07 at 3.17.42 PM.png (94.97 KiB) Viewed 887 times
by lubirb
Sat Dec 07, 2024 6:58 pm
Forum: Support and Development
Topic: Drawing grid resulting in offset tiles
Replies: 2
Views: 914

Drawing grid resulting in offset tiles

Hi there! Love2d newbie here. I've created a table with a list of tiles, to be drawn out evenly-spaced in a 5x5 grid. First tile drawn at 0, 0. However, on inspection, I see that the first tile ('A') does get drawn at 0, 0, but then the draw loop "restarts" so 'A' gets re-drawn at 0, 60 (w...