[Solution] : follow mouse movements on "rails"

Get help using Construct 2

Post » Fri Nov 18, 2011 3:16 pm

I wanted to have the possibility to click on something, and while the button isn't released, that the object follow the mouse, but only allong one of the two axis (i.e. when you go to the left or right, the object only slides allong the X axis, and vice-versa).
I needed that kind of behavior for a game, and since there is no pre-made behavior for that, here's a solution : capx
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests