Problem with the display of Background

Hello everybody! 

I develop an App, it’s my third, i never had this problem but now yes! 

it’s very easy to understand. 

I write a local bg with a image that i made (3200pix / 4800pix) 

and the background is not display ! (O error )

I give to you my code an one or two screen shot, if you can help me, thank you! 

Are you sure you have written good size? If so, it’s too huge. Devices usualy have max 2048x2048 (modern devices) per texture

In my last application, i made background with size of 3200x4800 and in my code i said that thé bakground is resize at 320x480 for à better quality.
And in this app is not Work.
Did you see m’y code ?

Assigning width and height doesn’t mean you use less memory. Texture is still loaded as this big image and scaled in fly for rendering.

Ok so for you its thé size okey so i go to change this and see thank you

Ok i put a image of 1000 x 1500 same problem no display…

i test on my device SAME PROBLEM 

Okey i find the problem, when i put just : 

local bg : … 

it display

but when i put changement of size like 

bg.width =… the bg not display

someone have a idea? 

Try to use xScale and yScale property or object:scale() function to change size of image

Maybe the problem is that your image is placed somewhere on screen in such place that when you scale it by specifying width and height, smaller image is off the screen?

Are you sure you have written good size? If so, it’s too huge. Devices usualy have max 2048x2048 (modern devices) per texture

In my last application, i made background with size of 3200x4800 and in my code i said that thé bakground is resize at 320x480 for à better quality.
And in this app is not Work.
Did you see m’y code ?

Assigning width and height doesn’t mean you use less memory. Texture is still loaded as this big image and scaled in fly for rendering.

Ok so for you its thé size okey so i go to change this and see thank you

Ok i put a image of 1000 x 1500 same problem no display…

i test on my device SAME PROBLEM 

Okey i find the problem, when i put just : 

local bg : … 

it display

but when i put changement of size like 

bg.width =… the bg not display

someone have a idea? 

Try to use xScale and yScale property or object:scale() function to change size of image

Maybe the problem is that your image is placed somewhere on screen in such place that when you scale it by specifying width and height, smaller image is off the screen?