Addon ID

  • justifun_spriteloop

Info

Statistics

  • Download count0 total downloads
  • Latest download count 0 downloads of latest version
  • Average download count0 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

SpriteLoop Actions

  • Actions

    Load SpriteLoop data {0} (autoplay: {1})

    Replace this instance's character with another imported SpriteLoop data file.

    Reload current SpriteLoop package (autoplay: {0})

    Reload the current SpriteLoop data and textures.

    Play animation {0} (loop: {1}, restart: {2})

    Play an animation by exported ID or display name.

    Play animation index {0} (loop: {1}, restart: {2})

    Play an animation by its zero-based package index.

    Play next animation (loop: {0})

    Play the next animation, wrapping at the end.

    Play previous animation (loop: {0})

    Play the previous animation, wrapping at the start.

    Play random animation (loop: {0})

    Choose and play a random animation.

    Restart current animation

    Restart the current animation at frame zero.

    Stop animation

    Stop playback at the current frame.

    Pause animation

    Pause playback so it can be resumed.

    Resume animation

    Resume a paused animation.

    Toggle animation pause

    Pause playing animation or resume a paused animation.

    Set animation frame to {0} (emit events: {1})

    Seek directly to a zero-based animation frame.

    Set animation time to {0} seconds (emit events: {1})

    Seek directly to a time in the current animation.

    Step one frame forward (wrap: {0}, emit events: {1})

    Advance exactly one animation frame.

    Step one frame backward (wrap: {0}, emit events: {1})

    Move back exactly one animation frame.

    Set animation progress to {0} (emit events: {1})

    Seek to normalized animation progress from 0 to 1.

    Set playback rate to {0}

    Set the playback speed multiplier.

    Set looping to {0}

    Set or clear the current animation's loop override.

    Set animation event emission {0}

    Enable or disable authored frame event triggers.

    Set skin to {0}

    Select a skin by exported ID or display name.

    Set skin to index {0}

    Select a skin by zero-based package index.

    Set next skin

    Select the next skin, wrapping at the end.

    Set previous skin

    Select the previous skin, wrapping at the start.

    Set random skin

    Select a random skin.

    Set part {0} variant to {1}

    Override one part with a variant.

    Clear variant override for part {0}

    Restore the skin or base image for one part.

    Clear all part variant overrides

    Restore skin or base images for every part.

    Set part {0} to a random variant (include Default: {1})

    Choose a random variant belonging to one part.

    Randomize all part variants (include Default: {0})

    Randomize every part that has exported variants.

    Set runtime tint to RGB ({0}, {1}, {2})

    Multiply authored tint by an RGB runtime tint.

    Clear runtime tint

    Restore a white runtime tint.

    Reset SpriteLoop appearance

    Select the default skin, clear all manual variants, and clear runtime tint.

Loading

  • Conditions

    On SpriteLoop package loaded

    Triggered after the manifest and all part textures have loaded.

    On SpriteLoop package load failed

    Triggered if the package manifest or an image cannot be loaded.

    SpriteLoop package is loaded

    Test whether the package and textures are ready.

  • Expressions

    DataFile

    The current imported SpriteLoop data file path.

    Loading

    1 while package data or textures are loading, otherwise 0.

    Loaded

    1 when the package and textures are loaded, otherwise 0.

    LastError

    The last package, animation, skin, part, or variant error.

Playback

  • Conditions

    Animation is playing

    Test whether animation playback is advancing.

    Animation is paused

    Test whether animation playback is paused.

    Animation {0} is playing

    Test whether a particular animation ID or name is playing.

    Animation is looping

    Test the effective loop setting for the current animation.

    On animation finished

    Triggered when a non-looping animation reaches its end.

    On animation looped

    Triggered whenever playback wraps to frame zero.

    On animation frame changed

    Triggered whenever playback or seeking enters a frame.

  • Expressions

    AnimationId

    The current animation's exported ID.

    AnimationName

    The current animation's display name.

    AnimationIndex

    The zero-based current animation index, or -1.

    Frame

    The zero-based current animation frame.

    SourceFrame

    The current frame's original SpriteLoop editor frame number.

    FrameCount

    The current animation's frame count.

    FPS

    The current animation's authored frame rate.

    PlaybackTime

    The current animation time in seconds.

    Duration

    The current animation duration in seconds.

    PlaybackRate

    The current playback speed multiplier.

    AnimationProgress

    Normalized current animation progress from 0 to 1.

    Playing

    1 when animation playback is advancing, otherwise 0.

    Paused

    1 when animation playback is paused, otherwise 0.

    Looping

    1 when the current animation effectively loops, otherwise 0.

    LoopMode

    The current loop override: from-package, loop, or no-loop.

Animation events

  • Conditions

    On any SpriteLoop animation event

    Triggered for every authored event on an entered frame.

    On SpriteLoop event {0}

    Triggered for an authored event with a matching name.

  • Expressions

    LastEventName

    The last authored event name.

    LastEventData

    The last authored event payload.

    LastEventFrame

    The last event's zero-based animation frame.

    LastEventSourceFrame

    The last event's original editor frame.

    LastEventAnimationId

    The animation ID that emitted the last event.

    EventEmissionEnabled

    1 when authored event emission is enabled, otherwise 0.

Skins and variants

  • Expressions

    SkinId

    The active skin's exported ID.

    SkinName

    The active skin's display name.

    SkinIndex

    The zero-based active skin index, or -1.

    SkinCount

    The number of skins in the package.

    SkinIdAt

    A skin ID at a zero-based index.

    SkinNameAt

    A skin name at a zero-based index.

    VariantCount

    The number of exported variants in the package.

    VariantIdAt

    A variant ID at a zero-based index.

    VariantKeyAt

    A variant runtime key at a zero-based index.

    VariantNameAt

    A variant display name at a zero-based index.

    VariantPartIdAt

    The owning part ID for a variant index.

    VariantPartKeyAt

    The owning part runtime key for a variant index.

    ManualVariantCount

    The number of active manual part variant overrides.

    PartVariantId

    The currently resolved variant ID for a part, including skin and state selection.

    PartVariantKey

    The currently resolved variant runtime key for a part.

    PartVariantName

    The currently resolved variant display name for a part.

    PartManualVariantId

    The manual override variant ID for a part, or an empty string.

    TintRed

    The runtime red tint channel from 0 to 255.

    TintGreen

    The runtime green tint channel from 0 to 255.

    TintBlue

    The runtime blue tint channel from 0 to 255.

Parts

  • Conditions

    Current frame has part {0}

    Test whether a part has a transform in the current frame.

  • Expressions

    PartX

    The current part pivot's world X position.

    PartY

    The current part pivot's world Y position.

    PartCenterX

    The transformed center of a part's base rectangle in world X.

    PartCenterY

    The transformed center of a part's base rectangle in world Y.

    PartAngle

    The part angle in layout degrees.

    PartScaleX

    The part's current horizontal layout scale.

    PartScaleY

    The part's current vertical layout scale.

    PartOpacity

    The part's current opacity including instance opacity.

    PartSkewX

    The part's authored horizontal skew in degrees for the current frame.

    PartSkewY

    The part's authored vertical skew in degrees for the current frame.

Package information

  • Expressions

    PackageName

    The SpriteLoop package name.

    CanvasWidth

    The authored canvas width.

    CanvasHeight

    The authored canvas height.

    AnimationCount

    The number of animations in the package.

    AnimationIdAt

    An animation ID at a zero-based index.

    AnimationNameAt

    An animation name at a zero-based index.

    PartCount

    The number of parts in the package.

    PartIdAt

    A part ID at a zero-based index.

    PartKeyAt

    A part runtime key at a zero-based index.

    PartNameAt

    A part display name at a zero-based index.