I'm making a game in AS3, with immense inspiration from games such as Mushihimesama (Bug Princess on iOS), Dodonpachi and the Touhou series. It mainly revolves around having the player dodge a huge number of bullets (sometimes numbering in the hundreds) at a time while taking down a large number of enemies and bosses.
Each "bullet" in my game takes in several parameters, including start position, x-speed, y-speed, movement behavior, color and size. Each function that "fires" these bullets takes in parameters such as point where the bullets come from, initial angle to fire at, which bullets to fire, how many to fire, how fast to fire them, when to stop firing them.
Some big limitations to my methods are that bullets have to come from a single point, their starting points cannot be offset on the x or y, every bullet has to follow a specified path and behave in a specified way and they cannot be added to the stage without a parent.
If anyone has knowledge of these games and the best way to go about creating similar "fire" functions, I would greatly appreciate your advice.
EDIT: Another possibly important thing about this game is that the bullets are all drawn with code.