This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

pixi_fairygui

0.4.23 • Public • Published

FairyGUI_PIXI

Description

FairyGUI is a Visualization Editor For Game Development.
PixiJS is a render library for create rich, interactive graphic.
This library create an interface between both to make development easier.

Table of Contents

addPackage

Analysing Fairy Config File and return a factory function.

Notice

Make sure all Resources used by the package were loaded.
This Function use PIXI.Application built-in loader to fetch necessary resources.

Example

// Suppose your config filename is package1.fui
const create = addPackage(app, 'package1');

// Suppose 'main' is your component name.
const mainComp = create('main');

app.stage.addChild(mainComp);

Parameters

Returns function (string): PIXI.Container

create

The Function create can take specify component name,
which you created by fairyGUI Editor
and return the PIXI.Container for that entity.

Parameters

Returns PIXI.Container

/pixi_fairygui/

    Package Sidebar

    Install

    npm i pixi_fairygui

    Weekly Downloads

    3

    Version

    0.4.23

    License

    ISC

    Unpacked Size

    82.5 kB

    Total Files

    41

    Last publish

    Collaborators

    • kayac