Support multiple screen size - Issue Forum Home > Construct 2 General > How do I....? |
Post Reply
|
| Author | |
Post Options
Quote Reply
Topic: Support multiple screen size - IssuePosted: 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? |
|
![]() |
|
Post Options
Quote Reply
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 |
|
![]() |
|
Post Options
Quote Reply
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 |
|
![]() |
|
Post Options
Quote Reply
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! :( |
|
![]() |
|
Post Options
Quote Reply
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. |
|
![]() |
|
Post Options
Quote Reply
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 |
|
![]() |
|
Post Options
Quote Reply
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?
|
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |