stretchy and elastic rope swinging

Get help using Construct 2

Post » Wed Jan 09, 2013 5:02 pm

hello world
i want to ask how to make an elastic and swinging rope which sticks to other objects, examples with the games are
http://www.1mobile.com/run-spiders-man-379816.html for android
and
two ropes free for IOS

so
i am trying to replicate that effect of stretchy and elasticness in a project if it is possible on C2.

thank you for helping me ( in advance )
B
20
S
8
G
2
Posts: 122
Reputation: 3,202

Post » Wed Jan 09, 2013 9:02 pm

have you tried the rope example in the how to section?
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Thu Jan 10, 2013 4:21 am

i have, but it isn't perfect,and i really need away to implement it. is there any third party behavior for ropes, as for a perfect rope i will need to spawn a huge number of sprites.
@firebelly
B
20
S
8
G
2
Posts: 122
Reputation: 3,202

Post » Thu Jan 10, 2013 4:29 am

The rope example is as good as you can get almost, you just need to add more sections to make it more "realistic". There are settings in the physics behavior you can also play with to get a better "feel".

You can also use events to find the last piece of the rope, pin an object top it, which can than be "sticky".

For swinging you just need to apply a force or impulse to the last piece to make is swing.

This is off the top of my head.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Thu Jan 10, 2013 4:51 pm

@firebelly
thank you but how can i add more sections. i will put a sticky peice and a swinger peice
B
20
S
8
G
2
Posts: 122
Reputation: 3,202


Return to How do I....?

Who is online

Users browsing this forum: mercuryus, Naightwolf and 16 guests