Scaling question

Get help using Construct 2

Post » Sat Aug 23, 2014 1:08 pm

Hi,
Please see attached image, I am using scaling value as: 'Letterbox Scale'

Problem is that there are still white bar on the sides, I want it to take the complete space available. I tried other scale settings but have not been able to achieve the result of covering the complete screen. Please help me in finding solution...

-Thanks
Mahesh
You do not have the required permissions to view the files attached to this post.
B
13
S
3
Posts: 76
Reputation: 1,679

Post » Sat Aug 23, 2014 1:19 pm

Getting rid of the white bars would either distort (stretch) or crop the game.. If u published it as a native app it wouldn't have the browser url bar and looks like it would fit perfectly
B
32
S
6
G
2
Posts: 317
Reputation: 2,801

Post » Sat Aug 23, 2014 1:23 pm

@IndieKiwi Thanks for your reply but I have noticed is that in apps made using jQuery mobile scaling covers the complete screen area without distorting the content. How do they achieve this as compared to C2 ?
B
13
S
3
Posts: 76
Reputation: 1,679

Post » Wed Sep 24, 2014 4:32 am

I tried using 'Set Canvas size' but have not been able to get rid of the black side bars. Any help would be appreciated...
B
13
S
3
Posts: 76
Reputation: 1,679

Post » Wed Sep 24, 2014 12:47 pm

using scale outer and having your background bigger than the actual layout is one option..
If you want your hud to remain relative to the viewport either use the anchor behaviour or set their position relative to viewportleft,right,top and bottom..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Sep 26, 2014 1:36 pm

@LittleStain it did not work for me, please see this file.
You do not have the required permissions to view the files attached to this post.
B
13
S
3
Posts: 76
Reputation: 1,679

Post » Fri Sep 26, 2014 2:46 pm

What am I supposed to see when looking at that file except some coloured sprites?
Scaling is still set to letterbox..
All events are crossed out and nothing has behaviours attached..
My suggestion was using anchor behaviour, but I see no reference to that, neither do I see any events using the viewportleft etcetera..

I'm not sure what you expect this layout to look like in the browser, so without any further explanation I'm at a loss..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Sep 28, 2014 9:01 am

@LittleStain all I am trying to do is fit the complete scene within various screen resolutions without side bars appearing.
B
13
S
3
Posts: 76
Reputation: 1,679

Post » Sun Sep 28, 2014 9:38 am

I suggest you check out this video mate, should answer most of your questions. https://www.youtube.com/watch?v=o0s-dIihEUM
B
21
S
11
G
6
Posts: 414
Reputation: 5,335

Post » Tue Sep 30, 2014 12:33 pm

Thanks @VIKINGS I'll go through the link ...
B
13
S
3
Posts: 76
Reputation: 1,679


Return to How do I....?

Who is online

Users browsing this forum: alextro, Ryan Kocourek, ultrafop and 7 guests