vectors, or something like that?

Blitz3D Forums/Blitz3D Beginners Area/vectors, or something like that?

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.

Anybody have any hints on how I could approach coding a system that would fire a 2d bullet, from a point, to an area of the screen above determined by the angle picked using keydown?

Kinda like the Bubble Bobble game where a bubble is fired from a fixed position and goes in the direction the arrow faces.

I'm assuming I would have to find the vector path. I tried using sin/cos to achive it but it ended up getting messy and complicated.

Any help would be appreciated, and please, if a code snippet is posted can you leave a little description of whats going on.

Thanks

Amon.