Hello.
I have bullets being fired from a cannon, the cannon is a pre-drawn isometric sprite and its 40 animation frames are at 9 degree increments, the angle is set from a seperate rotating "pointer" sprite as such :
set cannon animation frame to round(Pointer.Angle /9)
I want to fire a bullet at the same 9 degree increment to match the cannon frame angle.
setting the bullet angle to
Pointer.Angle
works OK, but the angle obviously isnt rounded.
setting the bullet angle to
round(Pointer.Angle /9)
doesn't work..
Can anyone tell me where I am going wrong?
Thanks in advance..