SynthMaker

multiple mouse areas witchin a gui loop.

Archive · 2005 10 old posts

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].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.