Page 1 of 1

Large images not loading ??

Posted: Tue Jul 26, 2016 3:36 am
by steven777
So I am using pngs and I have a 1500X1500 image to be scaled down latter...

Why isnt it loading into the game ?

Re: Large images not loading ??

Posted: Tue Jul 26, 2016 4:03 am
by Ulydev
Hey steven, give us some .love and explain your issue in detail so we can help.

Re: Large images not loading ??

Posted: Tue Jul 26, 2016 9:52 am
by Nixola
You're probably trying to load an image bigger than the maximum texture size. Use smaller images instead (you should avoid images bigger than 1024x1024).

Re: Large images not loading ??

Posted: Tue Jul 26, 2016 11:08 am
by slime
Nixola wrote:you should avoid images bigger than 1024x1024
I don't know of any GPU or driver that supports LÖVE 0.10 but has a max texture size of 1024x1024 or less. 2048x2048 is the smallest maximum I've seen on desktops.

Re: Large images not loading ??

Posted: Tue Jul 26, 2016 2:58 pm
by zorg
Also, "not loading" can have a bazillion meanings, does it make löve crash? will love.graphics.drawing it show a black square? garbage? "transparent pink"? or will it do nothing at all? But yes, a bit of code would help us tremendously in helping you. :3