How to get rid of ratio control in fullscreen?

Discussion and feedback on Construct 2

Post » Wed Apr 17, 2013 2:39 am

I'm having problems how to get rid of ratio control in fullscreen mode, sometimes i use

canvas
{
    width: 100%;
    height: 100%;
}

to fit the whole page and does unproportional stretching, but C2 is giving me headaches
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Wed Apr 17, 2013 2:52 am

I'm talking about like this:

B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Wed Apr 17, 2013 7:54 am

[QUOTE=Joannesalfa] I'm talking about like this:

[/QUOTE]

Sorry.How do you get this? i want try this mobile.so where you write the canvas code?.I will be happy if you answer

Regards,
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Wed Apr 17, 2013 8:40 am

@guero C2 keeps stopping updating canvas style due to c2runtime.js could manipulate width and height i have no idea how to modify c2 engine... C2 seriously needs to have an option like proportional and disproportional screen.

I wanted to integrate like this to C2

canvas.style.width = window.innerWidth + 'px';
canvas.style.height = window.innerHeight + 'px';



benefits of disproportional screen:
-No complaints about empty spaces on the edges
-True Fullscreen
-Gaming Experience

Disadvantage:
-Ugly stretching


That's all.

@Ashley should read the reason ^.Joannesalfa2013-04-17 08:49:20
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Wed Apr 17, 2013 8:57 am

Letterbox Integer Scaling? :P
B
45
S
19
G
10
Posts: 562
Reputation: 9,543

Post » Wed Apr 17, 2013 9:01 am

[QUOTE=Jase00] Letterbox Integer Scaling? :P[/QUOTE]


@Jase00 No, you just "don't get" about ratio
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Wed Apr 17, 2013 9:50 am

EDIT: I realised what your getting at and wrote pointless stuff lolJase002013-04-17 10:05:58
B
45
S
19
G
10
Posts: 562
Reputation: 9,543

Post » Wed Apr 17, 2013 10:03 am

@Joannesalfa thanks .i will research.
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Wed Apr 17, 2013 2:35 pm

Why would you want to stretch the game like that?? It looks horrible!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Apr 17, 2013 4:01 pm

[QUOTE=Ashley] Why would you want to stretch the game like that?? It looks horrible![/QUOTE]

@Ashley for some reason, take a look, i used disproportional method for background image, this sketchy game uses 640 x 480 is supposed to be landscape orientation for 960 x 640 ipod and 1024 x 768 android tablet, it made the real fullscreen, don't mind to vertical orientation.

A lot of developers are interesed to this solution, we wouldn't see empty spaces out of canvas window.

http://flamma-beta.com/multires/MAQ00023.MP4

I'm begging you to add disproportional stretch fullscreen option for C2 engine, i made 3 threads about fullscreen issue, please!
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Next

Return to Construct 2 General

Who is online

Users browsing this forum: blackhornet and 4 guests