Nifflas object

From FusionWiki

Jump to: navigation, search
Nifflas object
General Information
Author: Jamie
Release Date: Year
Status: Released / Beta / In development / Obsolete / Private / Canceled / Unknown
Last updated: Unknown
Version: Unknown
Build: 249
Developer-only: No
Website: Forum Post
Download: Download Link
Runtime Versions
HWA: Yes
Flash: No
Java: No
Java Mobile: No
Vitalize!: No
Unicode: No


The Nifflas Object is an extension for Multimedia Fusion 2 written by Jamie.

"Everything in this extension can be done in MMF2 without any extensions at all. However, it simplifies many operations that I do so often that it would be best to have dedicated expressions for them. This extension will keep growing as I need more features." -- Nifflas

Main features

  • Randomization: The ability to randomize a number within a given range, and blocking a number somewhere in the range (useful for e.g. play a random song, but not the previously played one).
  • Sine: Same as Sin() but with a bit more customization. Again, nothing that can't be done with a normal expression, but this helps the expressions to look a bit more simple.
  • Limit: Same as Max(Min([value]),x),y) but prettier
  • Substr: PHP style substr with support for negative start and length values. Really powerful, replaces many irritating left$/mid$/len combinations.
  • Timers: Nice and simple way of doing something every Xth frame.
  • Cosine: See Sine
  • Nearest: Let you specify two numbers, and check which of those two numbers a third one is closest to.
  • Normalize: Lets you specify a value within a set range, and convert it to a value between 0 and 1. It is equivalent to this expression: (inputvalue-input_min)*1.0/(input_max-input_min)
  • Modify Range: Lets you specify a value within a set range, and convert it to a value within another range. It is equivalent to this expression: output_min+(inputvalue-input_min)*1.0*(output_max-output_min)/(input_max-input_min)
  • Compare two numbers: Nearly the same as MMF2's general comparsion feature, but you can select the operator to use via expressions, which minimizes the number of events you need for some complex tasks.

External links

Personal tools