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 2,054 entries over 69 pages.
CodeBase Description Category

Basic player with simple navigation options

Version: 1.0
Created: 22nd Oct 2003 14:13
0
0
Animation

Complement to Pick Object

Version: 1.0
Created: 22nd Oct 2003 11:45
0
0
Input / Output

Function to spin the camera around a location

Version: 1.0
Created: 22nd Oct 2003 11:42
0
0
Basic 3D

Easily read and write .ini files, with no external .dll to download!

Version: 2.0
Created: 21st Oct 2003 21:15
0
0
Functions

These Functions Read data from an external file into arrays for easy access throughout your game.

Version: 1.1
Created: 21st Oct 2003 08:39
0
0
Functions

Simple Function to allow you to locate errors in code.

Version: 1.0
Created: 21st Oct 2003 07:47
0
0
Miscellaneous

This program creates a real-time bezier curve of which you can control all 4 points (start, end, control 1 and control 2) by pressing the keys shown and moving the mouse. Bezier curves are extremely useful for spirte paths and 3D object trajectories.

Version: 1.0
Created: 20th Oct 2003 13:21
0
0
Math / Physics

Allows access to Mappy data, which is stored in a DLL Been updated so you dont need Memory.DLL

Version: 1.1
Created: 18th Oct 2003 05:29
0
0
Libraries

A rising, fading 3D smoke effect using particles.

Version: 1.0
Created: 17th Oct 2003 14:27
0
0
3D Effects

Sorry - I know everyone has probably made this before but i had to have a go as im new to DarkBasic

Version: 1.0
Created: 16th Oct 2003 14:20
0
0
2D

This was a request on the forums. How to display a float and only 2 decimal places worth of values (instead of the whole thing). This is for printing the value to the screen as opposed to general math (for which it would be too slow).

Version: 1.0
Created: 15th Oct 2003 11:25
0
0
Text

delaying a piece of code in a loop

Version: 1.0
Created: 14th Oct 2003 06:33
0
0
Miscellaneous

A small critical chance system for in an RPG.

Version: 1.0
Created: 14th Oct 2003 06:00
0
0
Math / Physics

To save a particular set of screen shots into a specified folder as bmp's to convert to an avi via a 3rd party program.

Version: 1.0
Created: 13th Oct 2003 18:29
0
0
File

Removes spaces from a given string

Version: 1.0
Created: 13th Oct 2003 11:02
0
0
Text

drifting inertial movement with friction

Version: 1.0
Created: 12th Oct 2003 23:06
0
0
Math / Physics

This will write the file number to the file "exist.txt" which is created in the same directory as your project file. It will write to the file if a a model, image, sprite etc. Already exists. This is useful if you want to avoid having to search your code for that "Object already exists" error. UPDATES: 2.0 - Now displays the OPEN slots.

Version: 2.0
Created: 12th Oct 2003 17:49
0
0
File

Simple 2D tiling system showing scrolling under keyboard control

Version: 1.0
Created: 12th Oct 2003 06:38
0
0
2D Effects

Street lamps with haze around them, and a lit floor.

Version: 1.0
Created: 12th Oct 2003 06:30
0
0
3D Effects

It works for any sprite, no matter what the rotation or scaling of the sprites it will still retain the near pixel perfect collision.

Version: 1.0
Created: 11th Oct 2003 07:23
0
0
Sprite

this code provide you of a large water world in assotion with your game this would have some nice effect stupid that the fog operations can not be placed and have some diiferent fog in order to make this more realistic than it is!!!

Version: 1.0
Created: 10th Oct 2003 12:19
0
0
3D Effects

rem upper section before do loop rem create 4 matrix with water effect dim x4mat#(4,3) x4mat#(1,1)=0 x4mat#(1,2)=0 x4mat#(1,3)=0 x4mat#(2,1)=0 x4mat#(2,2)=0 x4mat#(2,3)=9999 x4mat#(3,1)=9999 x4mat#(3,2)=0 x4mat#(3,3)=0 x4mat#(4,1)=9999 x4mat#(4,2)=0 x4mat#(4,3)=9999 rem create matrix and load image load image "water.bmp",1 for x = 1 to 4 make matrix x,10000,10000,20,20 position matrix x,x4mat#(x,1),x4mat#(x,2),x4mat#(x,3) prepare matrix texture x,1,1,1 fill matrix x,0,1 ghost matrix on x randomize matrix x,25 update matrix x next x undim x4mat#(4,3) rem in do loop for x = 1 to 4 randomize matrix x,25 update matrix x next x

Version: 1.0
Created: 10th Oct 2003 09:15
0
0
3D Effects

simple snow effect, move camera around object and make Matrix for battle filed.

Version: 1.0
Created: 10th Oct 2003 08:16
0
0
3D Effects

Uses sprites as command buttons, Raise or Lower using mouseclick()

Version: 1.0
Created: 9th Oct 2003 18:15
0
0
Input / Output

A very simple version of a card trick

Version: 1.0
Created: 9th Oct 2003 02:30
0
0
3D

A function for drawing an ellipse at any angle

Version: 1.0
Created: 9th Oct 2003 01:56
0
0
Basic 2D

Should work on Classic Recursive algorith to create 2d mazes

Version: 1.0
Created: 8th Oct 2003 16:20
0
0
2D

Makes and textures a matrix.(updated!)

Version: 1.0
Created: 7th Oct 2003 19:38
0
0
Matrix

Basic FPS mouse look, WASD movement and strafing for beginners.

Version: 1.1
Created: 7th Oct 2003 17:55
1
0
Basic 3D

This code shows you how to draw ellipses by getting it's "radius" to a given angle, giving you the power to draw angled ellipses, giving a little thougth to it you can create an elliptical NEW*VALUE clone

Version: 1.0
Created: 7th Oct 2003 13:27
0
0
Basic 2D