Multiple resolutions - solid example Forum Home > Construct 2 General > How do I....? |
Post Reply
|
Page 123 4> |
| Author | |
Post Options
Quote Reply
Topic: Multiple resolutions - solid examplePosted: 26 Mar 2012 at 2:13am |
|
|
Hi folks!
I'm working on a skeleton project so I don't have to start things from scratch everytime I'm working on a project. Today I came up with a nice solution for multiple resolutions, avoiding those annoying black bars no matter how stretched your screen is. It is also ready to be used no matter the orientation: You just have to change the layout sizes to a portrait orientation (say, 640x960). Hope it helps! I still have a lot of things to add on the skeleton (level selector, sound options, facebook integration), but this is was a nice start, so I wanted to share it with you. See ya! EDIT: LOLOLOLOL Forgot the link: http://dl.dropbox.com/u/7324985/multiple_resolution.capx Edited by gammabeam - 26 Mar 2012 at 2:17am |
|
![]() |
|
Post Options
Quote Reply
Posted: 26 Mar 2012 at 2:31am |
|
|
Link is a 404!
|
|
![]() |
|
Post Options
Quote Reply
Posted: 26 Mar 2012 at 2:34am |
|
|
Whoops forgot to enable Dropbox Sync!
Done! |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Mar 2012 at 10:42pm |
|
|
UP
Did anyone even see this? I've tested over different iOS and Android devices, and it is working very well! |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Mar 2012 at 11:02pm |
|
|
I hadn't seen this. Thanks for the bump.
It sounds like exactly what I need. Will download. Thanks. |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Mar 2012 at 11:48pm |
|
|
Nice demo, that's how it's meant to be done :)
|
|
![]() |
|
Post Options
Quote Reply
Posted: 11 Apr 2012 at 11:26pm |
|
|
This should be sticky, I wish I'd seen it before..
Why are you setting this: "(LayoutHeight * scaleRatio - WindowHeight) / 2 / scaleRatio" technically the result would always be 0? Or am I missing something? EDIT: Also how is it that the element in your canvas stay magically centered? EDIT2: Disregard that I'm stupid, I didn't see the unbounded scrolling Edited by 0plus1 - 11 Apr 2012 at 11:47pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 12 Apr 2012 at 10:03am |
|
|
Yes, unbounded scrolling must be on so this can work :)
I've made this example but hadn't used it since, so let me know if you find any bugs or weird behaviors. |
|
![]() |
|
Post Options
Quote Reply
Posted: 15 Apr 2012 at 6:28pm |
|
|
Thanks for the info gammabeam
@Ashley I'm still running into the same problem with scale. Maybe this will explain. FullScreenTest.capx Edited by Thunder - 15 Apr 2012 at 7:44pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 15 Apr 2012 at 7:48pm |
|
![]() |
|
Post Reply
|
Page 123 4> |
| 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 |