in my app i did this: if app is in portrait resize background to 480x and 800y, if the app is in landscape resize to 80x and 480y.
It is possible instead of using a size, tell the background picture to resize to the window app size?
You mean like this?
set width to viewportright(0)-viewportleft(0)
set height to viewporttop(0)-viewportbottom(0)
Develop games in your browser. Powerful, performant & highly capable.