How to change 90 actors colour without delay?

Hello all,

Came across a problem a couple of days ago and still can't find a work around.
I have 90 actors (a grid of 9x9)) plus a few others.

After different score values, (10,20,30,40), they change colour at the same time.
However it takes around 0.1 to 0.2 to do it, and therefore affects the character who is constraining its positions to another actor (Actor B).
The problem shows when the 90 actors change colour, the main actor and Actor B, then have a gap between them for a split second.
At first I thought it was just a GS viewer thing and would work fine on devices. But after testing the adhoc, it does the same. And I need to try and fix this.

How am I changing the colours?

-- The colours are changed using three (3) interpolates behaviours changing actors self.green (Blue and red) values.
-- At first I was getting these values from a table, using each actors unique ID to reference the row. But after manually entering the values instead of referencing them form the table, I notice it improved, but it still is noticeable.

I even replaced the interpolates with the simple change attributes, but that didn't change anything.

I have also changed the layers, really cleaned the code of all actors. But I think the problem is that it can not change around 270 attributes in a short time.

Is there any possible way this can be achieved, or any other optimisations I should be doing, or even tricks with layers.

Also running latest build.

Many Thanks,

Comments

Sign In or Register to comment.