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
43
S
20
G
6
Posts: 108
Reputation: 6,596

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 )
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 254
Reputation: 2,332

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
43
S
20
G
6
Posts: 108
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: mekonbekon and 10 guests