MPUZ: Developing

From Mario Fan Games Galaxy Wiki
Revision as of 09:05, 18 September 2010 by Xgoff (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This information is subject to change.
MPUZ
Mpuz logo.png
Development Main Page
Basics
Intermediate
Advanced
  • none
Reference
[Edit]


Introduction

Despite MPUZ being nowhere close to being done a full game in its own right, it also allows for a great deal of customization; objects, levels, and maps can be created by users, and of course the graphics, sounds, and music can be changed. Oh, and there's an external dialog file which you can translate to another language or something. Or spoil the whole game, whatever.

Anybody who's been paying attention knows MPUZ uses Lua for object scripting, which makes it quite easy to code objects. Numerous pre-coded functions are already included and ready to use, but there's nothing stopping you from re-inventing the wheel if you so desire. Throughout this "manual", you'll find various references to those functions along with other special constructs.

MPUZ scripting may seem fairly limited, as external code is sandboxed and has a restricted set of functions. In addition, per-instance scripts are not supported as this is not a general-purpose game. However, levels can have their own scripts so it is possible to perform some amount of per-instance scripting.

External Definitions

Most of MPUZ's data is external and found in definition files. These files contain fields which define individual settings for this datatype; object instances, for example, contain fields defining events and triggers, among others.