How do I zoom in differently for each level?

Get help using Construct 2

Post » Fri Mar 03, 2017 2:31 am

Going from level to level I will have large and small puzzles. For each level, how do I zoom in on different sized puzzles so they will fill most of the screen? Each level will have a static zoom.

https://www.dropbox.com/s/abjillm9tmfe1 ... .capx?dl=0
B
47
S
20
G
6
Posts: 120
Reputation: 6,718

Post » Fri Mar 03, 2017 11:52 am

You can use 'System>Set layout scale' for this. Something like this should give you a roughly appropriate scale :)

min( WindowWidth \ Puzzle.Width , WindowHeight \ Puzzle.Height )
<iframe frameborder="0" src="https://itch.io/embed/146124?linkback=true&dark=true" width="552" height="167"></iframe>
B
26
S
7
Posts: 254
Reputation: 2,389

Post » Fri Mar 03, 2017 9:44 pm

Thanks. Actually "layer scale" was what I needed instead of "layout scale".

After practicing, I was expecting scrolling to change the zoom focal point, but it doesn't. How do I change the focal point for a zoomed layer?
B
47
S
20
G
6
Posts: 120
Reputation: 6,718


Return to How do I....?

Who is online

Users browsing this forum: Cassianno and 2 guests