Support multiple screen size - Issue

Forum Home Forum Home > Construct 2 General > How do I....?
 Post Reply Post Reply
Author
2,456 Rep
Post Options Post Options   Quote krish Quote  Post ReplyReply Direct Link To This Post Topic: Support multiple screen size - Issue
    Posted: 03 Mar 2012 at 8:37pm
Hi,


I followed http://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes/page-2 and

I tried this in r80.2, but it leaves white space on top, left and right of my background.

My layout and window size both are 1366x768 and so is the background image.

Any one know the reason?
Back to Top
2,241 Rep
Post Options Post Options   Quote FredQ Quote  Post ReplyReply Direct Link To This Post Posted: 03 Mar 2012 at 8:57pm
I've tried to get my game to fit multiple screensizes and every time I've mentioned it on here there's never been a definite solution that works. I've tried different resolutions, fullscreen scale, fullscreen crop, exporting with appmobi, exporting with phonegap, the new appmobi plugin to set fullscreen. EVERYTHING.

I can only assume its a bug that needs fixing.

Here's the link to my topic with screenshots too.
http://www.scirra.com/forum/mobile-issues-scaling-and-sound_topic49609.html

Edited by FredQ - 03 Mar 2012 at 9:02pm
Back to Top
2,456 Rep
Post Options Post Options   Quote krish Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar 2012 at 5:55am
Hi,


Attaching my project and screenshots. Hoping someone knows how to fix :)



Screenshot link

Project download zip

Edited by krish - 04 Mar 2012 at 5:56am
Back to Top
2,456 Rep
Post Options Post Options   Quote krish Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar 2012 at 6:19am
I just tried with "margins" set to 0,0 on the layout - banner in the above pasted project.

Doesn't work yet! :(
Back to Top

Scirra Developer
81,388 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar 2012 at 2:24pm
Can you provide the .capx? Your project zip is just a zip of the exported project, which can't be opened in Construct 2.

Margins only affect the view in the editor, so will have no effect on the actual game.
Back to Top
2,456 Rep
Post Options Post Options   Quote krish Quote  Post ReplyReply Direct Link To This Post Posted: 05 Mar 2012 at 6:10am
@Ashley

Oh! sorry .. my bad. :)

Here it is - the capx - http://dl.dropbox.com/u/48735785/Construct2_Issues/game-testing-capx.capx
Back to Top

Scirra Developer
81,388 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 05 Mar 2012 at 3:01pm
@krish, it's because the image is on a layer with parallax 30, 30 so it gets offset. If you set the parallax to 100,100 it works fine. It also helps to set the layout's 'unbounded scrolling' property to 'yes'. Does that fix it?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down