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 | |
---|---|---|
This code shows how a matrix and a few variables can be used to produce a sliding collision effect with both static and moving objects Version: 1.0
Created: 13th Jul 2006 13:17
|
Collision | |
This code shows how a matrix and a few variables can be used to produce a sliding collision effect with both static and moving objects Version: 1.0
Created: 13th Jul 2006 13:15
|
Collision | |
an easy code on how to fire a bullet Version: 1.0
Created: 12th Jul 2006 12:59
|
Games | |
a compiler avec le .net Version: 1.0
Created: 8th Jul 2006 09:42
|
Complete Applications | |
Sometimes it is helpfull to show the ouput of multiple cameras, this examples show how to do it Version: 1.0
Created: 7th Jul 2006 19:51
|
Camera | |
this source contains two gosubs that just need getting thrown into your code, along with the Sparky collision dll 2 (free and lush), and you get a sweet FPS control system up and running! My main goal was to keep this as simple and fast as possible... I believe that this is about as efficient collision can get. Version: 1.0
Created: 6th Jul 2006 14:15
|
Collision | |
Making aliasing, motion blur, and other fx... Version: 1.0
Created: 4th Jul 2006 13:22
|
2D Effects | |
The catenary - the hyperbolic cosine graph showing the curve formed by a heavy, uniform chain or rope. Version: 1.0
Created: 3rd Jul 2006 10:12
|
Math / Physics | |
Just a trick I played on my bro and dad which by the way I did tell them afterwards. See I am 17 and they didn't know how good I was at codeing, which I am not really. O well. Version: 1.0
Created: 1st Jul 2006 04:01
|
Complete Applications | |
Code, object, and graphics for your own teleporter effect. Version: 1.0
Created: 30th Jun 2006 22:02
|
3D Effects | |
rem improvements rem play and exit highlight when the mouse is over them cls LOAD music "1.wav",2 load image "lava1.bmp",1 gosub makemenu do if (mousex() > 285 and mousex() < 385 and mousey() > 160 and mousey() < 220 and mouseclick()=1) then gosub game if (mousex() > 285 and mousex() < 385 and mousey() > 230 and mousey() < 290 and mouseclick()=1) then gosub rip loop game: cls print "you made it" rem this is where you write the game code sleep 10000 gosub makemenu return rip: end return makemenu: LOOP music 2 paste image 1,0,0 paste image 1,255,0 paste image 1,510,0 paste image 1,0,255 paste image 1,255,255 paste image 1,510,255 set text to bolditalic text 285,190, "Play" text 285,260, "Exit" return Version: 1.0
Created: 29th Jun 2006 00:04
|
Complete Applications | |
I have Created a Very Basic Screensaver in only 6 lines of Code (Does not include Rem Statments) Version: 1.0
Created: 27th Jun 2006 03:00
|
Miscellaneous | |
load object "C:\Program Files\Dark Basic Software\Dark Basic\media\models\static\G\GUN11.X",1 yrotate object 1,180 move object 1,3 sync on do aY# = Object angle Y(1) If Leftkey()=1 then Yrotate object 1,Wrapvalue(aY#-3) If Rightkey()=1 then Yrotate object 1,Wrapvalue(aY#+3) X# = Object position x(1) Z# = Object position z(1) cZ# = Newzvalue(Z#,aY#-180,100) cX# = Newxvalue(X#,aY#-180,100) sync loop Version: 1.0
Created: 25th Jun 2006 09:31
|
Complete Applications | |
Short program that converts text to Morse code Version: 1.0
Created: 16th Jun 2006 21:37
|
Text | |
Add this code into your games' main loop to give a great cross-hair, without the use of sprites! Version: 1.0
Created: 15th Jun 2006 18:13
|
Basic 2D | |
This is the first code I ever wrote. It's a rudimentary RPG and is so basic it isn't really a game. Version: 1.0
Created: 14th Jun 2006 04:47
|
2D | |
a Random Galaxy shows how to create images inside dbp Version: 1.0
Created: 12th Jun 2006 19:45
|
Basic 2D | |
It a tutorial for people who want to know what is Sine/Cosine. Version: 1.0
Created: 11th Jun 2006 21:29
|
2D | |
An anaolgue clock for your desktop. Version: 1.0
Created: 9th Jun 2006 20:24
|
Complete Applications | |
Chat room simple. I need help here, this is the source code I wrote mixing all the different chat room codes together. Could some one see if you can get it to work correctly. I'm not totally sure if it works. Version: 1.0
Created: 9th Jun 2006 15:08
|
Complete Applications | |
Create a real Windows MessageBox using an easy to use DBPro function. <code>MessageBoxNP( message$, title$, MB_OPTION )</code> Version: 1.0
Created: 6th Jun 2006 23:43
|
Complete Applications | |
Just a short money system for newcomers to learn from Version: 1.0
Created: 6th Jun 2006 15:20
|
Complete Applications | |
A small game where you can shoot your collegues at the office. Enjoy it. Version: 1.0
Created: 6th Jun 2006 11:37
|
2D | |
A simple little Level Loader Version: 1.0
Created: 3rd Jun 2006 01:34
|
Input / Output | |
The "classic" pong game. Found the base for the game on the forums and decided to edit it to turn it into the classic version. Thanks to the guy who originally did the code - cant remember his name :S Version: 1.0
Created: 31st May 2006 17:51
|
2D | |
This Programm Is Used To Get Myspace Friends. Version: 1.0
Created: 31st May 2006 00:55
|
Complete Applications | |
my code is in french and its make with the dark basic pro trial that demands you to enter your name and your password and stock them into a variable Version: 0.01
Created: 30th May 2006 16:37
|
Input / Output | |
Easy 3rd person view function Version: 1.0
Created: 29th May 2006 20:28
|
Camera | |
A Lottery game, fun to see if you can get them all right. Version: 1.4
Created: 27th May 2006 18:36
|
Complete Applications | |
A short arcade like game. Version: 1.4
Created: 27th May 2006 17:47
|
2D |