How do I pin different instances of an object?

Get help using Construct 2

Post » Sat Aug 27, 2016 4:29 pm

Hello guys!
I'm making a game for Ludum Dare and I'm having trouble!

I have a main object, a Mirror, that has 3 instances on the screen. I want to pin one "collider" object on each one of the mirror instances.

Image

The blue objects are the mirrors, I want the purple objects (the colliders) to pin on each one of them.

Image

This is the code. I've tried lots of ways, but none worked. I tried to pick all instances and attach them, but what happens is that all the purple colliders pin to the first mirror, and the rest of the mirrors have no collider. Don't mind the instance variables, they don't seem to work.

I know that this is very specific, but I really appreciate your reading and I hope you can help me.
Thanks!
B
20
S
7
Posts: 24
Reputation: 1,422

Return to How do I....?

Who is online

Users browsing this forum: AndreasR, Casimir, David181 and 16 guests