Hello.
Here is a bugreport from me.
Position of Spriter scml object lags from position of player sprite object with platform behavior. When you have couple other sprites pinned to player sprite this lags look very annoying.
Here is a link to capx file that demonstrates lags:I've investigated the problem a little bit. It looks like the problem is in changing positions of sprites (attached to animation timelines) in tick() handler of Spriter plugin instead of doing this in a sort of draw() method when all the conditions of current event loop iteration were processed. I've added javascript console logging:
- "spriter tick" to Spriter plugin tick() method
- "position change tick" to "On every tick" event sheet condition where I set position of scml object to position of player sprite.
- "spriter draw " to Spriter plugin draw() method
Here is a piece of the javascript console log:
spriter tick Spriter_plugin.js:762
position change tick VM154:1
spriter draw Spriter_plugin.js:967
spriter tick Spriter_plugin.js:762
position change tick VM155:1
spriter draw Spriter_plugin.js:967
spriter tick Spriter_plugin.js:762
position change tick
So Spriter plugin changes positions of attached sprites before position of the whole scml object is changed during "position change tick" event sheet condition processing.
Could you help with this problem either fixing it or proposing a workaround?