requestAnimationFrame mouseevents lag

I have am running a Ticker.raw(animate). It runs fine the first time but when restart the "game" all mouse events make the rAF lag. When I tap it, it briefly "stops/pauses" the animation, for a millisecond, still noticeable. When I move the mouse it lags big time, the more I move the mouse the more is "lags" to almost look like a pause.

Any ideas?

Sounds like a coding error. Like event calls on top of event calls, etc. or multiple Ticker functions.

When I zog Ticker.list.values I get two functions, C() and i() that repeat. I take it these are the internal ZIM Tickers? Why would they repeat? I see my function there as well.

Those are minified function names. No idea what they are. Probably best, just to send us the files and we can have a peak. You can DM me if you want.

OK, I found the problem. Not sure why but at least I know where to look and solve. Thanks.

1 Like