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?
| CodeBase Description | Category | |
|---|---|---|
|
Explodes object then destructs. Version: 1.0
Created: 1st Jan 2012 14:31
|
Complete Applications |
|
Approximates the distance between 0,0 and x,y 30% faster than euclidean squares method because no square root calculation (approximation) is needed Version: 1.0
Created: 29th Nov 2011 13:12
|
Functions |
|
Dynamic Button generator with an event handler This little program builds buttons on the fly, without using any images Version: 1.0
Created: 29th Nov 2011 11:16
|
Input / Output |
|
Basic display setup function which handles resolution, orientation and zoom. Version: 1.1
Created: 24th Nov 2011 11:42
|
Display |
|
A cool reflection effect using cameras. No media needed. Version: 1.0
Created: 22nd Nov 2011 00:13
|
3D Effects |
|
I made this for my raycaster engine and it works almost the same as mode 7 on snes. Version: 1.0
Created: 20th Nov 2011 18:18
|
2D Effects |
|
JPG file structure illustrating data start positions http://en.wikipedia.org/wiki/JPEG Version: 1.0
Created: 20th Nov 2011 14:02
|
Complete Applications |
|
File structure explanation for BMPs Version: 1.0
Created: 20th Nov 2011 13:57
|
Bitmap |
|
Table illustrating the file structure of a WAV file Version: 1.0
Created: 20th Nov 2011 13:10
|
Sound / Music |
|
This code illustrates how to extract a single file (FILEBLOCK) from a package created with WRITE DIRBLOCK. This can be modified so that you can extract a single file (essentially by deleting files that were extracted before it). Version: 1.0
Created: 14th Nov 2011 23:26
|
File Control |
|
A simple raycaster like the original wolfenstein engine. Version: 0.2
Created: 6th Nov 2011 15:47
|
2D Effects |
|
repeat the numbers from 0 to 9, which shows you the computer screen Version: 1.0
Created: 5th Nov 2011 10:24
|
2D |
|
Create and solve your puzzle with any image Version: 1.0
Created: 28th Oct 2011 07:36
|
2D |
|
Upgraded more flexible version of MaPo's functions Version: 1.0
Created: 24th Oct 2011 20:02
|
Basic 2D |
|
Demonstrates Multi-Touch in AGK Version: 1.0
Created: 22nd Oct 2011 22:46
|
Input |
|
Need a virtual windows GUI to run within DarkGDK? Look no further! Version: 1.0
Created: 22nd Oct 2011 12:26
|
System Enhancements |
|
Particle snow to go on top of winter game. Version: 1.0
Created: 21st Oct 2011 01:50
|
Particles |
|
Snowy pointer tracker leaves trail of snow particles and rings bell on click. For Holiday game. Version: 1.0
Created: 21st Oct 2011 01:15
|
Particles |
|
A work-around for suppporting the lack of a rectangle function in AGK. It will work, as is, without the need for loading any media. Version: 1.0
Created: 19th Oct 2011 21:10
|
Basic 2D |
|
Simple 2d style AI Movement Version: 1.0
Created: 19th Oct 2011 15:37
|
Sprite |
|
XXTEA is a low profile encryption algorithm created by Roger Needham and David Wheeler. It was expanded upon by Chris Veness in a java script to encrypt strings instead of just binary data. This is the version that I based the following code on. Version: 1.0
Created: 19th Oct 2011 08:32
|
Miscellaneous |
|
A nice shutter effect Version: 1.0
Created: 18th Oct 2011 08:45
|
Display |
|
Simple pathfind function for staggered isometric maps Version: 1.0
Created: 18th Oct 2011 03:52
|
Basic 2D |
|
2d Movement using keyboard input Version: 1.0
Created: 17th Oct 2011 23:38
|
Sprite |
|
With this freecam you can switch from freecam mode to the keys mapping for something else. If you add a case switch you could switch to a panning camera while taking control from the player. Version: 1.0
Created: 16th Oct 2011 22:02
|
Camera |
|
This routine allows you to log to a scrollable area on your game and/or file, depends on few module sets Version: 1.0
Created: 10th Oct 2011 14:39
|
File |
|
These two functions allow you to return the screen x and y coordinates underneath a particular spot on a sprite. Version: 1.0
Created: 10th Oct 2011 13:08
|
Sprite |
|
Simple example buttons Version: 1.0
Created: 8th Oct 2011 08:49
|
Complete Applications |
|
Simple pathfind function for AGK Version: 1.0
Created: 8th Oct 2011 05:48
|
Basic 2D |
|
A fake spinning cube, using the SetSpriteUVOffset(iSprite, u#, v#) and SetSpriteAngle(iSprite, angle) commands. Additional info: Download the attached "sprite.PNG" file and place it in the "media" directory of the project that you paste this code into. Version: 1.0
Created: 7th Oct 2011 18:54
|
2D Effects |
