How do I Zooming Layout in Center of the Screen

Get help using Construct 2

Post » Thu Jul 30, 2015 1:46 pm

I want to make zooming as game "Clash of Clan" or "Hay Day", I'm following the example "Touch - Zooming". If I set Unbound Scrolling - Yes as the that example, the layout will be zoomed in the center of the screen ( that I need in zooming ) but It can be panned away from edges. If I set Unbound Scrolling - No, I can't pan away from edges ( that I need in panning ) , but It can't zoom the layout in the center of the screen. Can someone help me with this please ? I'm so new with this feature. Thank for helps :D .
Here my capx : https://www.dropbox.com/s/x7yab7btwa5j3y2/zooming.capx?dl=0
P/S : I'm using Scale Outer ( no black bars ) , Letterbox Scale can't set fullscreen at all devices ( there will be black bars ).
B
13
S
1
Posts: 97
Reputation: 883

Post » Thu Jul 30, 2015 7:06 pm

I resolved this issue by adding 1 more block "NoMoreZoomIn"( an object name in my capx ) on the right to limit the right edge.
B
13
S
1
Posts: 97
Reputation: 883


Return to How do I....?

Who is online

Users browsing this forum: hrisnz and 13 guests