How do I do a stretching Arm

Get help using Construct 2

Post » Wed Sep 20, 2017 1:51 pm

Hello Guys

I am trying to do a stretching arm like in this Bartender game "http://www.agame.com/game/bartender" I managed to do most of the work except the smoothness of the hand. Mine is too rough, maybe somebody can help me make one with such a smooth movement.

Please Help!!
B
13
S
2
Posts: 43
Reputation: 749

Post » Wed Sep 20, 2017 2:34 pm

I think you need 2 sprites - Hand (just a rectangle) and Wrist.
Set Origin image point to the right end of the Hand sprite, and pin your Wrist to the left end of the Hand sprite.

Then simply change the width of the Hand sprite using Sine or LiteTween bahavior.

Edit: on the other though, Pin bahavior will not work here, because Origin point of the Hand is not moving. Still you can simply change Wrist position and angle to Hand's left end position on every tick.
Last edited by dop2000 on Wed Sep 20, 2017 3:47 pm, edited 1 time in total.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
19
S
9
G
158
Posts: 2,381
Reputation: 84,389

Post » Wed Sep 20, 2017 2:45 pm

ImageImageImage
B
72
S
22
G
290
Posts: 3,885
Reputation: 159,511

Post » Wed Sep 20, 2017 3:28 pm

Hey @PreacH!

Check this capx: https://www.dropbox.com/s/u98exn0asp3f0 ... .capx?dl=0

Hope this helps. Cheers!
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
22
S
6
G
3
Posts: 722
Reputation: 4,026

Post » Thu Sep 21, 2017 6:05 am

Thank you very much guys, you helped me a lot. You are the best!
B
13
S
2
Posts: 43
Reputation: 749


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests