Skip to content

feat: builder mode support#53

Merged
RocioCM merged 14 commits into
mainfrom
feat/builder-mode-support
Apr 10, 2026
Merged

feat: builder mode support#53
RocioCM merged 14 commits into
mainfrom
feat/builder-mode-support

Conversation

@RocioCM

@RocioCM RocioCM commented Apr 6, 2026

Copy link
Copy Markdown
Member

Summary

This pull request introduces several new features and improvements related to emote playback control and entity parsing, as well as some bug fixes and code cleanup. The main focus is on enhancing emote playback functionality (such as play, pause, seek, and sound control) and improving how base64-encoded entities are handled.

Emote Playback Controls and JS Bridge Integration:

  • Added full emote playback control methods to EmoteAnimationController, including play, pause, resume, stop, seek (GoToEmote), enable/disable sound, and methods to query emote state (length, playing, sound presence). These are exposed via the JS bridge for integration with external UI or scripts. [1] [2] [3] [4] [5]
  • Implemented new JS bridge functions and corresponding native calls (OnEmoteLength, OnIsEmotePlaying, OnHasSound) to communicate emote state and control between Unity and the browser environment. [1] [2] [3]

Entity and Metadata Parsing Improvements:

  • Refactored RawActiveEntity to properly parse base64-encoded entities, handling both wearables and emotes, and converting them into the standard ActiveEntity format. Updated the logic to distinguish emotes from wearables and fixed issues with empty/null classes. [1] [2]
  • Updated EntityDefinition.FromBase64 to use the new RawActiveEntity parsing logic, improving reliability and maintainability.
  • Fixed a bug in EntityDefinition.FromActiveEntity where the thumbnail could throw if not found, now safely handles missing thumbnails.

Configuration and Feature Flags:

  • Added a new DisableFace boolean property to AangConfiguration, including support for setting it via URL parameters, allowing facial features to be toggled on or off. [1] [2]

Code Cleanup:

  • Removed the unused and unimplemented ForBodyShapeRaw method from EntityDefinition.

These changes collectively improve the flexibility and robustness of emote playback and entity handling, and lay the groundwork for more advanced avatar and emote interactions.

@RocioCM RocioCM self-assigned this Apr 6, 2026

@lorenzo-ranciaffi lorenzo-ranciaffi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments, looks good otherwise

Comment thread Assets/Scripts/EmoteAnimationController.cs Outdated
Comment thread Assets/Scripts/Preview/PreviewController.cs
Comment thread Assets/Scripts/EmoteAnimationController.cs Outdated
Comment thread Assets/Scripts/Data/RawActiveEntity.cs Outdated
@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown

badge

Vercel Preview is ready!

Field Value
Preview https://aang-renderer-72yn946hd-decentraland1.vercel.app
Commit 85a0d18c76aa6cad85a5eb1f822680431baefc71
Logs https://github.com/decentraland/aang-renderer/actions/runs/24203942617

@lorenzo-ranciaffi lorenzo-ranciaffi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing the comments 👍

@RocioCM
RocioCM merged commit 89edfbd into main Apr 10, 2026
5 checks passed
@RocioCM
RocioCM deleted the feat/builder-mode-support branch April 10, 2026 13:27
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.

4 participants