How do I use Drag and Drop with 4 directions?

Get help using Construct 2

Post » Tue Jun 10, 2014 7:42 pm

I want to create a box that can only be drag in horizontal or vertical, i saw an example that used click. Drag and Drop behavior will only allow me to use one of them at the time, and if i use both i can drag diagonal. i want only 90°.

ideas?
B
12
S
3
G
1
Posts: 188
Reputation: 1,377

Post » Tue Jun 10, 2014 10:30 pm

@vitorfgd
Check my post here:
viewtopic.php?f=180&t=103657&p=791599#p791599
ImageImage
B
108
S
49
G
23
Posts: 783
Reputation: 22,611

Post » Tue Jun 10, 2014 10:56 pm

Hi,
there are no properties to do it as you ask, but you can fix one of the direction "Axes" for Horizontal or Vertical.
try to change "Axes" propertie of your player drag-drop to HOR or VER.
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778


Return to How do I....?

Who is online

Users browsing this forum: AllanR, Artcadev and 12 guests