[SOLVED]Problem with my code (likely something really simple

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Problem with my code (likely something really simple)

Post by micha »

I drew a diagonal black line on each of the tiles in the source image and got this result:
1.png
1.png (23.17 KiB) Viewed 1041 times
This means that the bottom and right tiles are not stretched. In fact they are the only tiles that are shown correctly. All the other tiles are overlapping. That means somewhere in the spritebatch you position the quads incorrectly (factor of 2 somewhere)
Bobbias
Prole
Posts: 36
Joined: Sat Jun 29, 2013 1:26 pm

Re: Problem with my code (likely something really simple)

Post by Bobbias »

Well I know exactly where that comes from. I'll leave it as an exercise in order to save myself from pointing out the ridiculous mistake.

Thanks for the quick response.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 220 guests