Skip to content

Asphalt can handle keyframe sequences, for local syncing #125

Description

@TaylorsRus

Flow:

  1. When you detect an animation, alter the codegen for that directory to now be AnimationClipProvider:RegisterAnimationClip(PathToDirectory)
  2. Now, since these animations are already RBXMs, we can directly copy that directory, into the target assets directory, found in source, to look something like this at the end:

Image
(Didn't have rojo setup in this demo repo)
Image

The animation will

  • Be recognized as an ContentId to the type checker
  • Be a playable on an AnimationTrack at runtime
  • Clean itself up, as this function generates a hash; doesn't upload anything to the cloud

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions