Drag & Drop Axes Change

Get help using Construct 2

Post » Fri Aug 09, 2013 10:58 pm

I am using the Drag and Drop movement type, and I see that you can set it to Vertical / Horizontal axis / Both.

I'd like to be able to change this during game play - i.e. it starts as only being able to move something vertically and then changes to being only able to move it horizontally / both.

Can anyone advise - I've been poking at it for a good while now with now joy!

Thanks in advance.
B
3
Posts: 6
Reputation: 187

Post » Fri Aug 09, 2013 11:32 pm

You could do it without using the d&d behavior.

Something like this

.capx
B
20
S
6
G
4
Posts: 347
Reputation: 4,451

Post » Mon Aug 12, 2013 6:07 pm

@cvp thanks very much - that's very helpful. It's probably a much better way of doing some stuff.

Thanks for your time.
B
3
Posts: 6
Reputation: 187

Post » Mon Aug 12, 2013 7:19 pm

Another way of doing it is having 2 drag and drop behaviors. One has vertical movement, one has horizontal movement, then just disable/enable them as needed.
B
46
S
14
G
7
Posts: 603
Reputation: 8,116

Post » Wed Aug 14, 2013 1:32 pm

I had an investigate but I don't think you can add 2 drag and drops to an object sadly - that was my instinct too, although I am happy to be corrected :)
B
3
Posts: 6
Reputation: 187


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests