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

picks 6 random numbers but not 100%

Version: 1.0
Created: 27th Oct 2010 18:05
0
0
Complete Applications

An evaluation function which takes a string with a mathematical expression and calculates it.

Version: 1.0
Created: 26th Oct 2010 15:23
0
0
Math / Physics

5 boxes useing arrays

Version: 1.0
Created: 22nd Oct 2010 20:17
0
0
Complete Applications

This is a simple file viewer. This program gives a quick example of how to view a file in a directory. The program will display all the files of the current working directory to the screen and give you count on how many there are. This uses the standard DGK C++.

Version: 1.0
Created: 18th Oct 2010 20:13
0
0
Complete Applications

Demonstration of how to right click and drag across a large (2000 x 2000) map by only displaying the sprites that are on the screen.

Version: 1.0
Created: 18th Oct 2010 18:35
0
0
2D

A basic setup for a 2D shooter. No media.

Version: 1.0
Created: 11th Oct 2010 21:42
1
0
2D

To drive by mouse in Dark Dungeoun

Version: 1.0
Created: 4th Oct 2010 18:25
0
0
Input

Isometric camera example. Navigate,rotate with cursor keys + mouse. Moves 4 directions, sustaining rotation on angle x or y axis.Can be implemented to use with mouse(rotation). Simply copy paste the code to see how it works or download attachment. Cheers from Sky!

Version: 1.0
Created: 29th Sep 2010 14:58
0
0
Camera

colourfinder for box command box(left,top,right,bottom,c1,c2,c3,c4

Version: 1.0
Created: 15th Sep 2010 03:11
0
0
Complete Applications

3d graphics converter to dark basic command

Version: 1.0
Created: 11th Sep 2010 04:28
0
0
Complete Applications

Sudoku Puzzle Solver

Version: 0.1
Created: 6th Sep 2010 16:53
0
0
Miscellaneous

A simple number generator for replacing dice or anything else that needs a random number

Version: 1.25
Created: 6th Sep 2010 15:35
0
0
Input / Output

Lets you input without having to resort to input().

Version: 1.0
Created: 3rd Sep 2010 17:44
0
0
Complete Applications

BorderLESS Windowed App.

Version: 1.0
Created: 24th Aug 2010 07:21
0
0
Display

Get a true 3D coordinate from the 2D mouse position easily with this code.

Version: 1.0
Created: 20th Aug 2010 15:11
1
0
3D Maths

This example shows a sample implementation of a smooth rotation of the camera tracking for the purpose.

Version: 1.0
Created: 20th Aug 2010 07:49
0
0
Camera

Draws the UV co-ordinates of vertices onto a bitmap.

Version: 1.0
Created: 15th Aug 2010 22:20
1
0
Complete Applications

A game that gives you a random answer to your question.

Version: 1.0
Created: 12th Aug 2010 09:36
0
0
Complete Applications

a simple 29 line moon orbiting around a planet

Version: 1.0
Created: 9th Aug 2010 01:46
1
0
Complete Applications

Position from angle and disance

Version: 1.0
Created: 6th Aug 2010 04:11
0
0
Basic 2D

It's the effect of a radar sweep ready for you to drop in your game. No media needed.

Version: 1.0
Created: 4th Aug 2010 15:20
1
0
Games

Distance Formula for camera/object, object/object

Version: 1.0
Created: 4th Aug 2010 13:37
0
0
Complete Applications

exciting multiplayer game

Version: 1.0
Created: 3rd Aug 2010 16:54
0
0
Complete Applications

To help camera follow object

Version: 1.0
Created: 23rd Jul 2010 06:30
0
0
Complete Applications

Adds two strings together and coverts the string to a char.

Version: 1.0
Created: 22nd Jul 2010 06:39
0
0
Text

move object,collision,object hit

Version: 1.0
Created: 19th Jul 2010 21:06
0
0
Complete Applications

Shows how to go through a vector and change the value of a vector using an iterator.

Version: 1.0
Created: 17th Jul 2010 14:30
0
0
Core

Full multiplayer voice chat system using DarkNet for input and DBPro's memblock/sound systems for playback.

Version: 1.0
Created: 17th Jul 2010 12:35
0
0
Multiplayer

Returns the distance between 2 2D or 3D points

Version: 1.0
Created: 6th Jul 2010 12:58
0
0
Complete Applications

Change current working directory to that of your application.

Version: 1.0
Created: 29th Jun 2010 11:06
0
0
File