This is capx, I need a little help, I'm making drop shadows, I couldn't figure out how to assign to pin instances, for some reason I cannot use extra objects to assist due to optimization tips. There no way to access instance control to pin like sprite(0), sprite(1), etc.
Sorry for bothering you. But no one could help me how to deal to control the instances.
Would you mind to explain how to do this?
Develop games in your browser. Powerful, performant & highly capable.
If I understand correctly you use the same object for shadow and for the blue cross which shadow should be assigned to?
In the function try to pick instance from the family perspective (not Sprite2).
Then spawn Sprite2 (shadow) and pin it to the Family object (this has to be within the function so the SOL is correct).
On function "crateShadow"
Family1 pick by UID
Family1 spawn object Sprite2 at image point(x)
Sprite2 pin to Family1
other actions if needed[/code:2c0ze6wa]
— yes and I tested with your snippet, it's not working. You know in C2 it's very hard to access the instances such like Sprite2(index) to pin.
Maybe I don't understand what you exactly need. I pin with instances all the time. I've created a quick example https://drive.google.com/file/d/0BwT_0l ... sp=sharing
That's exactly solution what Im looking, I had frustration since I don't understand how to give action each desired instance. Anyway, thanks for all!