Set LAYOUT to browser viewport dimensions

Get help using Construct 2

Post » Mon Jan 20, 2014 12:44 pm

Hi,

Tried looking for this in the forums, and although i found a number of posts related to the subject, none of them really answer the question properly, or they mainly deal with the game being in "full screen" mode, which is not what i'm looking for.

Is there a way at runtime (specifically "System" -> "On Start Of Layout") to set the LAYOUT (or the PROJECT Window size?) width and height, rather than the CANVAS width and height to the browser's (or device's) available viewport dimensions? What i'm looking for is the ability to scale the playable screen "real estate" (not including the outside margins) to the maximum size afforded by the browser. Surely this must be possible?

Thanks in advance,

shrike71
B
6
S
1
G
1
Posts: 5
Reputation: 1,039

Post » Mon Jan 20, 2014 2:36 pm

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 » Mon Jan 20, 2014 5:50 pm

Thanks LittleStain!

Almost, but not *quite* what i needed, but it's given me an idea for a workaround nevertheless.

Cheers,

shrike71
B
6
S
1
G
1
Posts: 5
Reputation: 1,039


Return to How do I....?

Who is online

Users browsing this forum: namaewayukidesu and 19 guests