developer-assignment-for-softgames
    Preparing search index...

    Puppeteer

    Used to create complex Character Puppets by bringing together a collection of animation data and on-screen assets into one place in a manner that allows for easier manipulation and cues for an onscreen character.

    Resulted from a refactoring of the original Dealer Class in order to create a system that can create gsap timelines procedurally from external data.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    animationMap: Map<string, AnimationDataEntry> = ...
    animationsPlaying: string[] = []
    assetMap: Map<string, Container<ContainerChild>> = ...
    attachedScene: Scene

    Methods

    • Protected

      Parse tags included in the Step Data

      Parameters

      • tweenData: TweenData

        Raw data for this step

      • Optionalvariables: Record<string, any>

        Additional variables that can be fed in and referenced in the Step data for consistency

      Returns void

    • Plays a given animation loaded into the character

      Parameters

      • id: string

        Animation ID

      • Optionalvariables: Record<string, any>

        Additional variables that can be fed in and referenced in the Step data for consistency

      Returns void | Timeline