Class: BitmapFontLoader

PIXI. BitmapFontLoader

new BitmapFontLoader(url, crossorigin)

The xml loader is used to load in XML bitmap font data ('xml' or 'fnt') To generate the data you can use http://www.angelcode.com/products/bmfont/ This loader will also load the image file as the data. When loaded this class will dispatch a 'loaded' event

Parameters:
Name Type Description
url String

The url of the sprite sheet JSON file

crossorigin Boolean

Whether requests should be treated as crossorigin

Source - pixi/loaders/BitmapFontLoader.js, line 5

Members

<readonly> baseUrl :String

[read-only] The base url of the bitmap font data

Source - pixi/loaders/BitmapFontLoader.js, line 35

crossorigin :Boolean

Whether the requests should be treated as cross origin

Source - pixi/loaders/BitmapFontLoader.js, line 27

texture :PIXI.Texture

[read-only] The texture of the bitmap font

Source - pixi/loaders/BitmapFontLoader.js, line 44

url :String

The url of the bitmap font data

Source - pixi/loaders/BitmapFontLoader.js, line 19

Methods

load()

Loads the XML font data

Source - pixi/loaders/BitmapFontLoader.js, line 57
Phaser Copyright © 2012-2014 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-dev on Sat Nov 15 2014 19:55:09 GMT-0000 (GMT) using the DocStrap template.