How do I zoom in and out for a mobile book app

Get help using Construct 2

Post » Thu Jul 30, 2015 7:51 am

hi guys! Is there a way or plugin of construct 2 that implements zoom in out gesture?
B
12
S
1
Posts: 63
Reputation: 633

Post » Thu Jul 30, 2015 8:19 am

Have you looked at the pan and zoom example shipped with Construct2?

It's right there in your new project dialog..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jul 31, 2015 1:24 pm

yep. but the problems are:

1. The image is moving even I don't zoom in.
2. When I zoom it in and move it the image is moving and I can see the white workspace which is not appropriate
3. From zooming in to zooming out, the image must return to its original size
B
12
S
1
Posts: 63
Reputation: 633

Post » Tue Aug 04, 2015 9:11 am

Any luck on this?
B
12
S
1
Posts: 63
Reputation: 633

Post » Tue Aug 04, 2015 10:31 am

Well all you need is in that example, you only have to adjust the bits you don't like so you like them..

I don't know how you've set things up so answering this would be pretty much guessing..

Maybe an expression like clamp() could help, to create stuff like a maximum and minimum zoom and pan..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Aug 05, 2015 3:01 pm

I have a little knowledge on how can I understand codes sorry, though thanks for the help
B
12
S
1
Posts: 63
Reputation: 633

Post » Wed Aug 05, 2015 5:04 pm

There's a great plugin someone wrote called "Magicam" which would be great for what you are doing. check it out
B
87
S
44
G
16
Posts: 1,009
Reputation: 17,946


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests