I’ve managed to move my sprites from point A to point B thanks to the universal tween engine.
However, I want sprites to move at a constant speed, without a specific end value. This is something the tween engine can’t do (to the best of my knowledge). Moreover, I want to continuously change the angle at which the sprite is travelling. I plan on using the tween engine for angle interpolation because I will have an end value for this property.
So far all I could think of was doing some math and then constantly update my sprites’ X and Y coords. I’m also reading up on Matrix3 class to see if it could be of use.
I’m working with many 2D sprites that I want to move differently in various directions. What’s the best way to go about achieving this?
Any help is welcome.
Thanks!