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 1,334 entries over 45 pages.
CodeBase Description Category

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

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 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

This code will have the camera follow a object.

Version: Unknown
Created: 29th Feb 2004 14:13
0
0
3D

This is a simple game of pong in the minimum number of lines

Version: 1.0
Created: 29th Feb 2004 06:50
0
0
2D

Teaches how to make a following camera.

Version: 1.0
Created: 27th Feb 2004 16:06
0
0
Basic 3D

Basic gravity function.(Db/dbp)

Version: 1.0
Created: 26th Feb 2004 20:47
0
0
Math / Physics

Creates a string array that matches the scancode codes.

Version: 1.0
Created: 25th Feb 2004 17:35
0
0
Input / Output

A little PONG game clone.

Version: 1.0
Created: 23rd Feb 2004 12:33
0
0
3D

The attached code came out of the following thread: http://darkbasicpro.thegamecreators.com/?m=forum_view&t=25644&b=7 Its code produced by Final Epsilon and myself. Basically its code which makes a turret object (a cube in this case) point at another object (a sphere in this case). The spherical aiming object can be moved by the mouse and keyboard. The code also contains Final Epsilon's rather good 3d camera scrolling routine using a 3d spherical coordinate system.

Version: 1.0
Created: 22nd Feb 2004 07:49
0
0
3D Maths

Don't get too dizzy.

Version: 1.0
Created: 22nd Feb 2004 00:30
0
0
3D

Fixed line 752:Bandits tutorial fully remarked and explained

Version: 1.3
Created: 19th Feb 2004 12:38
0
0
3D

Shows how to use the intersect object command and get the coordinates of intersection using the returned distance from that function.

Version: 1.2
Created: 19th Feb 2004 02:34
0
0
Math / Physics

A fully explained, easy to use clickable menu (the invisible 1by1 sprite idea from the_winch in the 2d forum) Now supports multiple menus No media requiered.

Version: 1.0
Created: 18th Feb 2004 10:27
0
0
Miscellaneous

Quick crc32 check system to help prevent hacking or modified files

Version: 0.1
Created: 17th Feb 2004 18:21
0
0
Libraries

This code can be used to count the number of people who have used your program.

Version: 1.0
Created: 16th Feb 2004 06:41
0
0
Complete Applications

3-D breakout with movement in all 3 plains

Version: 1.0
Created: 15th Feb 2004 21:38
0
0
3D

now this is 3-D breakout with movement in two planes

Version: 1.0
Created: 15th Feb 2004 20:31
0
0
3D

This is example code to show how to move a camera in 3d with inertia. For example, movement like the I-Wars space games.

Version: 1.0
Created: 8th Feb 2004 10:46
0
0
3D Maths

uses api calls to capture part of the desktop and puts it in the desired image

Version: 1.0
Created: 8th Feb 2004 09:41
0
0
Display

A replacement Pick Object command for using with multiple cameras.

Version: 1.0
Created: 5th Feb 2004 15:00
0
0
3D Maths

A replacement for the core command for 3D games

Version: 1.0
Created: 5th Feb 2004 11:54
0
0
Input

Melts a Bitmap onto the screen for a nice wipe effect.

Version: 1.0
Created: 31st Jan 2004 02:11
0
0
Miscellaneous

Finds single initial point of intersection between two circles

Version: 1.0
Created: 28th Jan 2004 22:03
0
0
Math / Physics

Shows how to do realistic collision between billiard balls.

Version: 1.0
Created: 28th Jan 2004 15:59
0
0
Math / Physics

This demo shows the stereotypical bobbing and swaying of the gun that you see in most FPSes.

Version: 1.0
Created: 28th Jan 2004 15:56
0
0
3D

This just detect places easier on screen using XPosition,Ypositions,Xwidth,Ywidth

Version: 1.0
Created: 27th Jan 2004 16:45
0
0
Basic 2D