Hey
For my game I am using VB6's .Circle and .Line - but I wondered if these were slow as I have made a basic "particle engine" - and it appears to be quite slow when dealing with 300+ particles (even though fps is reported as 114). I lack expertise in directx and opengl, and due to the time span I really don't want to go down that road of learning either of them.
I read that .NET GetPixel and SetPixel is about 12x faster than .Point - So maybe the same for .Circle and .Line? - Also could you please supply code that will generate a circle (ellipse as I think it is known in GDI)
thanks a lot :D
garreh
Here is one way:
Private Sub PictureBox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.Paint
e.Graphics.DrawEllipse(Pen
e.Graphics.DrawLine(Pens.R
End Sub