Sliders

Get help using Construct 2

Post » Tue Sep 17, 2013 10:50 pm

Resolved the clamp command to allow movement upward instead of downward. Added comment describing what was changed.

https://www.dropbox.com/s/71rkdvvtn0lf88c/ControlRodsNew.capx
B
5
S
1
Posts: 15
Reputation: 405

Post » Tue Sep 17, 2013 11:08 pm

Much appreciated. Now there's a new problem, it goes both above and below the core (only want it to go above), and it seems to be of unlimited distance.

B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Tue Sep 17, 2013 11:14 pm

@ryackov Try this .capx

https://www.dropbox.com/s/71rkdvvtn0lf88c/ControlRodsNew.capx
B
5
S
1
Posts: 15
Reputation: 405

Post » Tue Sep 17, 2013 11:41 pm

I'll definitely add you to the credits. It doesn't follow the cursor but instead goes in the reverse direction.
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Wed Sep 18, 2013 1:11 pm

Ah HA. Sorry for the confusion on the intended behavior. If you remove the global variable at the top and change the action "OriginalMouseY+(ControlRod.Y-Mouse.Y)*0.5" to "Mouse.Y" as it was before it should allow you to move the ControlRod up with the mouse moving up. No need to add me to the credits, though I do appreciate the thought. I am learning this just like you.
B
5
S
1
Posts: 15
Reputation: 405

Previous

Return to How do I....?

Who is online

Users browsing this forum: Christmas, dop2000 and 47 guests