Skip to content

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