Hi,
I have my code as below,
Local shipRotation = newObject( { “circlegreen.png” }, 48, 64, 150, 150, nil, nil, 1, gamescreen )
function shipRotation:getAngleTo ( centreX, centreY )
end
The image displays etc, but I don’t know what to put in the function to save the angle to? Can anyone help?
Thanks! [import]uid: 8699 topic_id: 5154 reply_id: 305154[/import]