Atan2 trouble

I have a kind of… well… tower defence game kinda deal that i’m making and there are a small problem with it.

I want the bullet to fire in the direction that the turret is facing and continue along that path. i already have everything else.

also i would like the turret to stick every 10 pixles to the grid… any way to do that?

please download the file and see what you can do. its also quite a cool game so you can have a look at the script too.

:smiley: thanks,

Stupid Saint

game on next reply