Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: zpaolo11x on March 21, 2019, 08:50:28 AM

Title: zorder and performance
Post by: zpaolo11x on March 21, 2019, 08:50:28 AM
Excuse my complete ignorance... is there a performance hit if one "abuses" of zorder? Let's say my layout has a lot of zorder explicit declarations going on, is this worse than having everything layied out correctly in the first place?
Title: Re: zorder and performance
Post by: jedione on March 29, 2019, 07:17:29 AM
guess nobody knows.....im just so used to not using them..

instead of using zorder,      I perfer to use donut files to keep all my " art, sounds, animation" separated

then just call them from layout.nut
Title: Re: zorder and performance
Post by: zpaolo11x on March 29, 2019, 07:24:04 AM
What do you mean exactly? Can you explain more?

In my layout I have to shuffle zorders because I have to raise one item above other items but below all other elements. I tried to do it without zorder but I couldn’t ...
Title: Re: zorder and performance
Post by: YellowBirdAZ on April 18, 2019, 11:58:14 AM
I made a layout a while back that did a lot of z-order monkey business, and I didn't notice anything. That was on an Intel dual-core though, not a Pi or anything.

I think recent updates to AM have changed z-order handling, but I thought it was just the ordering. I don't think it should be slower (or faster).
Title: Re: zorder and performance
Post by: jedione on April 21, 2019, 04:24:41 PM
z order should work ok know,,,   they say....as of one or two updates ago.......
 
witch i assume means no, interference with theme     sounds good. :-\