How do I move a sprite family together

Get help using Construct 2

Post » Sat Mar 28, 2015 1:55 am

Hi,

I want to make a scrollable menu with a sprite family. I'm using the drag n drop (vertical) and the pin behavior on my sprite family.

When i'm scrolling it's only working when dragging one sprite, as soon as i release the click on the sprite, it's stuck and i can't drag anything.

Can i make this work? Should i try something different to have a scrollable menu? I'm doing this for my levels page, where the player can choose the level he wants to play...

Txs a lot!
B
9
S
3
Posts: 36
Reputation: 1,144

Post » Sat Mar 28, 2015 8:03 am

Try to add a pick all family object to the event for the drag and drop event setting the Y for the family object.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Sat Mar 28, 2015 1:19 pm

hi, i've tried the pick all and there was no event to set y... still not working. Also, i've forgot to mention it's only moving when i drag the instance i've created first
B
9
S
3
Posts: 36
Reputation: 1,144

Post » Sat Mar 28, 2015 1:35 pm

i've recreated it outside of my game to make sure their wasn't anything else... Still not working...
B
9
S
3
Posts: 36
Reputation: 1,144

Post » Wed Mar 15, 2017 12:57 pm

This worked for me, I hope it makes sense:

http://imgur.com/sUAtBBM

It uses a family to separate between the dragged object and the objects to pin to it.
B
9
S
1
Posts: 97
Reputation: 715


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 54 guests