- Companion
- class
Type members
Classlikes
Represents any browser compatible audio asset
Represents any browser compatible audio asset
- Value Params
- name
the asset name used to look up the loaded asset
- path
the path to the asset
Represents any browser compatible image asset
Represents any browser compatible image asset
- Value Params
- name
the asset name used to look up the loaded asset
- path
the path to the asset
- tag
Images can optionally be "tagged", this tells indigo that images with the same tag should be grouped together for more efficient use. E.g. you might tag all the images for a given level with the same tag.
- Companion
- object
Tagged instance, the preferred constructor is the apply method: Tagged("my tag")(image1..imageN)
Tagged instance, the preferred constructor is the apply method: Tagged("my tag")(image1..imageN)
Images can optionally be "tagged", this tells indigo that images with the same tag should be grouped together for more efficient use. E.g. you might tag all the images for a given level with the same tag.
- Value Params
- images
The image assets to be tagged
- tag
The AssetTag to apply to all the images
- Companion
- object
Represents a text asset, Indigo does not care about the type of data held in the text file, it is up to the programmer to parse it.
Represents a text asset, Indigo does not care about the type of data held in the text file, it is up to the programmer to parse it.
- Value Params
- name
the asset name used to look up the loaded asset
- path
the path to the asset
Value members
Concrete methods
Flattens assets arranged in a Tagged hierarchy into a flat list of loadable assets, appropriately tagged.
Flattens assets arranged in a Tagged hierarchy into a flat list of loadable assets, appropriately tagged.
- Value Params
- assets
The potentially tagged hierarchy list.
- Returns
List[AssetTypePrimitive]