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

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

Basically this was a speed test to see how many sprites could be plotted on-screen and the results are fantastic. My system managed over 520 sprites (16x16 pixels) at 75 frames per second. It also did 175 64x64 sprites at 75 fps - enjoy this power coding! :-)

Version: 1.1
Created: 12th Sep 2003 13:08
0
0
Sprite

A smooth screen fade routine (fade to black and fade from black to image) that works in 2D! With no 3D switching required. Coded in response to a plea in the DarkBasic forum and to show that it can be done ;-) Sorry for the ZIP size, damn BMPs for you!

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

I was fed-up seeing so many slow and jittery 2D starfields done in DarkBasic that I did my own. This is a proper parallax, depth shaded starfield and in my tests I was seeing 500 stars on-screen at a smooth 75 fps. Over 800 are possible, read the comments in the source for details.

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

*Very* basic pacman clone, poor frame rate.

Version: 1.0
Created: 11th Sep 2003 09:38
0
0
2D

Heightmap to matrix conversion

Version: 1.0
Created: 10th Sep 2003 12:32
0
0
Matrix

A program to show how to use a make_hill function i have made

Version: 1.0
Created: 7th Sep 2003 15:16
0
0
Matrix

Calculates the distance between two points in 3D space

Version: 1.0
Created: 6th Sep 2003 11:20
0
0
3D Maths

Use negative alpha blending (dark ghosting) + reflection shading to produce semi-reflective objects.

Version: 1.0
Created: 6th Sep 2003 11:11
0
0
3D Effects