DarkBASIC
|
DarkBASIC is a commercial game creation programming language released by the United Kingdom company The Game Creators. The language is a structured form of BASIC and is similar to Amos on the Amiga. The sole purpose of the language was game creation using Microsoft's DirectX 3D library for graphics but is well rounded enough to do almost any programming task. It was first released in 2000 by DarkBasic Software ltd. (now The Game Creators ltd.) and was continuously supported until 2002 when The Game Creators released the more powerful and extensive DarkBASIC Professional using newer versions of DirectX.
Sample Code
rem Move a 3D box around the screen sync on : sync rate 60 ` sets the refresh rate disable system keys make object cube 1,100 ` creates a cube of size 100 posz=10 posx=10 posy=10 do ` start main loop ` control if uparrow()=1 then inc posy if downarrow()=1 then inc posy if leftarrow()=1 then inc posx if rightarrow()=1 then inc posx if escapekey()=1 then end position object 1,posx,posy,posz ` reposition object sync ` update screen loop ` end main loop
See also
External links
- The Game Creators website - http://www.thegamecreators.com
- DarkBASIC - http://darkbasic.thegamecreators.com