scale move and zoom

Get help using Construct 2

Post » Fri Jun 22, 2012 11:52 pm

how can i make camera move to object while zooming in.

for example i have object one and object 2 if then collision together the camera move to them and zoom in of course it will be smooth zoom and move .. i have tried lerp but i couldn't really understand it very well.


i know lerp(start,end,the thing need to change from start to end) but still couldn't understand :(

B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Sat Jun 23, 2012 1:59 am

this will help you

example
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Sat Jun 23, 2012 2:25 pm

@vtrix , thanks this what i was looking for ^^
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Sun Jul 22, 2012 2:47 pm

Can you give a easier step for a beginner like me? :/
Just want to make like when [Actor] overlapped with an [object 01], camera zoom out (so that the [Actor] could see the whole map around it) then, when [Actor] goes away from the [object 01], it zoom back to screen size. Should I make another object around [object 01] to make a condition to zoom back to screen? how?
B
25
S
6
G
4
Posts: 76
Reputation: 5,163

Post » Sun Jul 22, 2012 2:56 pm

B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Mon Jul 23, 2012 4:29 am

Yes. THX Even though I'm new to the variables but I learn so much after playing around it. That just open a new door of possibilities for me.    Jaydon2012-07-23 10:53:41
B
25
S
6
G
4
Posts: 76
Reputation: 5,163

Post » Wed Sep 12, 2012 6:16 pm

Hi,

I'm new to Constructor too...
My question is: if I want to make the actor become smaller when he get far from the camera (using up arrow) and get back bigger when approaching the camera (using down arrow)? Just like it happens in an adventure game (Monkey Island, Full Throttle etc)
B
8
S
1
Posts: 3
Reputation: 744

Post » Thu Sep 13, 2012 4:22 pm

@alainpierre , i'm not sure what you are talking about but there is two ways to do that you are talking about :
first using animations and the animations getting smaller and smaller.. so its not zooming or anything about camera ...

the 2nd way is by scaling the layers so it will just scale the layer which the player in it but you will need alot of layers and you don't have the paid version so i would say to use the first one
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Thu Sep 13, 2012 5:36 pm

Ah,
Thanks @zsangerous, I hadn't thought of the possibility of insert the escalation into the character animation. It can really work. I'll try.
I like your game, well done.
Bye.
B
8
S
1
Posts: 3
Reputation: 744

Post » Thu Sep 13, 2012 6:33 pm

@alainpierre , you're welcome ^^
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Next

Return to How do I....?

Who is online

Users browsing this forum: spcsmrf and 27 guests