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

Displays all possible colour combinations (using a 4-step increment)

Version: 1.0
Created: 16th Sep 2003 10:53
0
0
2D Effects

Full-screen vertical scrolling trick with image-wraparound - doesn't actually "scrolly" anything.

Version: 1.0
Created: 16th Sep 2003 10:46
0
0
2D Effects

I saw another example of this, but this uses much less code to detect for a double mouse click. I wrote it some time ago cause someone requested it.

Version: 1.0
Created: 15th Sep 2003 20:04
0
0
Input / Output

This is an even faster version of a starfield, and is more flexible than the tutorials

Version: 1.1
Created: 15th Sep 2003 16:18
0
0
2D Effects

Simple readable example of using an array as a stack

Version: 1.0
Created: 15th Sep 2003 14:01
0
0
Core

Simple readable example of using an array as a queue

Version: 1.0
Created: 15th Sep 2003 14:00
0
0
Core

Shows both a countdown timer and an elapsed time timer.

Version: 1.0
Created: 15th Sep 2003 13:58
0
0
Core

Simply send an ASCII code to this function and it will return a description of the key. Easy to understand and edit if for instance you need to use it on a non-qwerty keyboard

Version: 1.0
Created: 15th Sep 2003 13:31
0
0
Text

See whether the user has dbl-clicked btn 1...

Version: 1.0
Created: 15th Sep 2003 11:59
0
0
Input

this lets you exporter x file from DBpro ( this do not do animation )

Version: 1.0
Created: 14th Sep 2003 10:08
0
0
Basic 3D

A pulsating wireframe shaded sphere.

Version: 1.0
Created: 14th Sep 2003 09:48
0
0
3D Effects

Okay so they aren't real rasters - but they look good anyway! Includes my raster function for your own use.

Version: 1.0
Created: 14th Sep 2003 09:48
0
0
Basic 2D

In the days of old we had to pre-calculate everything. In this example. I show you how to achieve a smooth and fast full-screen scroller using only sprites that never change position.

Version: 1.0
Created: 14th Sep 2003 09:47
0
0
2D Effects

Does one of those classic green-screen text display writers.

Version: 1.0
Created: 14th Sep 2003 09:46
0
0
2D Effects

Strange results happen when you stretch spheres!

Version: 1.0
Created: 14th Sep 2003 09:45
0
0
3D Effects

Simple display of the point command to nicely shade text

Version: 1.0
Created: 14th Sep 2003 09:45
0
0
2D Effects

A nice and smooth text blur display.

Version: 1.0
Created: 14th Sep 2003 09:45
0
0
2D Effects

This will take a small bitmap and fill the screen with it. Just like the HTML background attribute.

Version: 1.0
Created: 14th Sep 2003 09:44
0
0
2D Effects

Fills the screen with a smooth gradient fill effect.

Version: 1.0
Created: 14th Sep 2003 09:43
0
0
2D Effects

A nice resolution independant 2D snow effect. Change the snow value for more or less flakes.

Version: 1.0
Created: 14th Sep 2003 09:42
0
0
2D Effects

What can I say? I wanted to do a game! Here it is. Columns converted from the Megadrive/Genesis classic. Graphics are ripped direct from the original thanks to Genecyst. The music is a Midi conversion of the Prehistoric Tale music from the Atari ST by Jochen Hippel. Midi conversion by Oedipus.

Version: 1.0
Created: 14th Sep 2003 09:41
0
0
2D

uses a set display mode to change the display mode to match the window resolution to the window size when the window is resized

Version: 0.2
Created: 14th Sep 2003 05:36
0
0
Display

Screen and text fade

Version: 1.0
Created: 12th Sep 2003 19:01
0
0
2D Effects

A demo featuring lines, dots and rotating sprites

Version: 1.0
Created: 12th Sep 2003 18:57
0
0
Oldskool

Emulator of the old game Telesketch, without media.

Version: 1.0
Created: 12th Sep 2003 15:01
0
0
2D Effects

Various screen wipes for clearing screens.

Version: 1.0
Created: 12th Sep 2003 14:20
0
0
2D Effects

This code will map a 2D snow effect onto a multitude of 3D spinning cubes for a totally pixel storming experience! Needs a 3D card capable of alphablending.

Version: 1.0
Created: 12th Sep 2003 13:20
0
0
3D Effects

Trip back to the ST/Amiga days when distorting effects ruled! This simulates a classic distorter on a 320x240 bitmap. Use the cursor keys to change the step rate and speed of the distort, you can produce some cool effects! Increase the Z value on slower machines.

Version: 1.2
Created: 12th Sep 2003 13:18
0
0
2D Effects

A complete 3D puzzle game! Use the numeric pad to try and lower all of the blocks. Some have effects on others.

Version: 1.0
Created: 12th Sep 2003 13:17
0
0
3D

This code will produce a 640x480 pixel mandelbrot fractal with a user-definable set of maximum iterations. It syncs on every line to show progress, but a sync after the next y line would increase speed.

Version: 1.0
Created: 12th Sep 2003 13:15
0
0
2D Effects