AssetBundle

AssetBundle is a special Object type that has access to assetbundle related functions like looping and trigger effects. Once you have a reference to an Object you can call these functions like this: obj.AssetBundle.getLoopingEffects().

Functions

Return Value Function Name Description
int getLoopingEffectIndex() Returns the index of the currently looping effect.
Table getLoopingEffects() Returns a Table with the keys “index” and “name” for each looping effect.
Table getTriggerEffects() Returns a Table with the keys “index” and “name” for each trigger effect.
void playLoopingEffect( int index ) Starts playing a looping effect.
void playTriggerEffect( int index ) Starts playing a trigger effect.