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 function is used to switch to fullscreen mode. Version: 1.0
Created: 16th Jun 2008 20:16
|
Display |
|
I know this is newbie, this code is a decrypted for messages u can write Version: 1.0
Created: 12th Jun 2008 03:39
|
Complete Applications |
|
This program is all objects in your director load,play & texture Version: 1.0
Created: 3rd Jun 2008 16:10
|
Basic 3D |
|
3 new functions that work with the USGS gridfloat files. 1. lo_val() returns the lowest height value in the gridfloat file. 2. hi_val() returns the highest height value in the gridfloat file. 3. convert_to_unit() takes in a regular gridfloat file and converts the height values to normalized values (0.0 to 1.0) Version: 1.0
Created: 1st Jun 2008 21:16
|
Miscellaneous |
|
Allows sprites to be rotated around a point of origin. Version: 1.0
Created: 26th May 2008 09:02
|
Sprite |
|
This is just something I have been doing, not knowing WTF i was doing!!! (BTW this is the first thing i have ever made on here...) Version: 1.0
Created: 24th May 2008 11:14
|
Complete Applications |
|
just like dooruse but will close behind you automatically Version: 1.0
Created: 20th May 2008 10:33
|
Complete Applications |
|
More life like response to colision, distance and attacks Version: 1.0
Created: 20th May 2008 08:16
|
3D |
|
TextBox on Dark Basic Pro Version: 1.0
Created: 16th May 2008 09:25
|
Core |
|
Dim Simon(400) Sync On Do SimonCount = SimonCount + 1 Simon(SimonCount) = Rnd(3)+1 For Run = 1 To SimonCount Light = Simon(Run) Box 0,0,100,100,RGB(255,0,0),RGB(255,0,0),RGB(255,0,0),RGB(255,0,0) Box 100,0,200,100,RGB(0,255,0),RGB(0,255,0),RGB(0,255,0),RGB(0,255,0) Box 200,0,300,100,RGB(0,0,255),RGB(0,0,255),RGB(0,0,255),RGB(0,0,255) Box 300,0,400,100,RGB(255,255,0),RGB(255,255,0),RGB(255,255,0),RGB(255,255,0) Box (100*(Light-1)),0,(100*Light),100,RGB(255,255,255),RGB(255,255,255),RGB(255,255,255),RGB(255,255,255) Sync Sync Sleep 400 Box 0,0,100,100,RGB(255,0,0),RGB(255,0,0),RGB(255,0,0),RGB(255,0,0) Box 100,0,200,100,RGB(0,255,0),RGB(0,255,0),RGB(0,255,0),RGB(0,255,0) Box 200,0,300,100,RGB(0,0,255),RGB(0,0,255),RGB(0,0,255),RGB(0,0,255) Box 300,0,400,100,RGB(255,255,0),RGB(255,255,0),RGB(255,255,0),RGB(255,255,0) Sync Sync Sleep 100 Next Run For Run = 1 To SimonCount Choice = 0 While Mouseclick() = 0 Box 0,0,100,100,RGB(255,0,0),RGB(255,0,0),RGB(255,0,0),RGB(255,0,0) Box 100,0,200,100,RGB(0,255,0),RGB(0,255,0),RGB(0,255,0),RGB(0,255,0) Box 200,0,300,100,RGB(0,0,255),RGB(0,0,255),RGB(0,0,255),RGB(0,0,255) Box 300,0,400,100,RGB(255,255,0),RGB(255,255,0),RGB(255,255,0),RGB(255,255,0) Sync Sync EndWhile If MouseX() > 0 And MouseX() < 100 Then Choice = 1 If MouseX() > 100 And MouseX() < 200 Then Choice = 2 If MouseX() > 200 And MouseX() < 300 Then Choice = 3 If MouseX() > 300 And MouseX() < 400 Then Choice = 4 Box (100*(Choice-1)),0,(100*Choice),100,RGB(255,255,255),RGB(255,255,255),RGB(255,255,255),RGB(255,255,255) Sync Sync Sleep 400 Box 0,0,100,100,RGB(255,0,0),RGB(255,0,0),RGB(255,0,0),RGB(255,0,0) Box 100,0,200,100,RGB(0,255,0),RGB(0,255,0),RGB(0,255,0),RGB(0,255,0) Box 200,0,300,100,RGB(0,0,255),RGB(0,0,255),RGB(0,0,255),RGB(0,0,255) Box 300,0,400,100,RGB(255,255,0),RGB(255,255,0),RGB(255,255,0),RGB(255,255,0) Sync Sync Sleep 100 If Simon(Run) <> Choice Then Goto TheEnd Next Run Loop TheEnd: Print "You got "+Str$(SimonCount-1)+" rounds!" Sync Sync Sleep 1000 End Version: 1.0
Created: 10th May 2008 19:14
|
Complete Applications |
|
This is my first ever game. Version: 1.0
Created: 10th May 2008 10:26
|
2D |
|
Kaleidoscope converted from Atari ST FastBasic Version: 1.0
Created: 8th May 2008 13:54
|
Miscellaneous |
|
Place large numbers of media "load sound " ",1 etc statements into your dba programme by copying and pasting. Version: 1.0
Created: 8th May 2008 02:11
|
File Control |
|
A simple graphics program that creates a rotating cube and a translating circle with some camera views. The user has the normal view and create more five different views. Version: 1.0
Created: 7th May 2008 18:20
|
Graphics |
|
Speaking Clock converted by Jonathan Hawkins from Atari ST Fast Basic by Dave Jones from Atari User February 1987,you need the Speech Module for it to work. Version: 1.0
Created: 2nd May 2008 16:54
|
Miscellaneous |
|
A basic 3D jump and run platformer with a timer. If anyone has any comments i'd be glad to hear them. Btw, im kind of a self taught coder, i've learned by example mostly so this is based off of code I found in the forums; so if i did anything horribly wrong i'd be glad to hear any corrections if people bother to look ^_^. Version: 1.0
Created: 1st May 2008 20:37
|
Complete Applications |
|
This is a short prgoram displaing scancode of each keyboard button when it`s pressed. Version: 1.0
Created: 10th Apr 2008 08:40
|
Complete Applications |
|
Force a Windows Left, Middle, RightClick, Double Click and more Version: 1.0
Created: 8th Apr 2008 16:55
|
Input |
|
This is a turn based battle system for an RPG. Version: 1.0
Created: 6th Apr 2008 12:12
|
Core |
|
Third Person Camera Function Version: 1.0
Created: 6th Apr 2008 08:02
|
Camera |
|
Another security program, yet this one saves a password (use the reset password program to set password to "aaaa" Version: 1.0
Created: 31st Mar 2008 14:15
|
Miscellaneous |
|
If you want texture limb any .jpg,.bmp... image ,you must write this code :~) Version: 1.0
Created: 20th Mar 2008 14:22
|
Limb |
|
if press space key , obje is jump. Version: 1.0
Created: 14th Mar 2008 16:51
|
Complete Applications |
|
just randomly made this, its of no use but im happy with it got any suggestions let me know Version: 1.0
Created: 10th Mar 2008 19:02
|
Display |
|
Very Basic First Program Version: 1.0
Created: 10th Mar 2008 12:21
|
Complete Applications |
|
complete applications Version: 1.0
Created: 7th Mar 2008 08:08
|
3D |
|
Very simple but handy li'l function to read in RGB triplets from data statements, and make an X*Y image from them, via a memblock. Very handy for making medialess programs. Version: 1.0
Created: 2nd Mar 2008 12:15
|
Bitmap |
|
load media in middle of the game Version: 1.0
Created: 24th Feb 2008 09:13
|
File Control |
|
A small program that demonstrates placing 2D sprites where the mouse is clicked. Version: 1.0
Created: 23rd Feb 2008 23:25
|
Sprite |
|
Raster map Path Finder / AI / NPC Finds a path from Pointa(startx,starty) to Pointb(destx,desty) Version: 0.1
Created: 19th Feb 2008 10:13
|
Complete Applications |
