Jump to content

DarkBASIC Professional

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lucas Tiridath (talk | contribs) at 08:04, 7 January 2011 (Undid revision 406014924 by ClueBot NG (talk)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
DarkBASIC Professional
Developer(s)The Game Creators
Stable release
7.5 (1.075) / 28 June 2010
Operating systemWindows
TypeCompiler
Websitehttp://darkbasicpro.thegamecreators.com

DarkBASIC Professional (often abbreviated DBPro) is a BASIC dialect targeted specifically at 2D and 3D game development. It is available from software company The Game Creators and is an offshoot of their original DarkBASIC programming language.

DBPro diverges from DarkBASIC in many different ways. DBPro uses DirectX 9c unlike the original DarkBASIC which used DirectX 7. Other additions include better support for networked multiplayer commands, BSP level support, bump, sphere, and light mapping, pixel shader and vertex shaders, commands for physics control, multiple camera viewpoints, better interfaces to external DLLs, advanced sprite commands using 3D to render them quickly in 2D, a particle system, and built-in queue and stack manipulation.

One of the most important changes was that DarkBASIC Pro uses true machine level compilation which allows it to be significantly faster than DarkBASIC. DarkBASIC created executables by appending a program's source code to a copy of the interpreter. Another notable change was the inclusion of a new IDE with builtin syntax highlighting, debugger, and project resource management. DBPro also allows access to existing or user created DLLs written in any other language. This feature can be used to expand its command set or access system resources and hardware otherwise not supported by default.

The latest version is version 1.075, which was released on 28th June 2010.[1] An unofficial DBPro convention has been held in Chichester, England every year since 2003. The First official Game Creators Convention was held on October, 2007 with most of the staff of The Game Creators attending.

Licence

Licences for DarkBASIC Professional were made freely available for individual home users in November 2009 although business and educational establishments cannot use the free version and so must purchase licences.[2] However the licence still means that anything produced using DarkBASIC Professional is royalty free.[3] In early 2010, The Game Creators also made DarkBASIC Professional open source by making the source code freely available on Google Code.

Dark GDK and Dark GDK .NET

Version 7.3 (1.073)

Dark GDK is a Software development kit for C++. It implements most of the commands available in DBPro as well as give the user lower level access to the API. Currently Microsoft Visual Studio 6 and Visual Studio .NET 2003 are supported but The Game Creators have stated that they are planning to support Dev-C++ in future versions, although they have not yet extended support to Dev-C++, and the plans may be dropped now that Visual C++ 2005 is supported.[citation needed].

The Dark GDK is now also available with Visual C++ 2008 Express. Dark GDK is free for personal use, however you must purchase a license if you plan on selling a game made with Dark GDK.

Dark GDK .NET was created for the same purpose, except it allows the user to create games using Visual C# .NET or Visual Basic .NET. Dark GDK .NET is not free.

There are rarely any tutorials online for Dark GDK and/or Dark GDK .NET, so beginners should search for DarkBASIC Professional tutorials instead and convert that code to Dark GDK.[citation needed].

Addon Packs

The Game Creators have helped nurture other external programmers who fill the missing gaps and co - released a number of additional .DLL addons for DarkBasic Professional. These include:

  • Dark Clouds - Allows you to make high quality clouds for your games
  • Advanced Terrain - Limited free version and pay version. Creates 'fast' terrain based on a black and white bitmap heightmap.
  • BlueGUI - Use windows dialog commands in applications and games
  • Enhancement Pack - Adds numerous commands such as user information gathering
  • Dark AI - Adds artificial intelligence commands
  • Dark Data - Adds database management commands
  • Dark Lights - Adds new light mapping commands
  • Dark Net - Adds networking commands using both UDP and TCP protocols
  • Dark Physics - Adds physics related commands compatible with the new nVidia Physics Processing Unit (PPU).
  • Dark Physics Update: - New version now has fluid support without a PPU.
  • Dark Shader - Adds the ability to create homemade shaders easily
  • 2D Plugin kit- Add particle effects and fake 2d light easily.[4]

There are also a number of free addon packs created by the community, these include:

  • Newton Physics - Provides rigid body physics
  • "Sparky's Dll" - Provides ray casting and collision
  • WinGUI - Provides an open-source solution to building windows environments
  • ViewGUI - Free, simple to use GUI using Direct3D with a WYSIWYG editor
  • IanM's Matrix1Utils plugin pack - Huge collection of commands, almost essential for DBPro programmers
  • Box2D Plugin Wrapper - Free 2D rigid body physics plugin, wrapping Box2D for DBPro
  • Octree Culling Plugin - Free plugin to allow easy octree based culling of DBPro objects
  • Tempest and MultiSync - Free plugins for added networking capabilities
  • BlitzTerrain - Free LOD Terrain plugin

Precompilers

See also

References

  • DarkBASIC Pro Game Programming (Second Ed.) - Jonathan S. Harbour & Joshua R. Smith, 2006, ISBN 978-1598632873
  • Manufacturer's website