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

Original code by: BigGun - dmartin@cnl.com.au - http://www.thebiggun.com. Updated by Requiem and Hubdule. Generates really quite lovely patterns!!

Version: 1.0
Created: 25th Sep 2003 19:39
0
0
2D Effects

You have to sit and watch this one for a few moments to see the pattern changing and evolving. Extremely simple but quite hypnotic effect!

Version: 1.0
Created: 25th Sep 2003 19:38
0
0
3D Effects

A subtle but effective plain trick with a bitmap. Turn on/off ghosting or rotation for other styles.

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

This sine-waves a 640x480 BMP but vertically, not horizontally!

Version: 1.0
Created: 25th Sep 2003 19:37
0
0
2D Effects

Developed on a Pentium3-850 with GeForce 256 DDR but worked okay on less! Needs low resolution for speed though. Press the left and right mouse buttons during the program to "paint" on-screen. Directions are inversed.

Version: 1.0
Created: 25th Sep 2003 19:36
0
0
2D Effects

Waveforms and bits of code taken from the Blitz Basic public beta just to see if it could be done. Speed is irrelevant, style is everything :)

Version: 1.0
Created: 25th Sep 2003 19:35
0
0
2D Effects

A quite nice fireworks effect I think! Blurs the smoke trails away, multiple colours, different amounts of particles.

Version: 1.0
Created: 25th Sep 2003 19:34
0
0
2D Effects

Flying into a 2D starfield. Change stars value for more/less and the slide value for more/less distortion.

Version: 1.0
Created: 25th Sep 2003 19:34
0
0
2D Effects

Shows how a simple bit of camera/object movement could make for a rather nice little intro sequence.

Version: 1.0
Created: 25th Sep 2003 19:33
0
0
3D Effects

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

Move an object, e.g. a plain with a bitmap on it to look like a pointer, in specific area boundaries, with the mouse

Version: 1.0
Created: 25th Sep 2003 07:04
0
0
Input

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

An organized password box. Correct password equals continue and wrong password equals fail.

Version: 1.0
Created: 23rd Sep 2003 23:31
0
0
Miscellaneous

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

Find input on your keyboard. For ascii, inkey$(), scancode, mouseinput and entry$()

Version: 1.0
Created: 21st Sep 2003 16:11
0
0
Input / Output

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

Converts a long single line to and image of the Text wrapped in a box.

Version: 1.0
Created: 19th Sep 2003 20:40
0
0
Text

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

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

A very small function that will return a +1 or a -1 randomly.

Version: 1.0
Created: 18th Sep 2003 05:26
0
0
Math / Physics

Make long one-line text message to break down in smaller lines. Use this version of the code as an example of text parsing.

Version: beta
Created: 18th Sep 2003 05:09
0
0
Text

Pixel perfect sprite collision using the alpha value

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