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 checkDistance event, which can then register a button with
the "flee" event if the hunter is close enough (temporarily unregistering
movequarry) and of course an "intersect" check.  if the hunter intersects,
unregister and hide self.

Speed so far is really good too. (lock and unlock screen as usual making a
huge difference)

Hopefully I'll get better at thinking this way so I can make better use of
the library.  (mvc is new to me)


On Thu, May 19, 2016 at 10:40 PM, Mark Wieder <mwie...@ahsoftware.net>
wrote:

> 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 documentation.
>
> Aside from "start using stack libDispatcher", you'll be interested in:
>
> RegisterEvent
> SendEvent
> UnregisterEvent
>
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to