[example] rotary knob control

Get help using Construct 2

Post » Sat Feb 16, 2013 4:26 pm

Morning all,

I could not find a existing way to do rotary knob style controls like you might get on a synthesizer. There is a good example of sliders already

http://www.scirra.com/forum/example-how-to-make-a-configurable-slider_topic49212.html

but the implementation requires more work than a knob, which you can do with just one image.

Hope this is useful for someone!

http://bassmoi.com/knobexample/

c2 file at http://bassmoi.com/knobexample/knobs.capx
B
6
S
1
G
1
Posts: 15
Reputation: 938

Post » Sat Feb 16, 2013 4:48 pm

An interesting example!
Thank you very much for sharing.
:D
B
44
S
10
G
5
Posts: 122
Reputation: 6,557

Post » Mon Feb 18, 2013 10:19 pm

Nice knob
Try to remove the following line, works better IMO

B
20
S
5
G
8
Posts: 325
Reputation: 6,473

Post » Tue Feb 19, 2013 8:37 am

Nice tracking down Lemo! I will do that right now, thankyou very much
B
6
S
1
G
1
Posts: 15
Reputation: 938

Post » Tue Feb 26, 2013 4:30 pm

Nice example but do you figure out an easier way ?
I even guess that someone could make a plug-in out of it, that would be great !
B
21
S
9
G
4
Posts: 197
Reputation: 4,105

Post » Tue Feb 26, 2013 5:14 pm

@Laurent:
What do you mean by easier? There are many solutions to this, but I don't know if you would consider them easier or not. Anyway, here's how I'd do it, hope it helps:

RotateKnob.capx (r120.2)

PS: If you want plugins you should ask in the plugins subforum.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Tue Feb 26, 2013 5:54 pm

***deleted post***Laurent2013-02-26 18:03:39
B
21
S
9
G
4
Posts: 197
Reputation: 4,105

Post » Tue Feb 26, 2013 6:02 pm

@ Nimtrix
Thanks ! That's what i cal easier. How would it look like for a single knob (have hard time to remove the each knob routine)
Is there a way to implement a "free" angle", a zone the knob can't reach when it rotates and that prevents it to make a complete revolution?
B
21
S
9
G
4
Posts: 197
Reputation: 4,105


Return to How do I....?

Who is online

Users browsing this forum: Renfd and 32 guests