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

Format a decimal value to another value : example : you supply 345.256 the function can return 345.2

Version: 1.0
Created: 24th Nov 2004 13:45
0
0
Input / Output

Basically, the program mocks and modifies any .wav file found on your system. You can copy .wav files into the program's folder, or surf straight from the program. You can load up to 4 individual tracks which are controlled by the 4 unique key rows on your keyboard (see screen shot). You can further adjust the speed pitch for all tracks simultaneously. After you have found the sound or sound-mix you are looking for, you can then play, record, and playback your new modified creation. Upon instruction, the recording will always be saved in the program's folder so you'll know exactly where it's at. Then you can grab it, rename it, and load it into another audio program of your preference for further tweaking, or use it "as is" in your game project without having to add more extra code to your project for one sound since you've already manipulated it. You can also recycle the recorded .wav into one of the other tracks and manipulate it further, if you wish. Although I didn't mean for this program to be an actual synthesized keyboard, my youngest son plays it like one.

Version: 1.0
Created: 24th Nov 2004 08:43
0
0
Sound / Music

Generates a quick randomized 640 x 480 bitmap filled with stars (you choose the amount of stars or density). Program utilizes the so very easy "DOT X,Y" command. This could be used as a "quck fix" for a backdrop texture when you can't make up your mind right now (I know I use it alot...lol). Every generation is NEVER the same pattern (WHY? check it out and see if you can discover it's secret). An Extended Idea for this could be... color the backdrop blue, add the dots in fewer numbers, then extract and stretch a smaller portion of the bitmap to create the illusion of a sky with puffy clouds, then wrap the new texture around a global sphere, then scroll the backdrop's "X" position slowly for an illusion of global movement (I've actually done that in another program of mine and it looks pretty good).

Version: 1.0
Created: 24th Nov 2004 06:44
0
0
Bitmap

A handy stopwatch / timer. It is mouse controlled and has an audible alarm when time runs out. Standard "flat 2D" buttons also report with an audible verification when clicking.

Version: 1.5
Created: 23rd Nov 2004 07:32
0
0
Miscellaneous

A BOINC-SETI ACCESSORY which overwrites the XML WU header to a compatible format so the old "wu2wav.exe" program (by Jan Knutar) can recognize it. And it does all the WU's found in the BOINC SETI project folder. The program also recognizes directory paths in a home network via "\<name of computer><shared BOINC folder>...etc." - HAVE FUN!

Version: 1.1
Created: 23rd Nov 2004 06:08
0
0
Input / Output

it blurs behind the text

Version: 1.0
Created: 22nd Nov 2004 19:56
0
0
Text

you can move the text with the keys

Version: 1.0
Created: 22nd Nov 2004 16:30
0
0
Text

A CD player that was built and tested in a Windows XP environment using DB v.1.13 enhanced. I designed it to be totally automated and operated via mouse. It only runs from DB editor control. This program shows how sprites and 3D objects can work together as a team, plus it shows how to read CD audio track headers to extract the track playing time. It also shows how spot lights, fog, rotating point lights, scrolling backdrops, and animation can really give a program the spunk you are looking for...You're Welcome.

Version: 1.0
Created: 21st Nov 2004 23:58
0
0
Sound / Music

this is an easy way to make a control for a 3D cube

Version: 1.0
Created: 21st Nov 2004 09:43
1
0
Complete Applications

This application does not function properly.

Version: 1.0
Created: 21st Nov 2004 07:38
0
0
Complete Applications

this is a sphere that says hello it spins too

Version: 1.0
Created: 20th Nov 2004 22:46
0
0
Text

the pacman game but faster. code origanaly by: Kevin Carthew. i added the sync to make it faster

Version: 1.0
Created: 20th Nov 2004 06:23
0
0
Complete Applications

you can use this code to make co-op games if you use it correct

Version: 1.0
Created: 20th Nov 2004 05:57
0
0
Miscellaneous

having problems with input? then this a copy cat code!

Version: 1.0
Created: 20th Nov 2004 05:37
0
0
Input / Output

Play modules and decode to waveformat

Version: 0.00.002
Created: 18th Nov 2004 12:22
0
0
Sound / Music

Easy, fast and completed pathfinding in -80 lines (No media).

Version: 1.0
Created: 17th Nov 2004 09:27
0
0
Miscellaneous

this is basically a paint program for nbi

Version: n/a
Created: 16th Nov 2004 21:29
0
0
Complete Applications

the ocean with lots of waves and no media

Version: 1.0
Created: 16th Nov 2004 20:47
0
0
Matrix

Create fractals for your projects.

Version: 1.0
Created: 16th Nov 2004 20:28
0
0
Math / Physics

Unrar packed archive with password and comment

Version: 0.00.003
Created: 14th Nov 2004 18:00
0
0
File Control

This is a speed application measurement.

Version: 1.0
Created: 14th Nov 2004 04:24
0
0
Complete Applications

Light / dark backdrop affect

Version: 1.0
Created: 12th Nov 2004 23:27
0
0
Basic 2D

Orthographic camera in DBPro

Version: 1.0
Created: 12th Nov 2004 13:10
0
0
Camera

script that connects to any FTP site

Version: 1.0
Created: 11th Nov 2004 23:30
0
0
Input / Output

a good little thing for making images with this u can make an image from notepad

Version: 1.1c bet
Created: 11th Nov 2004 21:21
0
0
Complete Applications

Get full information about a mp3 file

Version: 0.00.001
Created: 11th Nov 2004 17:41
0
0
File Control

Encrypting using password and xor operator

Version: 0.00.001
Created: 10th Nov 2004 14:38
0
0
File Control

A simple rotating 3d Menu. Uses textured plains but could easily display models for browsing/selecting.

Version: 1.0
Created: 8th Nov 2004 18:05
0
0
Basic 3D

This is an improvement of a same earlier application , without unnecessary text information , and some minor bugs eliminated.

Version: 1.0
Created: 7th Nov 2004 17:04
0
0
Complete Applications

Audio CD player. Can play most,if not all, audio music tracks. Usage with arrow keys. Instructions: Downkey:Play-Stop. Upkey:Repeat audio CD. Leftkey:Backward track. Rightkey:Forward track. Esc:Close application.

Version: 1.0
Created: 7th Nov 2004 01:24
0
0
Complete Applications