Just to let you guys know the beta is almost ready. I'm out of time this week but I expect to be able to compile an installer and update the PureGDK website with the new build later this week. The beta will be open for everyone so you don't need an account to try it out.
Here is the changelog, still subject to change:
(ChangeLog removed. See official release information on page 10)
Here is an example of the new syntax for opening the DBP screen:
Code: Select all
; Open a PureBasic window
OpenWindow(0,0,0,640,480,"DarkBasic Professional - PureGDK",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
; Initialize the PureGDK screen as a child of window ID 0
hDBWnd=OpenDBWnd(WindowID(0),0,0,640,480)
; Set the sync rate
dbSyncRate(60)
dbMakeObjectCube(1,3)
; Rotate the cube and update the screen
Repeat
x.f+0.2: y.f+0.4: z.f+0.8
dbRotateObject(1,x.f,y.f,z.f)
dbSync()
Until WaitWindowEvent(1)=#PB_Event_CloseWindow
Yes, dbSyncRate does work.
A simple changelog does not do justice the amount of work that's gone into rebuilding PureGDK into a much better product. I hope you'll pick up on some of the changes, most notably the error handler, threadsafety, and the new compiler. I'm very happy with all of the changes and hope to get this into your hands very soon!
Some things still on the TODO list:
** Add new commands to the help file.
** Add a new command SetDBWinCallback to allow subclassing the DBP window with the debugger on.
** New, faster math functions (this is tentative).
** Rewrite the GDK framework documentation to include the new .gdt files and syntax.
** One more compiler optimization that should speed up compiling a little bit more.