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
39
S
18
G
5
Posts: 98
Reputation: 5,621

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: 237
Reputation: 2,296

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
39
S
18
G
5
Posts: 98
Reputation: 5,621


Return to How do I....?

Who is online

Users browsing this forum: mekonbekon, NadeemAbbass and 7 guests