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

A background to sprite collision detection (pixel perfect)

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

Has 10 skill levels. Guess a number from 1 to xxx.

Version: 1.0
Created: 6th Oct 2003 11:52
0
0
Math / Physics

I just made something for my cousin and thought jou would like to see how you can just make something with alphabetical keys it's actually kinda stupid but i thought i would just put it online here

Version: 1.0
Created: 6th Oct 2003 10:15
0
0
2D Effects

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

A large bouncing scroller, bouncing stars and distorting logos! Old-skool rules - sorry for the poor code structure, no time to optimise.

Version: 1.0
Created: 29th Sep 2003 14:10
0
0
Oldskool

A little sonic inspired intro

Version: 1.0
Created: 29th Sep 2003 14:09
0
0
Demos

Old Amiga demo effect re-done in DB, simple but effective.

Version: 1.0
Created: 29th Sep 2003 14:09
0
0
Demos

This was actually coded by my girlfriend and makes a nice melting picture effect!

Version: 1.0
Created: 29th Sep 2003 14:08
0
0
2D Effects

An updated version of my LCD text writer, now reads from a data statement for handling multiple-lines.

Version: 1.0
Created: 29th Sep 2003 14:07
0
0
2D Effects

This is a traditional sine-wave routine, only it pre-calculates the sine and cosine waves so we only paste 1 image every frame, not every line. This means we can get x21 256x113 distorters going at full frame rate on a P3-450.

Version: 1.0
Created: 29th Sep 2003 14:06
0
0
2D Effects

Vertically ripples a 640x480 2D image with an almost water like effect

Version: 1.0
Created: 29th Sep 2003 14:03
0
0
2D Effects

Scroll text vertically up the screen, ala film credits. Resolution independant, doesn't require graphics files.

Version: 1.0
Created: 29th Sep 2003 14:03
0
0
2D Effects

Brings on a 640x480 picture in 16x16 spiral chunks. Simple but nice opening effect.

Version: 1.0
Created: 29th Sep 2003 14:01
0
0
2D Effects

Cute explosive fun, nothing more, nothing less.

Version: 1.0
Created: 29th Sep 2003 13:54
0
0
Miscellaneous

Creates a Quad & Assigns it Vertex Colours

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

This Function will display a 2D box radar of your main character and all other objects on the matrix... It will be in the top right corner of the screen and uses circles to represent objects.

Version: 1.0
Created: 27th Sep 2003 09:28
0
0
Functions

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

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

Reusable screensaver structure with configuration screen. Now you can easily make your own saver !

Version: 1.0
Created: 26th Sep 2003 06:03
0
0
Complete Applications

Original code by: BigGun - dmartin@cnl.com.au - http://www.thebiggun.com. Modify the values below for different effects. Simple but lovely.

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

I wanted to do a complete game that didn't use any external BMP files. Here is the end result! Use the cursor keys or joystick and blow away the on-coming alien hordes. Features math based collision, smooth controls, 5 levels, score and great graphics in only 17k :-)

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

Coded by S. Lintula (sasu@dpoy.vip.fi) and optimised by R. Davey. Based on the fire code from Snippets Vol 3, this is a very nice piece of work indeed! Change the number of flames/sparks created per frame.

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

30 Vertical "rasters" sine-waving against a starfield and logo. Uses a BMP for the rasters because I'm too lazy to generate with code :)

Version: 1.0
Created: 25th Sep 2003 19:44
0
0
Demos

This routine is nice, fast, works in whatever resolution you want and creates a cool, fast scroller using text only (no external graphics). Infact it's fast enough to have the entire screen full of scrollers!

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

Original coded by Yacullo (mike@planetofthegeeks.com) and modified slightly by Requiem to add the background. Used with permission.

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

Coded by S. Lintula (sasu@dpoy.vip.fi) and optimised by R. Davey. This is a special updated version of the Real Fire code exclusively for the DarkForge Snippets Volume 4. Faster and smoother.

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

Based on my snow code and then modified by D.Fawcett and Raven to add the "wind" effect. I swapped out the "dot" commands for a paste image because it's a lot faster.

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