new LoaderParser()
Phaser.LoaderParser parses data objects from Phaser.Loader that need more preparation before they can be inserted into the Cache.
- Source:
Methods
-
<static> bitmapFont(game, xml, cacheKey, xSpacing, ySpacing)
-
Parse a Bitmap Font from an XML file.
Parameters:
Name Type Argument Default Description gamePhaser.Game A reference to the current game.
xmlobject XML data you want to parse.
cacheKeystring The key of the texture this font uses in the cache.
xSpacingnumber <optional>
0 Additional horizontal spacing between the characters.
ySpacingnumber <optional>
0 Additional vertical spacing between the characters.
- Source: