How do I smooth periodic zoom in/out

Get help using Construct 2

Post » Fri Oct 21, 2016 3:05 am

hello:

does anyone know how to replicate the smooth parallax zoom in and out FX in the game Jetpack Refuelled shown in this video?

https://www.youtube.com/watch?v=-j4NSeyl82I

i know the scroll to behavior has zoom abilities, but i tried and cannot replicate the smooth parallax in and out FX?

if anyone can PLEASE post a CAPX, i'd be more than willing and happy to list you in my game credits in return for your favor.

thank you everyone.
B
136
S
43
G
10
Posts: 135
Reputation: 13,878

Post » Sat Oct 22, 2016 3:14 pm

https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"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
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Sun Oct 23, 2016 7:19 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Oct 24, 2016 1:15 am

thank you gumshoe2029 and 99instances2go for sharing your capx solutions with me.

gumshoe2029, i think i many not be using your capx correctly; because the zoom effect is not smooth and the jump from location to location seems with too big of a gap.

99insances2go, your capx was more with what i had in mind (the side to side and top/down parrallax is smooth)...but does not seem to have the zoom in-and-out fx...can you please share a modified capx to include a zoom in-and-out effect based on the characters location? i will do the same using your capx, but wanted to compare my solution with yours to see which is more efficient/intuitive.

thank you both for taking the time to help me, i will be sure to include both of you in my game's credits...if you'd like me to include an email address also, please let me know.
B
136
S
43
G
10
Posts: 135
Reputation: 13,878

Post » Mon Oct 24, 2016 2:13 pm

hyem wrote:gumshoe2029, i think i many not be using your capx correctly; because the zoom effect is not smooth and the jump from location to location seems with too big of a gap.


You can adjust the amount that it zooms by. Simply adjust the parameter, "zoomSpeed" to see what I am talking about. If you want a smoother zoom, try a zoomSpeed of 0.05 or 0.01.

Unless you are referring to the mouse pan. You can adjust the equation for that too to be smoother. On our live game client, I use a differential averaging process to smooth out the pan when you are zooming. You also need to make sure that your layout is sufficiently large and that you have unbounded scrolling set to yes, otherwise it will jump like my example does. If you set the layout size in my zoomTester to 10000,10000 then it will zoom more smoothly too.

Our zoom and pan is below:
Image
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"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
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Tue Oct 25, 2016 1:13 am

cool, thanks gumshoe2029. let me try out your recommendations and get back with you on what i've experienced.
B
136
S
43
G
10
Posts: 135
Reputation: 13,878


Return to How do I....?

Who is online

Users browsing this forum: Jasmaniac, PRIZZRAK, Yahoo [Bot] and 15 guests