Okay so I'm trying to create bullets, I made an 8x8 png in gimp, Created a static sprite from this png but every time a new bullet is created the game lags.
How should I draw a large amount of sprites? I tried creating a new sprite for each bullet, using a static sprite and even creating a sprite from a static surface, all of them lag whenever I create a new bullet and then it's smooth from then on. Edit: Nevermind, I was creating a new FontSurface for each bullet, must have snuck in there when I copied and pasted some code from Program.cs |
|||
|
|

Oh yeah that'll do it.
Oh yeah that'll do it.