Satellite in 2D Shooter

BlitzPlus Forums/BlitzPlus Programming/Satellite in 2D Shooter

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

What direction is the correct direction? I'm not too sure what you mean. I suppose you've got a type collection for bullets tho. Can you give anymore of an explanation?

If you want the bullets to go in a particular direction, use sin and cos again.

bullet_angle=50
bullet_x=bullet_x+(cos(bullet_angle)*bullet_speed)
bullet_y=bullet_y+(sin(bullet_angle)*nullet_speed)


Is that what you mean?