I made one like this a while ago, and what I did is create the finishing point and a speed for the star. That speed is how many ticks it should take for the star to get there. I then subtracted the centrex from the endx, same with the y, and divided that by the speed. Then I added that to the star's position and it worked like cake.