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?

Search
Found 1,334 entries over 45 pages.
CodeBase Description Category

a quick screen saver with multiple cameras

Version: 1.0
Created: 5th Apr 2004 09:42
0
0
Complete Applications

31 cubes all rotating at different speeds. Looks stunning:)

Version: 1.0
Created: 1st Apr 2004 18:09
0
0
Animation

If you need the collision normal to bounce a sphere or align a object to the ground you need this :-) i think it is very usefull . the screenshot shows all normals from a object in special use ;-)

Version: 1.0
Created: 1st Apr 2004 16:07
0
0
Collision

This is the BumpReflectHLSL shader with the DBPro source to run it. You'll need to get the required media from FX Composer. http://developer.nvidia.com/object/fx_composer_home.html The media required is default_bump_normal.dds and nvlobby_cube_mipmap.dds.

Version: 1.0
Created: 1st Apr 2004 14:12
0
0
Pixel / Vertex Shaders

basic control over a cube

Version: 1.0
Created: 31st Mar 2004 17:08
0
0
3D

Moon lander game(newer version)-no media required

Version: 1.3
Created: 29th Mar 2004 18:33
0
0
3D

I went online and decided to look into bezier curves and before long i made a demo. Controls: Green boxes are end points and red boxes are control points

Version: 1.0
Created: 28th Mar 2004 20:45
0
0
Math / Physics

A basic battle engine for fighting games.

Version: 1.1
Created: 27th Mar 2004 09:20
0
0
Miscellaneous

This was made within 5 minutes of downloading DB Pro DEMO. It's basically 4,cones, 3 cubes, and 3 spheres all rotating in different in opposite directions.

Version: 1.0
Created: 26th Mar 2004 08:21
0
0
Animation

This routine subdivide a polygon surface in triangles like in D modelers.

Version: 1.0
Created: 24th Mar 2004 18:34
0
0
Basic 2D

Learn how to make a basic 3D model viewer.

Version: 1.0
Created: 24th Mar 2004 15:59
0
0
Basic 3D

Learn how to read strings from a .txt.

Version: 1.0
Created: 22nd Mar 2004 19:25
0
0
File

this code shows how to build a 3d lift

Version: 1.0
Created: 22nd Mar 2004 04:47
0
0
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
0
0
2D Effects

It generates a particular fractal in 3d

Version: 0.1
Created: 20th Mar 2004 21:51
0
0
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
0
0
3D Effects

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
0
0
Complete Applications

Learn how to use particles to your advantage.

Version: 1.0
Created: 19th Mar 2004 17:12
0
0
Particles

This will right justify text. Pass in a string, and the total character length.

Version: 1.0
Created: 19th Mar 2004 04:17
0
0
Text

a cube follows the mouse pointer

Version: 1.0
Created: 18th Mar 2004 07:11
0
0
3D Effects

Learn about animation in darkbasic pro.

Version: 1.0
Created: 17th Mar 2004 17:36
0
0
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
0
0
Miscellaneous

Teaches you how to make a character jump.

Version: 1.0
Created: 16th Mar 2004 19:20
0
0
Basic 3D

sourcecode of dynamic loading

Version: 1.0
Created: 15th Mar 2004 13:36
0
0
Complete Applications

Teaches how to save a matrix for later use.

Version: 1.0
Created: 12th Mar 2004 21:48
0
0
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
0
0
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
0
0
Image

See the long description below.

Version: 1.0
Created: 10th Mar 2004 09:42
0
0
3D Maths

Introduction to darkbasic(Pro) programming.

Version: 1.0
Created: 4th Mar 2004 16:41
0
0
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
0
0
Miscellaneous