Gideros palette swap5/29/2023 If a vector is supplied, then the alpha parameter disappear, since the vector contains r,g,b and a values. This is in effect similar to setting visibility of children sprites to hidden, but it is handled in the parent sprite in a more efficient fashion.ĪPI-wise, most (maybe all) calls that accepted a color and an alpha parameter now accept a vector too (the new luau native type). Sprite:setHiddenChildren() to tell Gideros to completely skip the rendering of one or several ranges of children in a single call. Sprite:setCheckClip(boolean) to tell Gideros to check clipped children sprites and avoid drawing them (off by default) Two more calls have been added to help with performances when lots of Sprite are either clipped or out of screen: This include sprite boundaries, layouts, shaders, and some other internal variables, allowing higher draw throughput in general but also improved performance when querying object bounds, in Sprite:hitTestPoint() and in Sprite:getChdilrenFromPoint() which has been redesigned to be exponentially faster (it used to perform the same computations several times recursively). Internally, Gideros now tries to cache has much data as possible instead of having to recompute everything on each frame. Most changes in this new version aim to increase performance in both general and specific contexts. So, it was already picked up by some of you, but here is the official announcement about Gideros 2022.3.
0 Comments
Leave a Reply. |