musicien / compositeur

Forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




boatchers setup

Add a New Topic Reply to Post
UserPost

16:00
31 mars 2009


ghostandthemachine

Member

posts 9

hey guys,


I am having trouble using the bpatchers system and wanted to see if anyone could help me.

One question I have is, can you use two levels of bpatchers? I am messing around with a gui object that I want to be able to move around and have animated components. I have done it by building one UI object bpatcher, then I have a 4 more bpatcher's that animate and move (just using send script messages to slide and hide the secondary parts behind the main one.) I am essentially creating a little widget with menu's that animate slide in/out.

For some reason though when I name the bpatcher, as suggested by the notice, nothing works.

in the orginal patch I have the mmf.bpatcher with the argument bp-agui. Then I close that, and open my mmftemplate to test it out, and label the new bpatcher with bp-agui in both scripting name and arguments. (which i tried to copy from the examples) Strangeley, once I do this my new bpatcher not only doesn't work, but now can't even be seen by the js describe.

lastly, I end up getting a lot of error's in the print window saying « pattrmarker: pattrmarker: name bp-agui-interface already in use »

so I guess I have two questions to put out there; can I have multiple layers of bpatchers? and can anyone see what I might be doing wrong in creating any bpatcher's within mmf?


thanks as always


j

16:41
31 mars 2009


admin

Admin

posts 39

Hey J

for the moment, you can't use a bpatcher inside a bpatcher in MMF.
(and I have no plan to make it work soon, sorry,…)
but maybe you can find a workaround to avoid it, .. no ?

mmf.bpatcher creates a (named) pattrmarker ; and, by definition, it's not possible to have several pattrmarkers with the same name… that's probably why you get this error message :  “pattrmarker: pattrmarker: name bp-agui-interface already in use”

and that's why each bpatcher in MMF (in any interface) MUST have a unique name. (maybe I should explain it in the doc..)


MathieU

2:04
4 avril 2009


ghostandthemachine

Member

posts 9

hey mathieu,


thanks a lot. I got it working fine now and a work around for the sub bpatcher thing.


thanks again


jon

Reply to Post


Reply to Topic: boatchers setup

Guest Name (Required):

Guest EMail (Required):

Topic Reply:

Save New PostSmileys

Guest URL (required)

Math Required!
What is the sum of:
8 + 9
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

Search 

About the Mathieu Chamagne forum

Most Users Ever Online:

34


Currently Online:

1 Guest

Forum Stats:

Groups: 1

Forums: 6

Topics: 28

Posts: 86

Membership:

There are 15 Members

There have been 15 Guests

There is 1 Admin

There are 0 Moderators

Top Posters:

ghostandthemachine – 9

alp – 6

lossius – 2

nSa – 2

Boredomisacrime – 1

mateos – 0

Administrators: admin (39 Posts)