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 50 entries over 2 pages.
CodeBase Description Category

A couple of functions that will come in handy when needing to wait for any key to be pressed or released. A typical usage would be when transitioning the end of levels, game over and cut scenes, etc...

Version: 1.0
Created: 12th Mar 2023 13:19
0
0
Input / Output

A handy function for converting an integer to a string that's padded with leading zeros.

Version: 1.0
Created: 26th Dec 2022 04:15
0
0
Miscellaneous

TysMultiPlayerTerrain

Version: 1.0
Created: 25th Sep 2022 10:34
0
0
Multiplayer

Function: get an rgb value from hsb values

Version: 1.0
Created: 12th Dec 2021 20:03
1
0
Graphics

Handy function to help debug sprites. Just add a call to DumpDebug() where you want to examine where sprites are

Version: 1.0
Created: 14th Nov 2020 01:20
1
0
Functions

Image batch re-sizing

Version: 1.0
Created: 18th Nov 2019 14:11
1
0
Complete Applications

..3D model viewer.

Version: 2.0.22 +
Created: 9th Sep 2019 02:31
0
0
System Enhancements

AR TEST THIS IS UNFINSIED

Version: 1.0
Created: 26th Apr 2019 20:25
1
0
Games

Implements some fundamental functionality that is not contained within the native API.

Version: 1.0
Created: 5th Sep 2018 03:59
6
0
System Enhancements

Implements the basic attachment functionality for Sprites that FixObjectToObject provides for 3D objects.

Version: 1.0
Created: 21st Aug 2018 19:46
1
0
System Enhancements

I neaded a fx to give my 3d a snes look.

Version: 1.0
Created: 11th Aug 2018 13:45
1
0
Graphics

This will load a previous saved Maze Generated and convert to 3D - Use the Generator and Loader first

Version: 1.0
Created: 24th Jul 2018 07:18
1
0
Miscellaneous

This is will a level1.dat file (or what ever you choose - this will load from a previously saved 2D Generated Maze

Version: 1.0
Created: 24th Jul 2018 07:16
0
0
Miscellaneous

A 2D Maze Generation with a Saved output - will then be able to load in faster

Version: 1.0
Created: 24th Jul 2018 07:13
0
0
Miscellaneous

Got tired to write this by hand everytime i experiment with Power by 2 tiles.

Version: 1.0
Created: 14th Apr 2018 14:48
0
0
Complete Applications

Displays a rolling menu for use in games

Version: 1.0
Created: 11th Apr 2018 07:08
0
1
Functions

Creates paths for moving sprites

Version: 1.0
Created: 11th Apr 2018 07:04
1
0
Complete Applications

An application for placement of tiles

Version: 1.0
Created: 11th Apr 2018 07:01
2
0
Complete Applications

Demonstrates the use of physics in a fun game without media

Version: 1.0
Created: 11th Apr 2018 06:58
0
0
Games

Creates a graphical effect with text by subtracting a value from one ascii value to another

Version: 1.0
Created: 11th Apr 2018 06:56
0
0
Graphics

allows a method of color tinting a group of objects a set amount in one step

Version: 1.0
Created: 11th Apr 2018 06:52
0
0
Graphics

color tints a whole image

Version: 1.0
Created: 11th Apr 2018 06:50
0
0
Graphics

Complete 3D minigame showing a never ending world by wrapping objects in a predefined workspace

Version: 1.0
Created: 11th Apr 2018 06:46
0
1
Games

Use Sine and Cosine to draw a circle

Version: 2.0
Created: 14th Mar 2018 05:23
0
0
Graphics

Creates Random Color-Dots on Screen

Version: 2.0
Created: 14th Mar 2018 04:51
0
0
Graphics

'Crazy Ball' bounces around the screen in an erratic manner. The sprites are made from images drawn on the screen.

Version: 2
Created: 29th Nov 2017 22:41
2
0
Graphics

Example of decoding a QR code from a live camera feed on a device. Slightly modified from AGK example "DecodeQRCode", which uses a camera app to get the user to take a picture before decoding.

Version: 1.0
Created: 12th Jul 2017 12:02
0
0
Miscellaneous

Simple Window management System. You can add sprites/ text to the window, they will stay on place and be culled correctly. Add some kind of .jpg to the code, or remove the image loading part.

Version: 1.0
Created: 17th May 2017 05:26
3
0
Libraries

This code decompresses an ogg file from an array and plays it. (No media needed)

Version: 1.0
Created: 17th May 2017 05:19
1
0
Miscellaneous

This library and example code can load the sentences.txt from half life and also the whole vox sound system. You need an own copy of half-life 1 as you need the HLroot/sound/vox/ audio files and the HLroot/sound sentences.txt file in order to make it work. There is also a description how to create

Version: 1.0
Created: 17th May 2017 05:12
1
0
Libraries