Re: My images won't load..
Posted: Sun Jul 11, 2010 9:54 am
What's transparent padding? Like a buffer around the image? Sorry, I am new at this.nevon wrote:Just create your image like you want it, and then add transparent padding to make it 1024x1024.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?
Ah, yes. 1024. Sorry it's 5 am in the morning here and I never was good at math. Thank you for the link!nevon wrote:There is. 768 isn't a power of two though.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.
Thank you as well!vrld wrote:Yes, there is: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.
http://love2d.org/wiki/Config_Files
http://love2d.org/wiki/love.graphics.setMode