CodeBase Entries
Welcome to our CodeBase where you can search through DarkBASIC, DarkBASIC Professional and AppGameKit source code covering a wide range of topics from full games to demo effects to object loaders.
All registered users can submit their own code from their account page, so why not contribute?
CodeBase Description | Category | |
---|---|---|
This routine subdivide a polygon surface in triangles like in D modelers. Version: 1.0
Created: 24th Mar 2004 18:34
|
Basic 2D | |
Learn how to make a basic 3D model viewer. Version: 1.0
Created: 24th Mar 2004 15:59
|
Basic 3D | |
Learn how to read strings from a .txt. Version: 1.0
Created: 22nd Mar 2004 19:25
|
File | |
this code shows how to build a 3d lift Version: 1.0
Created: 22nd Mar 2004 04:47
|
Complete Applications | |
This is an example of how to make a scrolling 2D background using tiles. Version: 1.0
Created: 21st Mar 2004 18:28
|
2D Effects | |
It generates a particular fractal in 3d Version: 0.1
Created: 20th Mar 2004 21:51
|
Math / Physics | |
Use this code to find the object in the game that is closest to another object Version: 1.0
Created: 20th Mar 2004 18:38
|
Math / Physics | |
This code runs a water matrix and underwater demo program. Simply replace the <Add filename here> with a valid file and run the water program. Simple! You can add this to your program if you'd like. This program also allows you to load a model, such as a swimming pool, for more effect. Version: 1.0
Created: 20th Mar 2004 17:12
|
3D Effects | |
Very simple utility for returning the scancode of any key pressed. Version: 1.0
Created: 20th Mar 2004 09:40
|
Input / Output | |
My first complete game in DBP, There were some aspects I struggled with such as bullet movement, bonus enemies etc so I posted it here for all to see. Version: 1.0
Created: 20th Mar 2004 09:26
|
Complete Applications | |
This is an enhanced version of Ping Pong by Will. I added a few things. Version: 0.5
Created: 19th Mar 2004 20:40
|
Basic 2D | |
Learn how to use particles to your advantage. Version: 1.0
Created: 19th Mar 2004 17:12
|
Particles | |
This will right justify text. Pass in a string, and the total character length. Version: 1.0
Created: 19th Mar 2004 04:17
|
Text | |
Stop your camera looking too far up or down Version: 1.0
Created: 18th Mar 2004 14:46
|
World | |
a cube follows the mouse pointer Version: 1.0
Created: 18th Mar 2004 07:11
|
3D Effects | |
Learn about animation in darkbasic pro. Version: 1.0
Created: 17th Mar 2004 17:36
|
Animation | |
Draws a pie chart. Add as many slices as you want, each with a value. Percentage that each slice takes up of the whole is automatically configured. Version: 1.0
Created: 16th Mar 2004 22:12
|
Miscellaneous | |
Teaches you how to make a character jump. Version: 1.0
Created: 16th Mar 2004 19:20
|
Basic 3D | |
Defines the rgb() values of ten basic colors so you don't have to. Version: 0.5
Created: 15th Mar 2004 20:15
|
Libraries | |
An upgrade of FPS base 1.0. Version: 2.1
Created: 15th Mar 2004 17:50
|
3D | |
This is a nifty bit of code for a timer bar in an rpg Version: 1.0
Created: 15th Mar 2004 14:28
|
3D | |
sourcecode of dynamic loading Version: 1.0
Created: 15th Mar 2004 13:36
|
Complete Applications | |
Teaches how to save a matrix for later use. Version: 1.0
Created: 12th Mar 2004 21:48
|
Matrix | |
This is the more advanced version of the image and memblock code. It has a flip, mirror and a scale command. Version: 1.0
Created: 12th Mar 2004 09:15
|
Image | |
It offers this functions for memblock and image function cutmemimage(mem1, mem2, xo, yo, xu, yu) function mem2img(memnr, imgnr, md) function file2mem(img as string, memnr) function img2mem(imgnr, memnr, md) Version: 1.0
Created: 12th Mar 2004 09:07
|
Image | |
See the long description below. Version: 1.0
Created: 10th Mar 2004 09:42
|
3D Maths | |
alienware competition 10th place operation genocide fps Version: 2.0
Created: 7th Mar 2004 19:11
|
3D | |
Introduction to darkbasic(Pro) programming. Version: 1.0
Created: 4th Mar 2004 16:41
|
Complete Applications | |
Sometimes, you want to be able to accurately control an element in-game. I decided to write a quake-style console for DBP and since then, I haven't looked back. This console allows you to issue commands such as "move object(4,5.3,3.2,1.2)"... If you find it useful then let me know, or drop in a credit. Please note that this will require editing before it will work. I've left in some of my code handling routines to show you what it can do and what you should edit. Version: 0.001
Created: 4th Mar 2004 16:11
|
Miscellaneous | |
Alternative rgb command that lets you specify the red, green, blue and alpha values of the returned colour. Version: 1.0
Created: 4th Mar 2004 04:02
|
Basic 2D |