Modules provide packages of additional functionality for BlitzMax. Modules are stored in the mod folder within your BlitzMax installation directory.
The entire base of BlitzMax is provided by modules (all managed by Blitz Research Limited (BRL)). This section documents not only the official modules by BRL, but also popular third party modules.
Import and FrameworkEdit
You can control which modules are compiled with your program by using Import and Framework. By default all modules from scopes BRL and Pub are imported. If you specify some module with Framework, only that module and ones it imports are compiled with your code. You can then import additional modules using Import. Common framework modules are BRL.Basic and BRL.Max2D, for console and 2d applications, respectively.
Framework BRL.Basic ' Enough for simple console applications Import BRL.Random ' BRL.Basic imports BRL.Random, so to use the Rand function we do not need to import BRL.Random (but it wont hurt) Print(Rand(1, 10))
Or in a more module-specific way:
Framework BRL.Blitz ' This module is the base for everything, and does not import other modules Import BRL.StandardIO ' This module is needed for Print Import BRL.Random ' This module is needed for Rand Print(Rand(1, 10))
List of modscopesEdit
- Koriolis - Koriolis' modules
List of modulesEdit
All modules are cross-platform and freely available unless otherwise noted.
- MaxGUI (non-free)
- UniMotion (MacOS only)