Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

PureGDK / Is there any completed book about PureGDK?

Author
Message
Takis76
18
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 2nd Feb 2012 00:25
The included manual with PureGDK , is very small and almost incomplete.

There are no examples in the functions and some arguments are missing.

Is there any complete book or ebook or pdf available?

Also the community is tiny and there are very few examples in the forums and many funtions are missing. Does anyone ever created any game with PureGDK?
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 2nd Feb 2012 05:22 Edited at: 2nd Feb 2012 05:23
For PureGDK you are meant to leverage the language you're using it with; for example, examine the PureBasic documentation and ask questions on their forum about the "language".

Everything else that's game related you can ask about and grab code from right here on TGC forum. Everything related to DarkBasic Professional can be converted and used in PureGDK.

The easiest way to go about it is to search for code you like, drop it into DBP to test it out, then convert it over to PureGDK. The TGC forum really is an all-you-can-eat buffet of code snippets.

Just be aware that PureGDK functions may have a different order of parameters compared to DBP and DarkGDK.

Olby
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 2nd Feb 2012 13:53
Quote: "The included manual with PureGDK , is very small and almost incomplete."

I disagree. I find the PureGDK manual to be really well written. It covers both basic and advanced setup and customization. All function params are clearly stated and described. You don't need examples in the manual since it'll depend on the language you use PGDK with.

ACER Aspire 5920G: Core2Duo 2.2GHZ, 2GB, GeForce 8600M GT 1280MB, Windows Vista Ultimate SP1, PureBasic 4.60 + PureGDK 2.0
Takis76
18
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 2nd Feb 2012 23:07
Quote: "
I disagree. I find the PureGDK manual to be really well written. It covers both basic and advanced setup and customization. All function params are clearly stated and described. You don't need examples in the manual since it'll depend on the language you use PGDK with.
"


No

For example:
dbOpenScreen ( ParentWindow, x, y, Width, Height [, Depth [, Flags]] )

The flags not explained in the manual. And there is no code example for this.

Second example:

dbSetDisplayMode ( Width, Height [, Depth [, VSync [, MultiSampling [, MultiMonitor [, BackBufferWidth [, BackBufferHeight [, VRMode]]]]]]] )

Not explains what VRMode argument neither BackBufferWidth nor BackBufferHeight are.


Do you want to search and post all incomplete function examples?
If someone never used dark basic before will have problems.
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 3rd Feb 2012 01:28 Edited at: 3rd Feb 2012 01:29
These parameters exist if you want to use them but they are not documented in DarkBasic Professional which is where the base of the documentation comes from (although I have rewritten a significant portion of it).

If you don't know what they do then just ignore them. The brackets '[' and ']' signify that those parameters are optional.

You only need to type this:

dbSetDisplayMode(640, 480)

Or this:

dbSetDisplayMode(640, 480, 32)

Quote: "The flags not explained in the manual. And there is no code example for this."


These parameters exist for anyone who wants to use them. Their purpose is explained in the engine source code on Google Code. They are optional so there wasn't any reason to leave them out. You can use them or not.

Also, see here for what a backbuffer is, also called a "framebuffer":

http://en.wikipedia.org/wiki/Framebuffer

Login to post a reply

Server time is: 2024-03-29 00:19:53
Your offset time is: 2024-03-29 00:19:53