SO I swung by and picked up DarkGDK.NET but I'm stuck at a point. Yea I know its one of those Tileset questions, but I've never used DBPro and such. I went through the help help and I'm having a hard time understanding most of the functions. It's not that I can read but some of the function could use an example. Well one day I guess.
Anyways my problem: {Source code}
DarkGDK.IO.File.SetCurrentDirectory("..\Media")
Dim bitmapbase As DarkGDK.Basic2D.Bitmap = New DarkGDK.Basic2D.Bitmap("TileSet.png")
DarkGDK.Basic2D.ScreenBitmap.SetCurrent()
DarkGDK.Text.SetColor(Color.White)
DarkGDK.Text.SetFont("Tahoma")
DarkGDK.Text.Size = 60
While DarkGDK.Engine.LoopGDK()
DarkGDK.Core.ClearScreen()
DarkGDK.Basic2D.ScreenBitmap.CopyFrom(bitmapbase, 0, 0, 16, 16, 0, 0, 32, 32)
DarkGDK.Basic2D.ScreenBitmap.CopyFrom(bitmapbase, 0, 0, 16, 16, 32, 0, 32, 32)
DarkGDK.Text.ShowText(10, 10, DarkGDK.Display.ScreenFPS.ToString)
DarkGDK.Core.Sync()
End While
This is what I have and hear are my questions.
The first copyfrom works but the second one does not. Why?
I tried to do a x,y loop (10 each) but the FPS goes down to a crawl.
For x As Integer = 0 To 10
For y As Integer = 0 To 10
DarkGDK.Basic2D.ScreenBitmap.CopyFrom(bitmapbase, 0, 0, 16, 16, 0 * x, 0 * y, 32, 32)
Next
Next
Why?
Yep I know, newbie 101 questions for you and I'll take all the lashing. but if your going to lash at me, be me with answers
Thanks