Re: Quick question: player object callbacks still working?

2020-06-27 Thread Peter Bogdanoff via use-livecode
David,

Specifically what is not working? Setting the callbacks, the callbacks message 
not being sent or received?

Sometimes I’ve seen that the interval between callbacks is so great, that the 
message is never sent before the player ends. That is highly dependent on the 
timeScale of the player. Put in the message box after the file is loaded into 
the player:

put the timeScale of player “”

to see if the numbers make sense. Some files will have very different 
timeScales (a Mac file with 600/second may have a Windows equivalent of a 
number in the millions).

Peter Bogdanoff

> On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode 
>  wrote:
> 
> I’ve been testing an idea for an app - and I can’t get the callbacks property 
> sending of messages. Does it still work with 9.6 MacOS?
> ___
> 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


Re: Quick question: player object callbacks still working?

2020-06-27 Thread Paul Hibbert via use-livecode
Just done a quick test and it’s working fine for me with LC9.6.0 on macOS 
Mojave 10.14.6.

Paul

> On Jun 27, 2020, at 13:41, David Bovill via use-livecode 
>  wrote:
> 
> I’ve been testing an idea for an app - and I can’t get the callbacks property 
> sending of messages. Does it still work with 9.6 MacOS?
> ___
> 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


Re: Animation Engine: speed tips

2020-06-27 Thread Derek Bump via use-livecode

On 6/27/20 7:09 PM, David Bovill via use-livecode wrote:

I made a quick test - creating and animating small graphic circles along a complex 
curve with many points. It works fine with one or two animated spheres but I’d 
like to be able to animate >30 and it slows to a crawl after 4 or 5. I tried 
setting the layer mode appropriately for all the objects - but I’m doing this on a 
new MacBook Pro - and it does not make a difference.

Does anyone have an example stack with multiple animated objects that I can 
compare / test for speed?


Hello David,

You're welcome to play around with my sketchbook: 
https://speedbump.io/shared/yage-sketchbook.zip


Ignore the first card, as it's my misunderstanding of how to effectively 
use Animation Engine, but the 2nd card uses the movePolygonal command to 
animate 60 objects across several polygons at about 60FPS on my Ryzen 
3700X on Linux Mint 19.3.


Frame rate jumps a tad on Windows, but I don't have a Mac to test with 
anymore.


Would you be willing to share your stack?

--
Derek Bump

___
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


Animation Engine: speed tips

2020-06-27 Thread David Bovill via use-livecode
I made a quick test - creating and animating small graphic circles along a 
complex curve with many points. It works fine with one or two animated spheres 
but I’d like to be able to animate >30 and it slows to a crawl after 4 or 5. I 
tried setting the layer mode appropriately for all the objects - but I’m doing 
this on a new MacBook Pro - and it does not make a difference.

Does anyone have an example stack with multiple animated objects that I can 
compare / test for speed?
___
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


Quick question: player object callbacks still working?

2020-06-27 Thread David Bovill via use-livecode
I’ve been testing an idea for an app - and I can’t get the callbacks property 
sending of messages. Does it still work with 9.6 MacOS?
___
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