I have a sprite which plays its default animation correctly when I place it in the layout but when I set this sprite as the mouse cursor it isn't animated. I must be overlooking something...
Thanks in advance for any advice.
Develop games in your browser. Powerful, performant & highly capable.
You can hide the mouse cursor and set the sprite to mouse.x, mouse.y every tick.
Or you can do this:
[attachment=1:3ai6wezg][/attachment:3ai6wezg]
I'm not sure which performs better.
I like that "on frame changed" method - not seen it before (and probably would never of thought of it). Thanks —
Thanks so much! After posting, I figured out the 'mouse x and y every tick' method but your second suggestion is much smoother and more elegant. Much appreciated.