What effect does layer stack play in glitchy animations, frame rates...
![machinegunkelly](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I have a funny situation where if I move my character up and down in the layer stack ( within one layer ) the animation can become more glitchy or clear up depending on it's placement....
ie: The character is in Layer 5, at the bottom, I Move him midway up the list of actors in Layer 5 and it can change the game dynamics and make it "glitchy" and I'm trying to get to the bottom of why...
So basically if I have my character at the bottom of layer 5, the animation is fine, but if I move him up the stack, I find the animation can become more glitchy and twitchy hehe :P
it's driving me mad, any help is appreciated
ie: The character is in Layer 5, at the bottom, I Move him midway up the list of actors in Layer 5 and it can change the game dynamics and make it "glitchy" and I'm trying to get to the bottom of why...
So basically if I have my character at the bottom of layer 5, the animation is fine, but if I move him up the stack, I find the animation can become more glitchy and twitchy hehe :P
it's driving me mad, any help is appreciated
Best Answer
-
domenius Posts: 108
The layer order determines the order of processing in your GS project. If an actors position relies on information updated in another actor, or if you are using timers to control the processing intervals, when in the loop your actor is updated can vastly change the "smoothness" of their operation. This is especially true with constrains. If the controlling actor is as high up in the layer list as possible, you can avoid issues like this most of the time.
Answers
if that's the case, thanks
Will test this out tonight and report back!
all signs of twitchiness are gone