there are 3 buttons for the movement of the space ship in my game.
Left - rotate anti-clockwise
right - rotate clockwise
up - thrust
i've settled the rotation part pretty easily. the problem is doing the thrust. i dunno how to calculate the destination rectangle coordinates for blitting.
i've got the actual game in my webserserver at click me
please hope u guys can help me fast. thanks.