How to move image in a circle?
I have followed this tutorial on how to move an image in android and so
far so good. However I would like to know how to move the image in a
circle ?
I have been modifying the update() method in the Droid class all day long
....to no avail.
public void update() {
if (!touched) {
x += (speed.getXv() * speed.getxDirection());
y += (speed.getYv() * speed.getyDirection());
} }
Any help I would be forever grateful. Thanks You in advance.
No comments:
Post a Comment