Re: Blast message to multiple objects..

2016-05-20 Thread Mike Bonner
Thank you SO much! I'm having a blast working with your library. So far, I have a send loop running that sends out a "moveQuarry" event to all registered buttons, and another button that clones a quarry button and registers it for the movequarry event. (random movement) I'll be adding a

Re: Blast message to multiple objects..

2016-05-19 Thread Mark Wieder
On 05/19/2016 08:36 PM, Mike Bonner wrote: Thank you Mark! Looking through the stack now. (a bit over my head so far) Interesting stuff, I'll hopefully grok it well enough to make use of it. The tl;dr: Use libDispatcher as a substack. Open the stack. Click on the API button for

Re: Blast message to multiple objects..

2016-05-19 Thread Mike Bonner
Thank you Mark! Looking through the stack now. (a bit over my head so far) Interesting stuff, I'll hopefully grok it well enough to make use of it. On Thu, May 19, 2016 at 8:48 PM, Mark Wieder wrote: > On 05/19/2016 03:38 PM, Mike Bonner wrote: > >> I don't suppose its

Re: Blast message to multiple objects..

2016-05-19 Thread Mark Wieder
On 05/19/2016 03:38 PM, Mike Bonner wrote: I don't suppose its possible to dispatch or send a message to a group of objects all at once is there? (for example lets call a bunch of buttons named *cough* sprite##) See if this helps. I threw this together several years ago, but it should still

Re: Blast message to multiple objects..

2016-05-19 Thread Mike Bonner
Does anyone know a way to get _internal calls to function outside of the ide? On Thu, May 19, 2016 at 5:35 PM, Mike Bonner wrote: > Thank you! I'll start reading. > > On Thu, May 19, 2016 at 5:30 PM, Alex Tweedly wrote: > >> >> Rather than have "all

Re: Blast message to multiple objects..

2016-05-19 Thread Alex Tweedly
Rather than have "all controls matching a mask ..." get the message, I think it would be better to introduce a publish-subscribe model. One example (not one you can use directly :-) is in the IDE, see the publish/subscribe section of

Blast message to multiple objects..

2016-05-19 Thread Mike Bonner
I don't suppose its possible to dispatch or send a message to a group of objects all at once is there? (for example lets call a bunch of buttons named *cough* sprite##) Its not that difficult to write a loop to dispatch to each, but it would be very interesting if one could release a message