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

Very simple utility for returning the scancode of any key pressed.

Version: 1.0
Created: 20th Mar 2004 09:40
0
0
Input / Output

My first complete game in DBP, There were some aspects I struggled with such as bullet movement, bonus enemies etc so I posted it here for all to see.

Version: 1.0
Created: 20th Mar 2004 09:26
0
0
Complete Applications

This is an enhanced version of Ping Pong by Will. I added a few things.

Version: 0.5
Created: 19th Mar 2004 20:40
0
0
Basic 2D

Learn how to use particles to your advantage.

Version: 1.0
Created: 19th Mar 2004 17:12
0
0
Particles

This will right justify text. Pass in a string, and the total character length.

Version: 1.0
Created: 19th Mar 2004 04:17
0
0
Text

Stop your camera looking too far up or down

Version: 1.0
Created: 18th Mar 2004 14:46
0
0
World

a cube follows the mouse pointer

Version: 1.0
Created: 18th Mar 2004 07:11
0
0
3D Effects

Learn about animation in darkbasic pro.

Version: 1.0
Created: 17th Mar 2004 17:36
0
0
Animation

Draws a pie chart. Add as many slices as you want, each with a value. Percentage that each slice takes up of the whole is automatically configured.

Version: 1.0
Created: 16th Mar 2004 22:12
0
0
Miscellaneous

Teaches you how to make a character jump.

Version: 1.0
Created: 16th Mar 2004 19:20
0
0
Basic 3D

Defines the rgb() values of ten basic colors so you don't have to.

Version: 0.5
Created: 15th Mar 2004 20:15
0
0
Libraries

An upgrade of FPS base 1.0.

Version: 2.1
Created: 15th Mar 2004 17:50
0
0
3D

This is a nifty bit of code for a timer bar in an rpg

Version: 1.0
Created: 15th Mar 2004 14:28
0
0
3D

sourcecode of dynamic loading

Version: 1.0
Created: 15th Mar 2004 13:36
0
0
Complete Applications

Teaches how to save a matrix for later use.

Version: 1.0
Created: 12th Mar 2004 21:48
0
0
Matrix

This is the more advanced version of the image and memblock code. It has a flip, mirror and a scale command.

Version: 1.0
Created: 12th Mar 2004 09:15
0
0
Image

It offers this functions for memblock and image function cutmemimage(mem1, mem2, xo, yo, xu, yu) function mem2img(memnr, imgnr, md) function file2mem(img as string, memnr) function img2mem(imgnr, memnr, md)

Version: 1.0
Created: 12th Mar 2004 09:07
0
0
Image

See the long description below.

Version: 1.0
Created: 10th Mar 2004 09:42
0
0
3D Maths

alienware competition 10th place operation genocide fps

Version: 2.0
Created: 7th Mar 2004 19:11
0
0
3D

Introduction to darkbasic(Pro) programming.

Version: 1.0
Created: 4th Mar 2004 16:41
0
0
Complete Applications

Sometimes, you want to be able to accurately control an element in-game. I decided to write a quake-style console for DBP and since then, I haven't looked back. This console allows you to issue commands such as "move object(4,5.3,3.2,1.2)"... If you find it useful then let me know, or drop in a credit. Please note that this will require editing before it will work. I've left in some of my code handling routines to show you what it can do and what you should edit.

Version: 0.001
Created: 4th Mar 2004 16:11
0
0
Miscellaneous

Alternative rgb command that lets you specify the red, green, blue and alpha values of the returned colour.

Version: 1.0
Created: 4th Mar 2004 04:02
0
0
Basic 2D

This gives you the main things you will need to start off your fps.

Version: 1.0
Created: 3rd Mar 2004 03:02
0
0
3D

Learn how to set up box collision for your games.

Version: 1.0
Created: 2nd Mar 2004 20:04
0
0
Collision

Teaches you how to make a small lottery game.

Version: 1.0
Created: 2nd Mar 2004 16:56
0
0
Complete Applications

A basic 2 player ping-pong game. Rigth now I am using it for the main 2 player engine for my pong game. Maybe another day i will post it with AI. Enjoy!

Version: 0.1
Created: 2nd Mar 2004 15:53
0
0
Basic 2D

A generic multiplayer demo. You can move around and see each other.

Version: 1.0
Created: 1st Mar 2004 22:02
0
0
Multiplayer

Astro-blast(new version)/asteroid type game with spheres/no media required

Version: 1.2
Created: 1st Mar 2004 21:36
0
0
3D

I HAVE USED Martijn van Sliedregt SOURCE CODE Night-Forest Hunter

Version: 1.0
Created: 1st Mar 2004 08:00
0
0
Complete Applications

Set of Functions That Will Find The Shortest Distance Between a Point in 2D Space and A Line Segement.

Version: 1.0
Created: 29th Feb 2004 17:55
0
0
Math / Physics