Hi,
I am using 2 Spriter animations for dynamic lighting in Construct 2.
These Spriter animations are exactly the same, except one is made of normal maps (purple and blue textures).
In C2 they are set up to have the same animation triggers and the normal map is on a layer above the regular character
I am able to get the dynamic lighting working well by syncing the normal map (normalmap) onto the regular animation (character) in C2, both the following work:
*Every tick = normalmap - set current time in Animation to character.timeRatio
*Every tick = normalmap - set current time in Animation to character.time millisecond
But sometimes, randomly when changing animations, both these ways to syncing the animations fail and the normalmap is visable over the character for a few frames before it re-syncs
It is almost totally random when this happens, most of the time it syncs and works perfectly, maybe one in ten or twenty times when switching animations the sync fails.
Is there anyway to lock these two Spriter animations together in a perfect sync?
Another way to look at this is that I need 2 Spriter animations to run perfectly ontop of each other, switching between animations, never losing syncronisation.
They need to be seperate Spriter files, as one needs to be on a different layer for the normal map shader effect.
I would really appriciate any help.
Thank you!