Skip to main content

Modules

MD Engine has a number of optional modules that only get compiled into your ROM if your project uses them. This keeps unused features from consuming ROM space or RAM.

Below is an overview of each module and when you might use it.

ModuleDescription
ArraysStore and manage lists of values — inventory, completed levels, high scores, etc.
BehavioursPre-built movement patterns: platformer physics and tile-based movement.
CameraFollow actors, scroll, shake, flash, set deadzones and bounds.
Collisions & PhysicsCollision detection, physics simulation, collision groups and masking.
Dialogue & TextText boxes, player choices, fonts, and text drawing.
LocalizationTranslate your game's text into multiple languages.
MathMath functions (sine, cosine, atan2, sqrt) and unit conversions.
ParticlesLightweight visual effects — sparks, smoke, rain, explosions.
PathfindingAutomatic route-finding between points on the collision map.
ProjectilesSpawnable attack objects — bullets, arrows — that interact with collisions.
ThreadsBackground scripts not attached to any scene, actor, or trigger.
TimersRun scripts after a delay or at regular intervals.
TweensSmooth value interpolation with easing curves.

Many module limits (number of timers, threads, particles, etc.) can be adjusted in the Maximum Elements settings.