i am making a 2d game and i have all the nessicary things for the game accept the shooting function, i am new to C# programming and am using XNA for the game
i need a projectile class that shoots a bullet, sets the max bullet to 5 on screen, and also gets the charPos to spawn the bullet. i am not sure how to do it as i am moding the platform1 example game that comes with XNA so the code is hard to follow and things are being called all over the place rather than being declared at the start
the function does not need ammo or a damage rating as the bullets are one hit kills and unlimited
can anyone help or have done this for an XNA game before?