This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
We’re excited to announce version 6.6.5 of the SDK This version comes with a lot of really exciting stuff!
Animations:
- Animation layers: BREAKING CHANGE > to run multiple animations in a model, you need to assign them to different layers
- No longer required to stop() a non-looping animation before replaying it, or playing another on the same layer
- The play() function includes an optional
reset
parameter. When true, if the animation was already playing or paused it will jump back to the first frame and play from the start. - It’s possible to call
play()
from the Animator component, passing the AnimationState to play Link: https://docs.decentraland.org/development-guide/3d-model-animations/
Events and data:
- Fetch the player’s camera mode from Camera.instance.cameraMode
- Event when player changes camera mode
- Event when player performs an emote
- Event when player becomes inactive (after one minute with no interactions) Link: https://docs.decentraland.org/development-guide/event-listeners
Other:
- Support for colyseus.js library, enabling easier multiplayer over websockets
- uv values for mapping textures onto BoxShape components
- New “None” frame style on the NFTShape component, to display the plain NFT image.
- Ambient occlusion & rendering in preview is just like in production
- Player sound effects when walking, jumping, doing emotes in preview
- Bloom effect when teleporting in preview
Fixes
- Animation
weight
property for blending animations works again - AudioSource playOnce() now always plays the sound from the start
- Sounds attached to a player’s avatar no longer play automatically when the player walks into a scene