[Solved] Pin an Object to Another Instance of Itself

Get help using Construct 2

Post » Sat Dec 10, 2016 4:10 pm

I want to build polygons from lines, which are sprites.
I would like the lines to pin to one another, so that the polygons can be moved as units.
Any suggestions? I'm trying using families but having no success.
Last edited by mrtumbles on Sat Dec 10, 2016 9:12 pm, edited 1 time in total.
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 242
Reputation: 2,306

Post » Sat Dec 10, 2016 5:02 pm

Families is the way to do it. Pick one object as the Family object and the other as the Sprite.
ImageImageImage
B
71
S
21
G
230
Posts: 3,688
Reputation: 128,847

Post » Sat Dec 10, 2016 5:13 pm

Image

This is what I'm doing. Any suggestions?
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 242
Reputation: 2,306

Post » Sat Dec 10, 2016 6:07 pm

Can you post a CAPX?
ImageImageImage
B
71
S
21
G
230
Posts: 3,688
Reputation: 128,847

Post » Sat Dec 10, 2016 9:12 pm

Fixed - those events work - but not in the same event that creates the Line sprite objects! D'oh.
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 242
Reputation: 2,306


Return to How do I....?

Who is online

Users browsing this forum: plinkie, zenox98 and 15 guests