Page 3 of 3

Re: Ruby for noobs!

Posted: Sat Feb 22, 2014 8:59 am
by aronb
I just tried the XY Pad and while it works for XY values it does not work with presets on my machine either (xy pad01.fsm)

Any clues or updates on the xy pad???

Thanks,

Aron

Re: Ruby for noobs!

Posted: Sat Feb 22, 2014 10:20 am
by Jay
works fine here for me m8!

after you set the pad to a position you want to store in the preset, click the name button on your preset manager, it will highlight the program name in blue, press return, now move to another preset and do the same proccess again, now flick between the two presets! should work!

Re: Ruby for noobs!

Posted: Sat Feb 22, 2014 3:55 pm
by Nubeat7
yes, presets should work!

anyway here`s a small update:

- joystick(or how should i call it?) stays completely inside area now
- joystick is an ellipse now (no rounded rectangle)
- included readout

Re: Ruby for noobs!

Posted: Sun Feb 23, 2014 8:26 am
by aronb
Yes...

I see, I was not setting the value by highlighting the "program 1", etc.
It makes sense now, but it works a bit differently the say sliders and knobs. To "preset" a knob or slider you can just set it and go to the next preset, upon returning to that preset the knob or slider updates - without ever needing to highlight the program.

I looked at the Ruby code and it looks as though when the left mouse button releases it updates x and y (of course)... but to my "Flowstone Ruby Noob" brain I expected it to work in the same way as the sliders and knobs thus my confusion.

Again the Ruby code seems to be "sending" the info to the preset the same way as other GUI components (knobs and sliders) and yet you have to highlight - which is fine now that I know. Just seems a little different to me that all.

Thanks for the help - you all ROCK!

Aron

Re: Ruby for noobs!

Posted: Sun Feb 23, 2014 2:09 pm
by Nubeat7
ok i see, you are right aron (@walter sorry, just got it this time what you meant :oops: )

looks that the input from 2 preset parameter prims did mess it up..

using presetparameter array seems to work correct

tell me if there are still any issues

Re: Ruby for noobs!

Posted: Sun Feb 23, 2014 11:22 pm
by aronb
You are Awesome Nubeat7 - Works PERFECTLY NOW ! ! ! ! ! :D

That was the ticket - wish I was as skilled a programmer as you... but I am trying!

Next thing is continuous rotating knobs. Already posted a new thread for this one...

My "big project" is making a stage lighting system touch interface (Win 7 touch screen monitor) and so I need to make knobs and buttons that work in the real world work in Flowstone... Its getting there!

Thanks again !

Aron