Scale layout but still keep a max size

Get help using Construct 2

Post » Sat Feb 01, 2014 1:48 am

Hi all,

I was wondering, if I wanted my layout to scale with different screen sizes, but NEVER over a defined size.

For example : I define 1280*960 as MAXIMUM LAYOUT SIZE.

On a small screen (like phones) : it scales to 640*480
On a giant screen (more than 1280*960) : it doesn't scale to take a size more than 1280*960

is it possible ?

thank you :)
B
5
Posts: 12
Reputation: 249

Post » Sat Feb 01, 2014 8:03 pm

noone ?
B
5
Posts: 12
Reputation: 249

Post » Sat Feb 01, 2014 11:30 pm

you screen have bigger resolution than 1280*960 ?
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428

Post » Sun Feb 02, 2014 12:09 am

no, it was just an example
B
5
Posts: 12
Reputation: 249

Post » Sun Feb 02, 2014 12:11 am

you can stretch to screen resolution for example to full hd but sprite will be stretched too
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428

Post » Sun Feb 02, 2014 6:57 am

It's possible depending on what you need exactly. You mean scale right? Not expand the playfield? Anyway you can set it up with events, checking the device's resolution and adjust layout scale or cap it according to that.

Argh, writing scirra posts on a phone is a b*! (sorry)
B
39
S
16
G
6
Posts: 543
Reputation: 7,619


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 16 guests