Make a background cover the whole screen

0 favourites
  • 12 posts
From the Asset Store
Sheeky's Jingles Loops
$4.20 USD
30% off
40 short musical loops, perfect for playing in the background on different screens.
  • I'm using fullscreen with scale outer and I'm having big problems getting the background to be the same size as the window. The background seems to set it's width to a wrong number based on the size of the screen.

    Here's the first thing I used to set the width:

    <img src="http://puu.sh/3W4yk.png" border="0" />

    And the results on a stretched out screen (for testing purposes)

    <img src="http://puu.sh/3W4uX.jpg" border="0" />

    So I tried this, but it doesn't seem to work either:

    <img src="http://puu.sh/3W4tx.png" border="0" />

    <img src="http://puu.sh/3W4xD.jpg" border="0" />

    So is there anything else I can do to get the background to span across the entire screen?

  • bump..

  • one more bump

  • nother bump..

  • capx? that would help

  • make a 10,000 x 10,000 background, with big margins

    search forum posts by Arima, he posted something that should help.

    search something like: margin outer scale

  • All I can say is just stretch it.. BIG TIME. That's what I do, and it's the only way that has proved successful (because it's the only one I've tried and it works! [I use scale outer if that helps deciding on a future method.])

  • All I can say is just stretch it.. BIG TIME. That's what I do, and it's the only way that has proved successful (because it's the only one I've tried and it works! [I use scale outer if that helps deciding on a future method.])

    This seems to only be a problem when scale outer is being used.

    Another problem is that I'm trying to center some text on the screen, but it just doesn't work since I'm using window width.

  • Another problem is that I'm trying to center some text on the screen, but it just doesn't work since I'm using window width.

    window width / 2 ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • LayoutWidth*0.5

  • Anchor is another option too

  • I personally use viewports to center stuff.

    ViewportRight("Layername") / 2

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)