Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

feat: Sequential emotes#5771

Draft
Kinerius wants to merge 3 commits into
devfrom
feat/sequential-emotes
Draft

feat: Sequential emotes#5771
Kinerius wants to merge 3 commits into
devfrom
feat/sequential-emotes

Conversation

@Kinerius

@Kinerius Kinerius commented Oct 4, 2023

Copy link
Copy Markdown
Contributor

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
@github-actions

github-actions Bot commented Oct 4, 2023

Copy link
Copy Markdown
Contributor

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant