Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Sequential emotes #5771

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from
Draft

feat: Sequential emotes #5771

wants to merge 3 commits into from

Conversation

Kinerius
Copy link
Contributor

@Kinerius Kinerius commented Oct 4, 2023

What does this PR change?

Added sequential emotes support

How to test the changes?

https://play.decentraland.zone/?BUILDER_SERVER_URL=https://builder-api.decentraland.zone/v1&NETWORK=sepolia&DEBUG_MODE=true&WITH_COLLECTIONS=9ea65056-3e0a-4093-a61a-f1760ee3c710&position=100,100&explorer-branch=feat/sequential-emotes

  • Equip a sequential emote
  • The emote should play the start animation then the loop animation
  • Emote should loop until player moves or jumps
  • Player wont be able to move until animation ends

Our Code Review Standards

https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

Copilot summary

🤖 Generated by Copilot at 1c6adf7

This pull request refactors the EmotesService domain layer and related classes to support sequential emotes, which are emotes that consist of multiple animation clips. It introduces a new type called EmoteAnimationData that replaces the old EmoteClipData type, and a new struct called AnimationSequence that represents the sequence of clips for an emote. It also updates the IEmoteReference, IEmoteAnimationLoader, and IAnimator interfaces, and the EmbedEmoteReference, NftEmoteReference, EmoteAnimationLoader, EmotesService, AvatarAnimatorLegacy, DCLCharacterController, AvatarEmotesController, and EmotesCustomizationComponentController classes to use the new types and logic. It also fixes a circular dependency issue in the EmotesServiceDefinitions.asmdef file, and adds a debug log statement in the AsyncEmoteLoad method.

@Kinerius Kinerius self-assigned this Oct 4, 2023
@Kinerius Kinerius mentioned this pull request Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant