>
> I make game for mobile.i add large black sprite under of layer and i center layout so the screen looks like fullscreen many devices.
>
> As you can see force field out of layout.If i dont cut this anyway it will look some devices.I can hide this with another black sprite but i dont want many sprite for performance. <img src="smileys/smiley1.gif" border="0" align="middle" />
Performance wise it might be your best choice (apart from scaling the layout/cutting the images). Place tiledBackground with background color over the edges and scale it to cover the area, single 32x32 or something sprite won't really give you any performance hit. :)
Yes,i've tried.there is no problem and maybe i will use if Ashleys way dosent work good on mobile <img src="smileys/smiley1.gif" border="0" align="middle" />
Why don't you just make your star field image bigger? Have it as large as it could possibly need to be, and maybe change it to a tiled background to conserve memory. Or start it off as big as necessary and then scale it down to match the screen size.
Thanks good way <img src="smileys/smiley1.gif" border="0" align="middle" /> .i can try other game.Ashles solution is
exact than other.Thanks again.
If you use letterbox fullscreen mode with bounded scrolling, the part overflowing the edge of the layout will never appear anyway. So you don't need to worry about hiding it. There is no performance problem, either, because content off-screen is not rendered.
Thanks so much Ashley <img src="smileys/smiley1.gif" border="0" align="middle" /> .I solve it .I hope letterbox mode works like scale mode.I didnt try on mobile but it works good.
Thanks so much again <img src="smileys/smiley32.gif" border="0" align="middle" />
Best regards,