Can I have different 'screens' in a patch?

Jul 31, 2010 at 2:57pm

Can I have different 'screens' in a patch?

I would like to have different screens in my patch, like a slideshow where each slide represents another set of buttons. I need to put one button that will trigger the next ‘slide’ and show the buttons. I could do it with pictctrl and putting all the pictures on top of each-other but the screen I am using is quite small and it would result in quite a bit of clutter. Any suggestions?

#51582
Jul 31, 2010 at 4:30pm

Take a look at the bpatcher object. In particular, the part of the help file labeled “patcher more”

#185020
Jul 31, 2010 at 8:58pm

the messages “hidden $1″ “ignoreclick $1″ to various objects could also help, if you want to do a stack of objects to simulate the slideshow. Also many message to [thispatcher], like bringtofront and sendtoback. If you use bpatchers (which adds files but keeps multiple controls in a single object) then these messages could be used quite well for what you’re envisioning.

If you do have a stack of similar objects, though, probably you’ll want everything fully opaque :)

#185021
Aug 1, 2010 at 4:08pm

I had a look at the bpatcher more but I think it is quite cumbersome to have everything in one patch and then having to look at the offsets. Is it possible to put every ‘slide’ in a bpatcher and then control which bpatcher is visble with a tab object?

#185022
Aug 1, 2010 at 10:41pm

@ Seejayjames I had a look at an older thread where you explined how to stock up different layers and control them with a tab object. Now, I want to do it with a bpatcher, how do I have to call the bpatchers then? I

#185023
Aug 2, 2010 at 5:16pm

The overview patch in the CNMAT MMJ Depot works like this. It is downloadable at:

http://cnmat.berkeley.edu/downloads

#185024
Aug 2, 2010 at 6:20pm

I just downloaded the CNMAT package, moved all externals to the right folders, but the overview patch does not work (I do not see anything under the tabs) and I cannot edit it. Any help?

EDIT: Ok, managed to open it but I do not get any clearer. I just want 8 bpatchers superimposed, 8 layers. Then I want to be able to send on the the front and the other to the back. is there an easier way then the CNMAT way? I cannotblieve that it ould be that hard.

#185025
Aug 2, 2010 at 7:36pm

Line up all your child bpatchers next to each other in a new bpatcher, which we’ll use for scrolling. Embed this “scroller” bpatcher in your parent patch. Now you can send offset messages to the scroller bpatcher to bring different areas of your patcher into view. I use this technique in the top section of my Gyre program.

#185026
Aug 2, 2010 at 7:49pm

in 110.modular i use “bringtofront” to [thispatcher] in order to switch
between 8 different patches in fullscreen mode.
it is triggered by buttons which are on all patches or by a key command.
that is fun.

-110

#185027
Aug 2, 2010 at 9:06pm

how does this bringtofront message works? I mean :what is the exact syntax I have to use?
Lets say my patcher is named slide1 How does the syntax look like:

#185028
Aug 2, 2010 at 9:39pm

that should work, if your bpatcher is named slide1:

script bringtofront slide1
send this message to [thispatcher]

?

#185029
Aug 2, 2010 at 9:52pm

 
here is the module i use.
 
make 2-8 patchers, put them to fullscreen and save.

load up one instance of my bpatcher in al of them. preferrably on the same position. :D

hook up the first outlet of my module to a [thispatcher] in your first screen (=patch), the
second in the second and so on.
 

-110

p.s.
we´re talking about switching between whole patchers, not a bpatcher _object_.
i think it is actually “front” … see my bpatcher or the reference fpr [thispatcher]

Attachments:
  1. 110.bp.pager
#185030
Aug 2, 2010 at 9:58pm

@Roman: I opened your file
I managed to do it with the front message, not bringtofront, and I need to have fullscreen enabled to be able to switch between patches

#185031
Aug 3, 2010 at 7:05am

Is there a reason that the offset message doesn’t work for you?

Here’s an example using the offset message.

Attachments:
  1. BP_Scroller.zip
#185032
Aug 3, 2010 at 9:31am

i mislead him because i offered something slightly different from what he was asking for.

#185033

You must be logged in to reply to this topic.