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

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

It shrinks an images size and memory usage at runtime.

Version: 1.0
Created: 18th Jan 2013 04:48
0
0
2D Effects

set of function for tile-based rendering

Version: 1.0
Created: 13th Jan 2013 17:42
0
0
Functions

make another object as a limb to another.

Version: 1.0
Created: 4th Jan 2013 20:04
0
0
Limb

Gta is the new one not the one coming out in 2013 I hope you like it

Version: 1.0
Created: 28th Dec 2012 20:44
0
1
Complete Applications

Action game by Zain Raza

Version: 1.0
Created: 22nd Dec 2012 10:14
0
1
Complete Applications

[PART 2 OF 2] This demonstrates the concepts of Part 1 in action.

Version: 1.0
Created: 24th Nov 2012 09:50
1
0
File

[PART 1 OF 2] Basic introductory to encryption concepts.

Version: 1.0
Created: 24th Nov 2012 09:32
1
0
File

Using no complex maths, revolve planets!

Version: 1.0
Created: 10th Nov 2012 04:14
1
0
Basic 3D

Quick sort method for shifting data in arrays to group items together and place blank elements (indices) outside. This is NOT for deleting array elements.

Version: 1.0
Created: 9th Nov 2012 05:17
1
0
Core

firewall software silent and MODIFIABLE by command line disconntinued

Version: 1.0
Created: 3rd Nov 2012 04:12
0
1
Miscellaneous

If you want to shuffel cards, use this. Change "COUNT=10" in the number of cards you have/want. Hard to find on the internet, so made one myself for darkbasic classic.

Version: 1.0
Created: 3rd Nov 2012 04:03
0
0
Math / Physics

blurs none and faster proceed less chaff

Version: a.b
Created: 2nd Nov 2012 00:00
0
0
File

sync when and how to sync and how many

Version: az.zz
Created: 1st Nov 2012 23:11
0
1
Miscellaneous

zrotate camera keeping up/down left/right at same screen co/ord

Version: 1.0
Created: 13th Oct 2012 11:00
1
0
Complete Applications

here of course is another short description

Version: 1.0
Created: 10th Oct 2012 20:33
1
0
3D

Memory Game in which you must guess the pair of identical images But with a variation...

Version: 1.0
Created: 3rd Oct 2012 16:09
1
0
2D

This code shows how to create an animated sprite and then play it whenever the mouse is clicked. When not playing the sprite is hidden .

Version: 1.0
Created: 9th Sep 2012 12:55
0
0
2D Effects

Game like Mastermind,but I have used numbers

Version: 1.0
Created: 7th Sep 2012 17:21
1
0
Complete Applications