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

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

A background to sprite collision detection (pixel perfect)

Version: 1.0
Created: 6th Oct 2003 12:53
0
0
2D

Demonstrates the principles required to "lay" a matrix over the top of an X object like draping a cloth over it.

Version: 1.0
Created: 4th Oct 2003 07:00
0
0
Matrix

Search for a string in an array using the binary search.

Version: 1.0
Created: 2nd Oct 2003 10:21
0
0
Miscellaneous

Example of a QuickSort function.

Version: 1.0
Created: 2nd Oct 2003 09:34
0
0
Miscellaneous

Quick Sort Function for upto 1000 records press Yes at prompt to see graphic demo of sort.

Version: 2.0
Created: 1st Oct 2003 18:14
0
0
Math / Physics

Often I dont get though the tons of object-numbers... Maybe you too! Here is a simple way of using NAMES instead...

Version: 1.0
Created: 30th Sep 2003 12:44
0
0
Basic 3D

Creates a Quad & Assigns it Vertex Colours

Version: 1.0
Created: 28th Sep 2003 19:33
0
0
Mesh

A simulation of beads on a piece of elastic...

Version: 2.0
Created: 26th Sep 2003 16:02
0
0
Math / Physics

Use your mouse and LMB to generate water waves...

Version: 2.0
Created: 25th Sep 2003 18:25
0
0
2D Effects

This function calculates the mouse vector from the camera into open space and then travels along it until it hits the matrix.

Version: 1.0
Created: 25th Sep 2003 17:37
0
0
3D

Watch the polygons on the cup flake away into nothing...

Version: 1.0
Created: 25th Sep 2003 13:23
0
0
Memblocks

This bit of code lets to grab the time and make into a sprite which you can then balance on a line.

Version: 1.0
Created: 25th Sep 2003 05:51
0
0
Math / Physics

Simple Screenshot for DBPro

Version: 1.0
Created: 24th Sep 2003 23:55
0
0
Image

Want to find out if your lines cross each other? Where they do or will cross? If they overlap? Then go no further :)

Version: 1.0
Created: 23rd Sep 2003 14:35
0
0
Math / Physics

Determine whether the points of a 2D triangle are anti-clockwise. This is a very fast routine as it doesn't use any trig functions.

Version: 1.0
Created: 23rd Sep 2003 14:07
0
0
Math / Physics

Determine whether a point is inside a 2D triangle. This is a very fast routine as it doesn't use any trig functions - just subtractions and multiplies

Version: 1.0
Created: 23rd Sep 2003 14:05
0
0
Math / Physics

This is a simple solar system model. Originally written by Arbitrage but amended and edited by Indi and Philip

Version: 1.0
Created: 22nd Sep 2003 13:13
0
0
Complete Applications

Demo using memblocks and sound. Produces a WMP-like visualisation from any sound. Commented.

Version: 1.0
Created: 20th Sep 2003 08:47
0
0
Sound

Very simple - darkbasic functions that mimic built-in function like cirle, ellipse, box and a new function that will create an N sided polygon.

Version: 1.0
Created: 20th Sep 2003 08:15
0
0
2D Effects

A little demo showing you how to handle multiple bullets in a 2D arcade style shooter. No media.

Version: 1.0
Created: 20th Sep 2003 07:53
0
0
2D

A simple snippet demonstrating 3D mouse control, how to select objects and simple distance calculation. Ideal for somebody starting out with RTS development.

Version: 1.0
Created: 20th Sep 2003 07:40
0
0
3D

A very basic chat program. Allows up to 8 users to join

Version: 1.0
Created: 18th Sep 2003 16:31
0
0
Multiplayer

Pixel perfect sprite collision using the alpha value

Version: 2.0
Created: 17th Sep 2003 13:34
0
0
Sprite