Difference between revisions of "Extensions (Click)"

From Mario Fan Games Galaxy Wiki
Line 1: Line 1:
Extensions are small objects that can be inserted into an application. They help expand the functionality of TGF and MMF by providing extra events, conditions, and actions. Because of this, they are usually found in many fangames.
+
'''Extensions''' are segments of code added to an application in modular nature to increase its capabilities. Extensions help expand the functionality of [[The Games Factory]] and [[Multimedia Fusion]] by providing extra events, conditions, and actions. A list follows:
  
There are hundreds of extensions available. Extensions commonly used in fangames are:
+
= Aesthetic =
 +
==== DMC ====
 +
Direct Media Control object, allowing one to load Modules, Samples, or Streams and play a large number of them simultaneously and across frames, as well as modifying the system's volume settings.
  
'''Fastloop''': Fastloop helps speed up certain events by running them many times per MMF/TGF loop. Thus, they are useful for static engines, where they are normally used to push objects out of floors and walls without an overlap being seen. Fastloops are also useful when many objects need to be created or positioned at once. The Fastloop extension assigns an ID number for each loop that is run. MMF 1.5 includes built-in Fastloops, however these use assigned ID strings instead.
+
==== ModFx ====
 +
See above
  
'''Platform Object''': Replaces the built-in platform movement, and provides a quick and easy alternative to static engines. The Platform object gives the user many features to adjust, such as acceleration, gravity, one-way platform emulation, and slope detection.
+
==== ModFusion ====
 +
See above
  
'''DMC and ModFx/ModFusion''': These extensions deal with audio, and give greater control of how sounds and music are played. They allow support for sound formats that are not supported by default, such as MP3 and MOD-like music. They also give the user control over individual channels and volumes, in addition to other features.
+
= Data Storage =
 +
==== INI ====
 +
INI objects allow rudimentary saving of data. However, the data can easily be changed in a text editor unless encryption is used. The INI object does not include encryption, so it has to be done externally.
  
'''INI and Savegame''': INI objects allow rudimentary saving of data. However, the data can easily be changed in a text editor unless encryption is used. The INI object does not include encryption, so it has to be done externally. The Savegame object is a newer "incarnation" of the INI object, but is more complex to use. Unlike INI, it automatically saves the data in such a way that it can't be edited easily.
+
==== SaveGame ====
 +
The Savegame object is similar to the INI Object, but is more complex to use. Unlike INI, it automatically saves the data in such a way that it can't be edited easily.
 +
 
 +
= Functional =
 +
==== FastLoop ====
 +
Fastloop helps speed up certain events by running them many times per MMF/TGF loop. Thus, they are useful for static engines, where they are normally used to push objects out of floors and walls without an overlap being seen. Fastloops are also useful when many objects need to be created or positioned at once. The Fastloop extension assigns an ID number for each loop that is run. MMF 1.5 includes built-in Fastloops, however these use assigned ID strings instead.
 +
 
 +
==== Platform Object ====
 +
Replaces the built-in platform movement, and provides a quick and easy alternative to static engines. The Platform object gives the user many features to adjust, such as acceleration, gravity, one-way platform emulation, and slope detection.
  
 
==See Also==
 
==See Also==

Revision as of 07:47, 27 June 2006

Extensions are segments of code added to an application in modular nature to increase its capabilities. Extensions help expand the functionality of The Games Factory and Multimedia Fusion by providing extra events, conditions, and actions. A list follows:

Aesthetic

DMC

Direct Media Control object, allowing one to load Modules, Samples, or Streams and play a large number of them simultaneously and across frames, as well as modifying the system's volume settings.

ModFx

See above

ModFusion

See above

Data Storage

INI

INI objects allow rudimentary saving of data. However, the data can easily be changed in a text editor unless encryption is used. The INI object does not include encryption, so it has to be done externally.

SaveGame

The Savegame object is similar to the INI Object, but is more complex to use. Unlike INI, it automatically saves the data in such a way that it can't be edited easily.

Functional

FastLoop

Fastloop helps speed up certain events by running them many times per MMF/TGF loop. Thus, they are useful for static engines, where they are normally used to push objects out of floors and walls without an overlap being seen. Fastloops are also useful when many objects need to be created or positioned at once. The Fastloop extension assigns an ID number for each loop that is run. MMF 1.5 includes built-in Fastloops, however these use assigned ID strings instead.

Platform Object

Replaces the built-in platform movement, and provides a quick and easy alternative to static engines. The Platform object gives the user many features to adjust, such as acceleration, gravity, one-way platform emulation, and slope detection.

See Also