June 29, 2022
❗Warning: This is a legacy page covering functionality with the old SDK version 6. See the latest version of this topic here . When running a scene that’s already deployed to land in Decentraland, there are a number of things you can try out to debug it.
Before deploying # Preview # Before you deploy your scene to Decentraland, make sure the scene runs well in preview using the latest version of the Decentraland SDK.
...
June 29, 2022
When running a scene that’s already deployed to land in Decentraland, there are a number of things you can try out to debug it.
Before deploying # Preview # Before you deploy your scene to Decentraland, make sure the scene runs well in preview using the latest version of the Decentraland SDK. See debug in preview .
Although there should always be backwards compatibility of content built with older SDK versions, some platform-level aspects are subject to change over time.
...
February 8, 2022
All creators are welcome! In Decentraland you have a wide range of Creative possibilities, for people of different talents and skill levels!
The Creator Hub # The Creator Hub is the recommended tool for creators of all knowledge levels. It’s a desktop application that lets you create:
Wearables & Smart Wearables Emotes Scenes Download the Creator Hub here .
Wearables # Wearables are items of clothing that player avatars can wear.
...
May 17, 2021
This document outlines the steps recommended for developing a scene for Decentraland, from ideation to publishing and beyond.
Install the Creator Hub Design your experience Where to publish Templates and examples Art assets Run a local preview Publish to the test server Publish to Decentraland Promote Iterate Giving back Install the Creator Hub # Make sure you have the Decentraland Creator Hub installed.
Installation Guide . If you intend to work with code, also make sure you install Visual Studio Code .
...
November 4, 2020
Display an avatar as an entity in a scene.
Create an avatar # The following snippet creates an avatar with random wearables and body shape, and name “NPC”.
const myAvatar = engine.addEntity() AvatarShape.create(myAvatar) Transform.create(myAvatar, { position: Vector3.create(4, 0.25, 5), }) When passing data to generate an AvatarShape, the following fields are required:
id: (required) Internal identifier for the Avatar The following optional fields are also available:
name: Name to display over the Avatar’s head.
...
August 4, 2020
❗Warning: This is a legacy page covering functionality with the old SDK version 6. See the latest version of this topic here . To change the player’s position in the scene, use the movePlayerTo() function. This function takes two arguments:
position: Where to move the player, expressed as an object with x, y, and z properties. cameraTarget: (optional) What direction to make the player face, expressed as an object with x, y, and z properties that represent the coordinates of a point in space to stare at.
...
August 4, 2020
Use the Scene Editor # The easiest way to move the player is to use the Scene Editor . Use the no-code Move player or the Move player here Actions, see Make any item smart .
Move player # To change the player’s position in the scene, use the movePlayerTo() function. This function takes an object with two properties:
newRelativePosition: Where to move the player, expressed as a Vector3. cameraTarget: (optional) What direction to make the player face, expressed as a Vector3 that represents the coordinates of a point in space to stare at.
...
August 4, 2020
❗Warning: This is a legacy page covering functionality with the old SDK version 6. See the latest version of this topic here . The Decentraland ECS Utils library includes a number of helpful pre-built tools that include components, methods, and systems. They offer simple solutions to common scenarios that you’re likely to run into while building scenes.
Gradual Movement Move an entity Follow a path Follow a curved path Rotate an entity Sustain rotation Change scale Non-linear changes Callback on finish Toggle Time Delay a function Delay removing an entity Repeat at an Interval Triggers Trigger Component Trigger layers Conversions clamp map world position world rotation Send requests Labels Debug helpers Debug cube Action sequence IAction Action Sequence Builder Action Sequence System Full example Using the Utils library # On the VS Code extension # Make sure you’ve installed the VS Code extension .
...
May 4, 2020
❗Warning: This is a legacy page covering functionality with the old SDK version 6. See the latest version of this topic here . There are two different ways you can show a video in a scene. One is to stream the video from an external source, the other is to pack the video file with the scene and play it from there.
In both cases, you assign the video to a VideoTexture, which can be used on a material and then applied to any primitive shape like a plane, cube, or even a cone.
...
May 4, 2020
There are tree different ways you can show a video in a scene:
Upload a video file as part of the scene contents Stream the video from an external source Stream live via Decentraland cast 💡 Tip: In the Scene Editor , you can use an Video Player Smart Item for a no-code way to achieve this. In all cases, you’ll need:
An entity with a primitive shape like a plane, cube, or even a cone.
...