There are three kinds of actuaries: those who can count, and those who can't.
But that is the easy part. Now, I am not sure how you define the circular path the sprite must follow. One possibility is:
let a circle C be given by: middlepoint (Cx, Cy) and radius R.
Suppose the sprite has coordinates (Sx, Sy).
Now, translate the circle such that (Sx, Sy) is on the circumference. Then the sprite will follow the circumference of
that translated circle.
Is this a correct assumption? If so, the maths involved are not so very difficult. And we can discuss scaling issues.
There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
Do you start with a given centre and radius?
There are three kinds of actuaries: those who can count, and those who can't.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |