Check the lowercase-uppercase of the filenames and extensions. If there is any difference between your source code and your files (i.e. in your code you wrote pappi.png but your file was pappi.PNG) then it will work on the "uncompressed" windows folder but it will not work when you make the compressed file.
Well, I may need to rephrase this. The image itself is kind of loading, but I get a giant white box and no image, same when I run the hamster-ball tutorial code.
Try updating your graphic card drivers, and if that doesn't solve it, re-dimension the images so they are power-of-two sized (for example 128x128, or 128x256)
I had the exact same problem. I was trying to use an image for a background; it was 800 x 600. I changed it to 512 x 512 and it displayed. This poses a problem for me though. Since the window for Love runs at a default 800 x 600 resolution, how am I supposed to add a background if the framework doesn't support images that are 800 x 600?
Is there a way to make the resolution of the default window smaller? Maybe something like 768 x 768, perhaps? I'm new to Love and new to Lua as well. Help would be greatly appreciated.
So far the framework seems really nice. I hope to continue using it. Thanks.
Will wrote:Is there a way to make the resolution of the default window smaller? Maybe something like 768 x 768, perhaps? I'm new to Love and new to Lua as well.
Will wrote:I had the exact same problem. I was trying to use an image for a background; it was 800 x 600. I changed it to 512 x 512 and it displayed. This poses a problem for me though. Since the window for Love runs at a default 800 x 600 resolution, how am I supposed to add a background if the framework doesn't support images that are 800 x 600?
Just create your image like you want it, and then add transparent padding to make it 1024x1024.
Will wrote:Is there a way to make the resolution of the default window smaller? Maybe something like 768 x 768, perhaps? I'm new to Love and new to Lua as well. Help would be greatly appreciated.