Code Archives / Algorithms


Tip: Add code-archives and algorithms as tags to your topic to share and post it in this category as an archive. The first line of your post will be automatically parsed as the description of your code archive entry with a maximum length of 120 characters.
.bmx
This is a Perlin Noise implementation for 2D maps with linear interpolation and usage of 3 layers = altitude, temperatur
Last Post by RonTek

4 months ago
.bb
This type of collision response isn't just useful for pool and billiard style games, and in fact, I didn't write it for
Last Post by RonTek

2 months ago
.bb
A simple demonstration of the 'shifted grid' collision detection method. Great for when an obscene amount of sprites are
Last Post by RonTek

3 months ago
.bmx
Visually simulate crowding conditions on a road of traffic.
Last Post by RonTek

4 months ago
.bmx
This simple piece of code is a 'least recent used' and 'most recent used' cache. When you hit an object in the cache the
Last Post by RonTek

4 months ago
.bmx
2D vector type using doubles and with useful math functions.
Last Post by RonTek

5 months ago
.bb
Algorithm to randomly fill a plain sudoku grid
Last Post by RonTek

5 months ago
.bb
An ultra fast method of packing boxes/rectangles. Packs a million boxes/rects in 4-5 seconds. That's 1000000 boxes!!! Co
Last Post by RonTek

5 months ago
.bmx
The game world is divided into segments, and only the segment where the camera is at and any surrounding segments are re
Last Post by RonTek

5 months ago
.bb
This is a general pathfinder that works on a 2D grid where 1=wall and 0=walkable. Numbers between 0 and 1 are tiles that
Last Post by RonTek

6 months ago
.bmx
There are many ways of writing a maze generating program, some can be quite huge, but none as small as this for BlitzMAX
Last Post by RonTek

6 months ago
.monkey
A convenient 2d array with neat features.
Last Post by RonTek

6 months ago
.bmx
Object Orientated Raycaster with Textures. Using Pixmap to display out.
Last Post by RonTek

6 months ago
.bb
Track functions
Last Post by RonTek

7 months ago
.bmx
Compute fast ceil/floor of log base 2
Last Post by RonTek

7 months ago
.bmx
Simple but hopefully useful, provides 1:1 mapping for ints
Last Post by RonTek

7 months ago
.bb
for archive :
Last Post by RemiD

8 months ago
.bmx
2D Metaballs by TWH
Last Post by RonTek

1 year ago
.bmx
These are functions that are used to convert signed shorts & bytes to integers
Last Post by RonTek

2 years ago
.bmx
This code will draw circles and arcs onto pixmaps. Just use Circle(Pixmap:TPixmap, xoff:int, yoff:int, radius:int, color
Last Post by TomToad

2 years ago