Position Animator for Gosu…
While working on the game im doing with Gosu, i felt the need for a position based animator, which decides next hop coordinate at any given point in time. Here is how this works(
This has callback support @ any random point while the animation is playing…. and the same animation object can be reused for playing the anim multiple times.
Take a look at the test cases(@
) for details.
If you are doing something similar…. feel free to re-use this…..(its independent of Gosu itself).