Why would you need 1024 projectiles at once, if you hard coded it?
Because I'm retarded and I don't like dynamically allocating stuff manually :(
As long as you can pass a variable as the size of the array
I was thinking of having something like a memory manager for the projectiles that would:
ReDim the array (Freebasic let's you redim while leaving data intact)
Store the current array size in a static variable (Okay, statics are bad. Whatever).
Set the last element in the array to some sort of terminating object so that I don't need to keep passing the size back and forth because that drives me nuts.
I dunno I need to actually work on this this weekend. I also need to come up with some sort of structure for the projectiles. Right now I'm just trying to get it to draw an indefinite amount of 0's and then move them in the proper direction.
(And various assorted issues with handling gamestates and gameloops~)
Okay so more importantly I need to majorly refactor how movement works, how player data is stored and passed around, and come up with a menu system since shooting depends on that. Additionally, uh, I just need to remember that right now the projectile creation functions just place a thing on the map and it moves.