sprite trajectory (10deg, 20deg,30deg)

Blitz3D Forums/Blitz3D Beginners Area/sprite trajectory (10deg, 20deg,30deg)

you don't need any kind of array, use Sin() and Cos() to precalculate the step values for the changes in x,y (in 2d)

example in the x,y plane for an angle of 10 degrees :-

dx# = sin(10)
dy# = cos(10)

now you just modify the sprite's x,y by adding on dx,dy each frame.