Mouse motion detection

Get help using Construct 2

Post » Mon Oct 29, 2012 6:48 am

Hey there.. i am working on a game, where the player drags the object up holding the mouse left button down and the object moves up on the Y axis depending on how much hard the mouse was dragged. The object must move not instantly but should have a smooth and a comparatively slower movement than just setting position of the object to the mouse position.. Is there a way to detect mouse motion and the have the movement of an object depending on how hard/fast the mouse was dragged ?
B
7
Posts: 28
Reputation: 781

Post » Mon Oct 29, 2012 2:12 pm

.capx link

Edit: just lower the multiplier for slower movementkeepee2012-10-29 14:14:10
B
28
S
8
G
1
Posts: 469
Reputation: 4,683


Return to How do I....?

Who is online

Users browsing this forum: abdalghani, imothep85, LeFuji, makkancs, Marxally, Virpoja and 23 guests