Blitzmax

BlitzMax is a Game Programming Language (which means it is a programming language designed especially for game making). The most interesting characteristic of it is that most of this language functionality is written as Modules, which are written in… BlitzMax! Also, BM Mods can use C, C++ and Assembler to increase their functionality!

MODULES:
How to build modules:
You can read about it HERE (Keep in mind that none of our modules needs MingW at the moment).

2D Vector Module V1.30 - This Blitzmax module adds 2D Vectors functionality. It is, hopefully, mostly optimized and bugless. It features both Methods and Functions to:

  • -Add, Subtract, Multiply and Divide by Number
  • -Add, Subtract, Multiply and Divide by Vector
  • -Calculate the angle and length of a vector
  • -Calculate the smaller angle between two vectors
  • -Quickly and easilt create clones and new vectors
  • -Create a Normalised (Unit) vector
  • -Return the Dot Product of two vectors
  • -Rotate a vector by Angle
  • -TrueMod functions - returns Modulo which is never negative
  • -Every function which modifies vector has option to instead create, modify and return a clone
  • -Two heavily commented examples showing most of the module functions

Keep in mind that trying to divide by 0 or by a vector having any coordinate equal to zero will return Division by Zero error! Also, when you are passing a vector to the function, an error will be returned if that vector is Null!

Color Module V1.10 - This Blitzmax module adds RGB and HSV Color objects along with many functions:

  • -Easily store and change RGB and HSV colors
  • -Convert RGB to HSV and vice versa
  • -Call Max2D SetColor functions with proper parameters with single method call
  • -Two heavily commented examples showing most of the module functions

Speed Check Module V1.00 - This Blitzmax module helps in doing speed test:

  • -Single function to start and other to stop speed test and print the results
  • -One short example

Leave a Reply