-
Notifications
You must be signed in to change notification settings - Fork 0
Window
nhmkdev edited this page Jan 15, 2014
·
3 revisions
Window objects are graphical components for use with Dialog and CustomMenu objects (and possibly more!). A window is a single graphic intended for reuse.
Sample uses for windows in a standard character Dialog. Each of the items below would be a single window.
- The background behind text
- The background behind an image of the speaker
- The image of the speaker
var Windows = ig.support.data.windows;
Windows.sample =
{
i:'spike', // image ('media/' is prepended; '.png' is appended)
sx:0, // source x (default: 0)
sy:0, // source y (default: 0)
x:30, // target x (default: 0)
y:30, // target y (default: 0)
w:32, // width (default: image width)
h:16, // height (default: image height)
t:{} // text (TBD - not implemented at this time)
}