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

application game like tetris

Version: 1.0
Created: 16th Feb 2009 13:05
0
0
Complete Applications

This program lets you convert a txt file to dba. For example if you find a program you like but are not able to download the sourcecode, highlight all the text, then right click and choose copy, then open windows notepad and right click paste. Save the file as a txt file the run the program and enter the filename you saved, then enter a filename to save. Thats it

Version: 1.0
Created: 15th Feb 2009 13:53
0
0
Complete Applications

A line showed in a visible area. When a portion pass the edge area so this portion result invisible

Version: 1.0
Created: 15th Feb 2009 11:38
0
0
Complete Applications

You can use left and right keys to move the line in the visible area.When a portion of this line pass the left or righ edge, this portion disappear.

Version: 1.0
Created: 15th Feb 2009 11:34
0
0
2D

Function what draws 2d rectangle.

Version: 1.0
Created: 13th Feb 2009 19:11
0
0
Complete Applications

Its just a fairly simple game of pong mixed with breakout - at the same time. Completely media free and works quite well... If you find any bugs please post =) Have fun! Ps it does save a highscore file but thats fairly simple to stop if you want it to.

Version: 7.1
Created: 13th Feb 2009 06:39
0
0
2D

This will create delete and login in to a account you make!if you would like to use this code please say something that makes me connected to this part of the program!

Version: 2.5
Created: 10th Feb 2009 21:24
0
0
File Control

This is function which draws the 2d triangle on the screen.

Version: 1.0
Created: 9th Feb 2009 15:03
0
0
Graphics

Pong in DBP stick.png and ball.png are my graphics for that game. It's my first code. Report bugs please.

Version: 0.2
Created: 8th Feb 2009 17:02
0
0
2D

It can select a game you want plus you can add to it!if you would like to use this code please say something that make me connected to this part of the program!

Version: 2.0
Created: 5th Feb 2009 19:55
0
0
Complete Applications

THIS is just a framework for an FPS:

Version: 1.0
Created: 28th Jan 2009 08:18
0
0
Miscellaneous

textures using photos

Version: 1.0
Created: 23rd Jan 2009 06:46
0
0
Complete Applications

!A simple crosshair function!

Version: 1.0
Created: 23rd Jan 2009 02:02
0
0
Bitmap

Use this function to position and rotate an object relative to a camera's position and rotation.

Version: 1.071
Created: 19th Jan 2009 20:20
0
0
Camera

Use this function to position and rotate a camera relative to an object's position and rotation.

Version: 1.071
Created: 19th Jan 2009 19:59
0
0
Camera

kill the zombies.....Duh follow the link to download it http://www.mediafire.com/?sharekey=28923a5dcba37fba2244b8884b2cb7e6e04e75f6e8ebb871

Version: 1.0
Created: 16th Jan 2009 15:49
0
0
Complete Applications

Simple Paint Program.

Version: 1.8
Created: 13th Jan 2009 16:21
0
0
Complete Applications

It's an analogue Clock, a pretty one.

Version: 1.0.123
Created: 9th Jan 2009 13:52
0
0
Complete Applications

i copied the pelican demo so i could find it again (i wiped my hard drive)

Version: 1.0
Created: 4th Jan 2009 03:02
0
0
Complete Applications

rock paper scissors duh

Version: 1.0
Created: 4th Jan 2009 02:49
0
0
Complete Applications

randomize (timer()) MyRandomNumber = RND(10) randomage = rnd(5) Print "The number is between 0 and 10" repeat Input "Can you guess my number? ", MyGuess if MyGuess = 1 GuessedRight = 1 print "Well done" else GuessedRight = 0 Print "No you dont have it, guess again." Endif Until GuessedRight = 1 input "Guess how old I am? ", age if age = 1 Age = 1 print "Good job, you get to continue the game." else age = 0 Print "No you dont have it, you lose!" end endif Print "Press any key to exit" wait key

Version: 1.0
Created: 4th Jan 2009 02:37
0
0
Complete Applications

take an array and rotate the contents

Version: 1.0
Created: 3rd Jan 2009 08:02
0
0
Miscellaneous

A simple analog clock program. Includes hour, minute, and second hands. Demonstrates trig and time functions. Enjoy.

Version: 1.0
Created: 22nd Dec 2008 22:39
0
0
Complete Applications

just started messing around trying to set up a racing game. I pulled most of the media in from the road terrain demo so if you did an odd install you may need to change the path for the bike and the bike shadow. also I have a grass jpeg but even though it is under 500kb I can't upload it so I commented it out. anyway does anyone have any ideas how to get the road to curve. is there a dll I should be downloading? I didn't see any commands in dark basic that would let me manipulate the matrix in the x y plain I can only manipulate its height. this is far from finished but I'm a bit stuck until I can get the road to curve around

Version: 1.0
Created: 1st Dec 2008 21:55
0
0
3D

Flashing Text Square -- just playing around with a flashing square without graphics.

Version: 0.01
Created: 30th Nov 2008 14:27
0
0
Basic 2D

A function that will take a floating point value and return a string equivalent to x decimal points.

Version: 1.0
Created: 30th Nov 2008 10:09
0
0
Text

I've been playing with sprites, and needed a way to make a sprite jump, and just came up with this tonight. It is a function that allows a sprite to jump using the spacekey(), and allows for height and speed(or gravity), if you prefer.

Version: 1.0
Created: 26th Nov 2008 02:23
0
0
Sprite

Computer controlled character that follows a circle based on the users control. (MEDIA DOWNLOAD)

Version: 1.0
Created: 23rd Nov 2008 03:33
0
0
2D

Animated character that is able to move in eight directions and shoot a firearm. (MEDIA IN DOWNLOAD)

Version: 1.0
Created: 23rd Nov 2008 03:29
0
0
2D

more for a file editing example

Version: 1.0
Created: 19th Nov 2008 17:25
0
0
Complete Applications