How do I drag scroll with zoom?

Get help using Construct 2

Post » Fri Dec 09, 2016 11:30 am

How do i make this screen drag scroll work with layer scale?

Image

When you hold the left mouse button you can grab a point of the screen, hold on to it and drag the screen around. It works fine at a layer scale of 1.0 but zoomed out to 0.5 it does work correctly. I'm guessing it has something to do with z,y mouse positions being altered. I thought adding mouse(layernumber).x would fix it but not.

Any help thanks?
B
43
S
22
G
20
Posts: 735
Reputation: 11,977

Post » Fri Dec 09, 2016 1:24 pm

B
33
S
18
G
27
Posts: 2,433
Reputation: 20,330

Post » Fri Dec 09, 2016 3:13 pm

@99Instances2Go that's it exactly, thanks for taking the time to help.
B
43
S
22
G
20
Posts: 735
Reputation: 11,977


Return to How do I....?

Who is online

Users browsing this forum: marc254 and 3 guests