Pin: "Chain" pinning vs "hub" pinning?

Discussion and feedback on Construct 2

Post » Thu Jan 08, 2015 2:12 pm

Say you have a vehicle made up of dozens of parts (sprites). You need to pin them all to the sprite that is controlled by the player. Is it easier on the engine to pin groups of parts to "bases" and then pin the bases to the player controlled object, or to pin all parts directly to the player object? Or does it make a difference performance wise?
B
11
S
4
G
1
Posts: 159
Reputation: 1,803

Post » Thu Jan 08, 2015 4:12 pm

Hi - I'm not sure what works best in regard to pure performance ... but .. if you go the "chain pinning" way you might get a problem where the last sprites in the "chain" don't move at the same speed as your base /(hope that makes sense) - for some uses it might be a cool effect - but if your are trying to make a car out of several parts it would look very odd
Image
Get it on Google play or play on papio.nu
B
11
S
2
Posts: 79
Reputation: 786

Post » Thu Jan 08, 2015 6:58 pm

@Kali Good point. Thanks!

Edit:Tried it and yeah, even chaining once makes the pieces lag behind big time.
B
11
S
4
G
1
Posts: 159
Reputation: 1,803


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests