From the original SynthMaker forum (2004–2014), with its members’ names and dates.
dasdeck ·
hey all.
I wonder if it would be possible to give gui parts wich are multiplied by the loop component (an array array of dots for example) theyr own mouse areas.
i have the feeeling that only the last element from the loop can have a mouse area.
here is an example.
http://dasdeck.cybton.com/SM/guiloop.osm
you see soem dots. only the last has a mouse area, but the sheme sugessts that all dots have theyr mouse areas.
the feature i request here would make complicated constructs like sambean did in his wavashaper (one mouse area and a colussion system like thing) a bad nightmare of the past. you could then eaysily instance whole gui blocks within the loop.
D3CK
skOre ·
Uhm no, AFAIK, MouseAreas are not to be looped. If you want to adress looped areas, you will have to use space partitioning and arrays.
rl ·
good observation. I had the same problem before ([old link])
Thinking about a workaround: you could make the whole canvas a mouse area. Replace the Float Array with a String Array and keep the dot-data in a format like "posX, posY, value" or have three Float Arrays (posX, posY, value).
When clicking the mouse you could search the Array and find the dot nearest to the mouse position. (just ideas...)
skOre ·
(Thats what I meant to say ;D)
dasdeck ·
thanks for the tip. i already mentioned that i now of this aehm... workaround.
it gets used in sambeans waveshaper.
but i think if the gui loop spawn more than one area it would be a cleaner sheme and also more object oriented.
i wanted the devs to tell me wether an implementation in the way i sugget/expect it is posibble (should be) and will get implemented.
thanks anyway.
D3CK
malc ·
Hi D3CK,
I'd need to think about this. It may well be possible but I think it's unlikely that we would look at this soon due to other more pressing issues taking priority.
Malc.
dasdeck ·
thanks malc
D3CK
rl ·
skOre wrote: (Thats what I meant to say ;D)
oops, you've been faster with your answer. Seems we're both right 😉
skOre ·
No, I just didn't found understandable words for it 😉
Tom7777 ·
How about the devs make an Area loop module then you could just loop the areas over the V Loop stuff and it should work, then you could just use a combination of both modules if the visuals looped need to be interactive. 😀 Good idea?
Wrote something here? To have a post removed or your name hidden, write to [email protected].