Blitzcodebase Code is in the public domain http://www.blitzcodebase.co.uk/ Top Code Snippets en-us BlitzCodeBase 142 25 http://www.blitzcodebase.co.uk http://www.blitzcodebase.co.uk/images/blitzcodebase.gif Simple Path Editor... http://www.blitzcodebase.co.uk/130-Simple+Path+Editor.html 2009-03-05 GMT This is a 2D path editor I did to help me while developing a 2D platform Game.Just Left-click... demo... http://www.blitzcodebase.co.uk/129-demo.html 2009-01-20 GMT inconnu... Useful functions... http://www.blitzcodebase.co.uk/128-Useful+functions.html 2008-05-05 GMT Here are some random functions that many people find very useful, but have to look up everytime t... distance... http://www.blitzcodebase.co.uk/127-distance.html 2008-03-06 GMT Distance between two points... PlaySound (better)... http://www.blitzcodebase.co.uk/125-PlaySound+%28better%29.html 2007-09-29 GMT This function pans a given sound based on its x and y coordinates. It also changes the volume ba... Distance formula... http://www.blitzcodebase.co.uk/124-Distance+formula.html 2007-09-29 GMT ... BSP Parser by Noel Cower... http://www.blitzcodebase.co.uk/117-BSP+Parser+by+Noel+Cower.html 2007-08-09 GMT This will parse and read the data of a BSP file into memory in the manner it was meant to be orga... txt2string by CS_TBL... http://www.blitzcodebase.co.uk/116-txt2string+by+CS_TBL.html 2007-08-09 GMT Converts a textfile into a string, including newlines and quotes. This way you can store a textfi... BB Code Formatter by Alaric... http://www.blitzcodebase.co.uk/115-BB+Code+Formatter+by+Alaric.html 2007-08-09 GMT Lately Ive been realizing what a neccessity the abillity to read and get information from others ... Load a menu from a file by Leadwerks... http://www.blitzcodebase.co.uk/114-Load+a+menu+from+a+file+by+Leadwerks.html 2007-08-09 GMT This is a useful routine to load your applications menu from a file. You can even load a new menu... High Score Type by ninjarat... http://www.blitzcodebase.co.uk/113-High+Score+Type+by+ninjarat.html 2007-08-09 GMT Simple high scores file handler, and an unfinished method for sorting them.... Code2HTML by XtremeCoder... http://www.blitzcodebase.co.uk/112-Code2HTML+by+XtremeCoder.html 2007-08-09 GMT Turns code into an HTML file, good for open source distributions... Sometimes/rarely the code wil... ReadWrite INI File by Perturbatio... http://www.blitzcodebase.co.uk/111-ReadWrite+INI+File+by+Perturbatio.html 2007-07-17 GMT Simple INI file reader/writer ... Self-Destructing .exe by Subirenihil... http://www.blitzcodebase.co.uk/110-SelfDestructing+exe+by+Subirenihil.html 2007-07-17 GMT Be sure to add the proper lines to shell32.declsCompile into an empty folder, then run the co... find mydocuments by b32... http://www.blitzcodebase.co.uk/109-find+mydocuments+by+b32.html 2007-07-17 GMT Uses SHGetFolderPathA to obtain the mydocuments folder path.... music tracker by b32... http://www.blitzcodebase.co.uk/108-music+tracker+by+b32.html 2007-07-17 GMT This is a basic tracker program in Blitz (3D, but no 3d commands) It needs Ziltchs winmm.decls.... aSound.bb by kochOn... http://www.blitzcodebase.co.uk/107-aSoundbb+by+kochOn.html 2007-07-17 GMT Here is a library Ive written for my actual project.In fact, Ive needed an easy way to pause ... Stream from Ram, File, or Net in FMod! by ninjarat... http://www.blitzcodebase.co.uk/106-Stream+from+Ram%2C+File%2C+or+Net+in+FMod%21+by+ninjarat.html 2007-07-17 GMT what teh title says! ... Live audio data gaming example by Nebula... http://www.blitzcodebase.co.uk/105-Live+audio+data+gaming+example+by+Nebula.html 2007-07-17 GMT Gaming enhancement : Live audio gamingMicSound to aprox. wave surface surrounding video.2 s... Determine length of an audio sample in seconds by Perturbatio... http://www.blitzcodebase.co.uk/104-Determine+length+of+an+audio+sample+in+seconds+by+Perturbatio.html 2007-07-17 GMT Determine length of an audio sample in seconds (tested with OGG files, but it should be the same ... Synthesize a simple sound sample by Perturbatio... http://www.blitzcodebase.co.uk/103-Synthesize+a+simple+sound+sample+by+Perturbatio.html 2007-07-17 GMT Its very basic but it works, includes a primitive waveform drawing function... TCP Socket Server by CoderLaureate... http://www.blitzcodebase.co.uk/102-TCP+Socket+Server+by+CoderLaureate.html 2007-07-17 GMT TCPSocketServerI thought Id throw my hat into the "TCPSocket Ring". This is an OOPapproach ... UDP Protocol Example by cermit... http://www.blitzcodebase.co.uk/101-UDP+Protocol+Example+by+cermit.html 2007-07-17 GMT UDP Protocol Example ... NetGraph by zoom... http://www.blitzcodebase.co.uk/100-NetGraph+by+zoom.html 2007-07-17 GMT A small netgraph ... Random ip generator by Nebula... http://www.blitzcodebase.co.uk/99-Random+ip+generator+by+Nebula.html 2007-07-17 GMT Useful function for making ping lists. ... BlitzMax ConvertIP function by EdzUp... http://www.blitzcodebase.co.uk/98-BlitzMax+ConvertIP+function+by+EdzUp.html 2007-07-17 GMT This function will convert a string IP something like "127.0.0.1" to its integer equivalent.T... GNet framework by Ghost Dancer... http://www.blitzcodebase.co.uk/97-GNet+framework+by+Ghost+Dancer.html 2007-07-17 GMT This has been written to make it as easy as possible to add networking code to your games. There ... HTTP POST multipartform-data send POST UPLOAD to web address by skn3[ac]... http://www.blitzcodebase.co.uk/96-HTTP+POST+multipartformdata+send+POST++UPLOAD+to+web+address+by+skn3%5Bac%5D.html 2007-07-17 GMT HTTP POST multipart/form-data send POST / UPLOAD to web address... Simple Network Module by rich d... http://www.blitzcodebase.co.uk/95-Simple+Network+Module+by+rich+d.html 2007-07-17 GMT This network module creates a layer of abstraction over the normal BlitzMax socket system to form... getSubnetMask() & getBroadcastAddress() by Jeremy Alessi... http://www.blitzcodebase.co.uk/94-getSubnetMask%28%29+%26+getBroadcastAddress%28%29+by+Jeremy+Alessi.html 2007-07-17 GMT This combo adds getSubnetMask() to Blitz3D via a .dll and userlib that I wrote in Visual C++ and ... URLEncode by Raph... http://www.blitzcodebase.co.uk/93-URLEncode+by+Raph.html 2007-07-17 GMT This function replaces all the special characters in a string with the hex codes in %nn format fo... simple ball physics by bradford6... http://www.blitzcodebase.co.uk/92-simple+ball+physics+by+bradford6.html 2007-07-17 GMT Types and simple ball physics... Rigid Body Simulation by Sweenie... http://www.blitzcodebase.co.uk/91-Rigid+Body+Simulation+by+Sweenie.html 2007-07-17 GMT This is the beginning of a simple Rigid Body simulation in Blitz.No collisions so far.(So the d... 3D math functions by Noel Cower... http://www.blitzcodebase.co.uk/90-3D+math+functions+by+Noel+Cower.html 2007-07-17 GMT Various functions used in Vein R3; if you dont know what it does, chances are you dont need it. ... Non-Type Based Vector Lib by Jonathan Nguyen... http://www.blitzcodebase.co.uk/89-NonType+Based+Vector+Lib+by+Jonathan+Nguyen.html 2007-07-17 GMT Basically instead of having to deal with type declarations (ie. the myVector.Vector) you can use ... Cower.Math3D by Noel Cower... http://www.blitzcodebase.co.uk/88-CowerMath3D+by+Noel+Cower.html 2007-07-17 GMT Place this under mod/cower.mod/math3d.mod/math3d.bmxHave fun. ... See if an Entity is in View by Berbank... http://www.blitzcodebase.co.uk/87-See+if+an+Entity+is+in+View+by+Berbank.html 2007-07-17 GMT Havent properly checked this yet, but it seems to work.There are other code fragments out there... Asteroids FPS by Andy... http://www.blitzcodebase.co.uk/86-Asteroids+FPS+by+Andy.html 2007-07-17 GMT Demonstrates how to make an asteroids game in 3D with a First Person View ... Calc terrain height - Ideal for terrain tool by Qimmer... http://www.blitzcodebase.co.uk/85-Calc+terrain+height++Ideal+for+terrain+tool+by+Qimmer.html 2007-07-17 GMT Uses Cos#() to calc the vertex/terrain height for ex. a mountain. Ideal if u want to make a terra... Create Tiled Terrain by Leon Drake... http://www.blitzcodebase.co.uk/84-Create+Tiled+Terrain+by+Leon+Drake.html 2007-07-17 GMT This is a code i wrote for my Program to create some water and Terrains. With the ability to use ... NA_ODE by nassimamar... http://www.blitzcodebase.co.uk/83-NA_ODE+by+nassimamar.html 2007-07-17 GMT Nothing special, thought id might contribute some stuff that im currently not using. I mapped mos... Simple Wheel Physics by RoyFerriby... http://www.blitzcodebase.co.uk/82-Simple+Wheel+Physics+by+RoyFerriby.html 2007-07-17 GMT Using Circumference to calculate wheel rotation based on velocity ... Infinite far clipplane by Devils Child... http://www.blitzcodebase.co.uk/81-+Infinite+far+clipplane+by+Devils+Child.html 2007-07-17 GMT This code creates an infinitive far clipplane.You need to download the direct x 7 dll which is ... Pool Game by Jeppe Nielsen... http://www.blitzcodebase.co.uk/80-+Pool+Game+by+Jeppe+Nielsen.html 2007-07-17 GMT Just a simple pool game I did in two hours. The computer AI still needs some work, but 2 player m... Point distance to a Line by Danny... http://www.blitzcodebase.co.uk/79-Point+distance+to+a+Line+by+Danny.html 2007-07-17 GMT Given 2 3d points A and B (that make up for a line-segment) and a point P; this function will ret... Triggerplate system for detecting intrusion events by Bill Stanbrook... http://www.blitzcodebase.co.uk/78-Triggerplate+system+for+detecting+intrusion+events+by+Bill+Stanbrook.html 2007-07-17 GMT A simple system for using the Blitz3D collision system to trigger events when a trigger entity pa... BMax Math Lib v3.0 by Chroma... http://www.blitzcodebase.co.uk/77-BMax+Math+Lib+v30+by+Chroma.html 2007-07-17 GMT This math lib is a drastic speed increase over previous libs. Ive done extensive speed testing in... Lib to create an OBB and test if a point or entity is inside its space by Bill Stanbrook... http://www.blitzcodebase.co.uk/76-Lib+to+create+an+OBB+and+test+if+a+point+or+entity+is+inside+its+space+by+Bill+Stanbrook.html 2007-07-17 GMT This lib allows you to create and configure an Oriented Bounding Box (a box that is not locked to... Snap to grid movement by Bill Stanbrook... http://www.blitzcodebase.co.uk/75-Snap+to+grid+movement+by+Bill+Stanbrook.html 2007-07-17 GMT Demonstrates camerapicking a point on a grid and moving an object so that movement is snapped to ... DeltaRoll by Stevie G... http://www.blitzcodebase.co.uk/74-DeltaRoll+by+Stevie+G.html 2007-07-17 GMT Returns the roll angle between two entities...