Drag sprite around circle?

Get help using Construct 2

Post » Mon Sep 19, 2016 11:42 am

Message: danni78 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I did an extensive search but just can't find it. How do I drag a sprite around a circle in Construct 2?

Javascript example here:
http://jsfiddle.net/x5APH/16/

Solution could also be, how to drag and drop a sprite along a circulair path.

Any help, examples, etc. is highly appreciated
B
6
S
1
Posts: 10
Reputation: 420

Post » Mon Sep 19, 2016 2:31 pm

If you pin the dragging object to a center pivot point with a pin with a bar setting would that work? The drag behavior would still work while pinned.
B
14
S
3
Posts: 55
Reputation: 912

Post » Mon Sep 19, 2016 9:19 pm

Thanks! I understand what you mean but I just cannot get it dragged. Want I more or less want is a 360 circular slider
B
6
S
1
Posts: 10
Reputation: 420

Post » Tue Sep 20, 2016 12:09 am

https://cdn.discordapp.com/attachments/ ... ircle.capx

Click the purple square to enable drag.
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Tue Sep 20, 2016 10:45 am

Thanks Coin-coin le Canapin! That is what I meant :)
B
6
S
1
Posts: 10
Reputation: 420


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, ignaciosimo, nickar and 55 guests