How do I make a zoom effect

Get help using Construct 2

Post » Tue Sep 20, 2016 10:29 am

let say im in a close view to the ship and then there is a enemy ship getting close in range i want my view to show me and him as well
how do we do that :D ty

i always accept any capx :P
B
27
S
9
G
3
Posts: 136
Reputation: 3,750

Post » Tue Sep 20, 2016 2:21 pm

do you have any other game example??

you need zoom in/out canvas? so let say you have close zoom on your ship and when enemy getting close in range the zoom go out (auto) max zoom between your ship and enemy ? and if you have 2-3 ship enemy getting close, the zoom get out again and show all ship.. ?
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Tue Sep 20, 2016 2:39 pm

Hi I am Samuel :)

My google play
B
39
S
10
G
1
Posts: 125
Reputation: 3,181

Post » Tue Sep 20, 2016 3:37 pm

B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Tue Sep 20, 2016 3:53 pm

You change either Layer or Layout Scale based on some action (mouse wheel clicks, etc.):
https://drive.google.com/open?id=0B-xiq ... kRuY0ZtVWs
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Tue Sep 20, 2016 10:43 pm

they both use plugins ? we cant do that without plugins ?

and if i cant then i would need the download link for these :D
B
27
S
9
G
3
Posts: 136
Reputation: 3,750

Post » Fri Sep 23, 2016 2:43 pm

Oops, I forgot that I had rex_hash plugin on that one. I use that plugin for something entirely unrelated to zoom & pan. Sorry.

This one does not have rex_hash: https://drive.google.com/open?id=0B-xiq ... 0xDel9TRHM

You should look at learning rex_hash though; it is useful for many things.
plugin-hash-table_t65765
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822


Return to How do I....?

Who is online

Users browsing this forum: davidbox, Mayfly and 6 guests