I'm making a sort of top down shooter game, and so far regarding shooting, my bullet correctly spawns on command and facing the right angle (calculated using the mouse coordinates), but I've run into a real problem now: no matter what I do, I can't get the bullet to move in the right direction. Everything I've tried has the bullets flying in crazy directions at ridiculous speeds.
All I need is the few simple lines of code that use trigonometry to figure out and propel the bullets in the direction they're facing. Help please!