MDragY

For general discussion related FlowStone
Post Reply
User avatar
ChrisPap
Posts: 20
Joined: Fri Aug 17, 2012 4:31 am
Location: Hellas

MDragY

Post by ChrisPap »

Hi All
:shock: Can someone tell how is possible to move the mouse up and take the positive value and down to take the negative value. Because now in this simple schematic working backwards !
Attachments
MDragY.fsm
MDragY
(357 Bytes) Downloaded 935 times
:arrow:
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: MDragY

Post by Spogg »

Hi Chris

You just enter a negtive value for the scale input. In your case it would be -0.1 instead of 0.1

It always seemed odd to me that it should be this way round, but there you go!

Cheers

Spogg

EDIT: I just had a thought. Top left corner co-ordinate is (0,0) for graphics and going down vertically increases the x value of the co-ordinate. So this may be why they chose this way, for consistency with the graphics.
User avatar
ChrisPap
Posts: 20
Joined: Fri Aug 17, 2012 4:31 am
Location: Hellas

Re: MDragY

Post by ChrisPap »

Thanks for Help ! Spogg ,working good now ….don't have the logical design which I would like to have
,but it's ok :)
Thanks again for your time and here a ling with few simple vst/vsti i have built(I try to post more as soon I can)
https://cartelvst.blogspot.com/
:arrow:
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: MDragY

Post by Nubeat7 »

its because the mouse y axis starts on top and counts to the bottom like like all grafic related things, so in a rectangle the upper left corner is point 0,0. its confusing because often you start at the bottom and count upwards so you always have to subtract from the height when you want to count from the bottom.
Post Reply