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

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

Dax, PIIs have substantial maths on board so sin and cos are not a big worry.

Optimisations come looking at your code once you've finshed, where you can shave cycles off loops, or indeed remove loops altogther.

For example. You might not need to run AI code for every enemy every loop. You might be able to get away with running 1 ai code per game loop and running through your enemies therefore removing an entire loop from you main loop.