Quote: "thanks Rich Dersheimer but i want the ellipse to be an arm in my hangman game, i need it to be rotated, not rotating so i dont want it to be moving... hope that makes sense"
Yes, perfect sense. I made them constantly rotate to illustrate how offsetting the x and y location affects the rotation. After all, your upper arm rotates at your shoulder, not at some point outside your body, or half-way between your shoulder and elbow.
Here's another example of the rotation point affecting rotation.
set display mode 640,480,32
ellipse 32,32,32,16
get image 1,0,0,64,64,
sprite 1,100,240,1
sprite 2,300,240,1
offset sprite 2,32,32
sprite 3,500,240,1
offset sprite 3,10,32
draw sprites first
do
rotate sprite 1,wrapvalue(sprite angle(1)-.1)
rotate sprite 2,wrapvalue(sprite angle(2)+.1)
rotate sprite 3,wrapvalue(sprite angle(3)+.1)
circle sprite x(1),sprite y(1),5
circle sprite x(2),sprite y(2),5
circle sprite x(3),sprite y(3),5
center text 100,300,"Default rotation"
center text 300,300,"Moved to center"
center text 500,300,"Moved to 'joint'"
loop
@Grog -
Gruesome!