How to adapt the layout

Get help using Construct 2

Post » Thu Apr 25, 2013 2:40 pm

Hi all! I'm trying to create a game similar to Arkanoid for smartphones exporting the c2 project with cocoonjs, but I have some problems with the resolution screen. In fact using a definite size of layout, it's impossible exploiting the whole display size for each phone.

I have read this tutorial https://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes but also using the Scale or Crop mode I haven't what I want.

For example, I can create a game for my samsung galaxy ace with 480 x 320, but the same app on samsung s3 with 1280x720 shows a white stripe on the edge of the screen.

Is there a way to adapt the layout depending on the screen?

Sorry for my bad english, thank you all.      
B
3
Posts: 2
Reputation: 179

Post » Thu Apr 25, 2013 4:37 pm

I released a game on Android and I created it with 800x480 Resolution. For me this is the best balance between quality, performance and memory usage.
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Thu Apr 25, 2013 6:53 pm

Thank you very much!!! The white stripes always remain but it's definitely better :) If anyone has other ideas, please post them ^^ Thanks!
B
3
Posts: 2
Reputation: 179

Post » Thu Apr 25, 2013 11:23 pm

Set your backround with anchor behaviour to fit completely the screen.
This is what I did and the result is pretty good.
Don't forget to ser your fullscreen mode to scale or letteebox scale
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Fri Apr 26, 2013 6:37 am

look here

https://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes
B
1
Posts: 1
Reputation: 127


Return to How do I....?

Who is online

Users browsing this forum: Braus, RickUSBstick, Yahoo [Bot], Yura G, zenox98 and 21 guests