Turrets

Blitz3D Forums/Blitz3D Beginners Area/Turrets

I have this turret on top of a base (and I'm talking 2D here) and I need it to shoot different directions depending on how it's rotated. But since there's 45 rotations and you can't do fractions of movement, I need a way that the amount it moves on the x coordinate changes slightly instead of an entire pixel per frame. I could also just make less rotations, but it wouldn't control or look as nice. Anyone know a good way to do this?