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

Generates a randomized maze.

Version: 1.0
Created: 18th Nov 2013 00:31
1
0
Complete Applications

This is a variation theme pushing blocks game. A simple idea a great game! Load a music that you like (.midi)

Version: 1.0
Created: 16th Nov 2013 05:28
1
0
Complete Applications

Skip all those steps of the process of determining the hypotenuse of a right-angle triangle. Just punch in the base and the height, and this script will find it for you!

Version: 1.0
Created: 16th Oct 2013 18:22
1
0
Math / Physics

×”×ΕΎ×©×—×§ ×”×›×™ שווה

Version: 1.0
Created: 12th Oct 2013 13:27
0
0
Complete Applications

the best app games ever

Version: 1.0
Created: 17th Sep 2013 12:40
0
1
Complete Applications

Reads, writes and managed INI-Files.

Version: 1.0
Created: 22nd Aug 2013 04:01
0
0
File Control

Aim of the game to reach the sprite smile, using the arrow keys Every time I go wrong direction have to start over

Version: 1.0
Created: 2nd Jul 2013 09:04
1
0
2D

Encodes and decodes base64 strings

Version: 1.0
Created: 2nd Jul 2013 08:00
0
0
Libraries

IanM's path finding code ported over to AGK.

Version: 1.0
Created: 23rd Jun 2013 21:40
0
0
Libraries

Random Number Example

Version: 1.0
Created: 13th Jun 2013 06:03
0
0
Core

Simple arcade game, where you must to shoot down men who attempt to climb the wall. **Sorry for the mistake I wrote 'high' instead of '' hight ' *** and now 'correct.

Version: 1.0
Created: 11th Jun 2013 06:06
1
0
Complete Applications

Conversion of 3D coordinates of the world's any visible point into 2D screen coordinates.

Version: 1.0
Created: 23rd May 2013 17:19
0
0
Functions

DBPRo version of Tombstone City, from the Texas Instruments TI-99/4A 16-bit home computer of the 80's

Version: 0.14
Created: 14th May 2013 22:08
1
0
2D

3d platform example, models made with dbc

Version: 1.0
Created: 3rd May 2013 19:50
0
0
Collision

WIP to simulate a command prompt

Version: .01
Created: 21st Apr 2013 11:36
0
1
Text

I find this equation significantly useful in Dark Basic Pro. It will take one object's rotational angles and output Coordinates for positioning an object on an imaginary sphere surrounding the original object.

Version: 1.0
Created: 19th Apr 2013 10:24
1
0
Games

Takes a text file and types out each line with a pause and shows a blinking cursor. Employs Ched80's WordWrap function to ensure wrapping.

Version: 1.0
Created: 15th Apr 2013 23:33
0
0
Text

plot a Bezier Curve from a array of vectors.

Version: 1.0
Created: 6th Apr 2013 05:01
0
0
Math / Physics

A black background, with early Atari VCS (2600) type font displaying the system time in the center of the screen. I imagine this could be used as a screen saver.

Version: 0.5
Created: 28th Mar 2013 21:25
1
0
Display

This is a very simple quiz game framework. Use this to learn about types, arrays, while loops and music file usage.

Version: 1.0
Created: 23rd Mar 2013 11:56
1
0
Complete Applications

This code will take a 2d heightmap and generate a .obj file from it. Then it will load the file and apply textures as well as a detail shader to it. The code was originaly created for AGK tier 1 by MikeMax

Version: 1.0
Created: 16th Mar 2013 11:39
0
0
3D Effects

GFT# is getframetime() The simple put in your own turn and movements speed in floats.

Version: 1.0
Created: 23rd Feb 2013 08:18
0
0
Collision

I have only converted this from dbp by another author todd riggins.

Version: 1.0
Created: 20th Feb 2013 17:48
0
0
Basic 2D

Host/Client Network transfer test

Version: 1.0
Created: 19th Feb 2013 10:52
0
0
Complete Applications

Sometimes do you only want to display a score and this is a simple way of doing it with sprites. As it allowes you to use multiple types of fonts on screen at once with little memory usage.

Version: 1.0
Created: 10th Feb 2013 17:09
0
0
Sprite

spinning red cube my first 3d program trying the 3d part in agk. using a camera,creating a red cube,make a directional light, rotating the cube around y axis in front of camera.

Version: 1.0
Created: 10th Feb 2013 15:54
0
0
Complete Applications

- Calculates duration between 2 sets of date-time. - Returns time elapsed in seconds. - Useful for projects involving time calculation based on system time. E.g. games like Animal Forest where activity must occur even after exiting the game.

Version: 2.0
Created: 3rd Feb 2013 22:05
1
0
Functions

List the functions from selected .agc files.

Version: 1.0
Created: 31st Jan 2013 13:53
0
0
Complete Applications

BEWARE! If meta data such as artist's name, track title, etc. is stored in the beginning of the file these functions will not work. LoopWav(filename$,iNum_loops,iOffset,iVolume,iDecay_rate) GetWavChannels(filename$) GetWavSampleRate(filename$) GetWavLength(filename$)

Version: 1.0
Created: 30th Jan 2013 01:50
0
0
Sound

point snap & linecross

Version: 1.0
Created: 26th Jan 2013 08:18
0
0
Functions