development-guide

Display an NFT

February 7, 2018
development-guide

❗Warning: This is a legacy page covering functionality with the old SDK version 6. See the latest version of this topic here . You can display a 2D NFT (Non-Fungible Token) that you own in your Decentraland scenes. The NTF’s image and other data is taken from an API, based on the token’s contract and id. Any NFTs that are supported on OpenSea can also be displayed in an NFT picture frame in Decentraland. ...

Display an NFT

February 7, 2018
development-guide

You can display a 2D NFT (Non-Fungible Token) that you own in your Decentraland scenes. The NTF’s image and other data is taken from an API, based on the token’s contract and id. Any NFTs that are supported on OpenSea can also be displayed in an NFT picture frame in Decentraland. 💡 Tip: In the Scene Editor , you can use an NFT Smart Item for a no-code way to achieve this. ...

Custom components

January 15, 2018
development-guide

❗Warning: This is a legacy page covering functionality with the old SDK version 6. See the latest version of this topic here . Custom components # If you need to store information about an entity that isn’t handled by the default components of the SDK (see component reference ), then you can create a custom type of component on your scene. Tip: Custom components can be defined in your scene’s game. ...

Custom components

January 15, 2018
development-guide

Data about an entity is stored in its components . The Decentraland SDK provides a series of base components that manage different aspects about an entity, like its position, shape, material, etc. The engine knows how to interpret the information in these, and will change how the entity is rendered accordingly as soon as they change their values. If your scene’s logic requires storing information about an entity that isn’t handled by the default components of the SDK, then you can create a custom type of component on your scene. ...

3rd party servers

January 10, 2018
development-guide

Decentraland runs scenes locally in a player’s browser. By default, players are able to see each other and interact directly, but each one interacts with the environment independently. Changes in the environment aren’t shared between players by default. You need to implement this manually. Allowing all players to see a scene as having the same content in the same state is extremely important to for players to interact in more meaningful ways. ...

Materials via code

development-guide

❗Warning: This is a legacy page covering functionality with the old SDK version 6. See the latest version of this topic here . Materials # Materials can be applied to entities that use primitive shapes (cube, sphere, plane, etc) by setting them as a component. You can either set a Material or a BasicMaterial component. Each entity can only have one of these. Both components have several fields that allow you to configure the properties of the material, add a texture and set the texture’s mapping. ...

Materials via code

development-guide

Materials # Materials can be applied to entities that use primitive shapes (cube, sphere, plane, etc) by adding a Material component. This component has several fields that allow you to configure the properties of the material, add a texture, etc. glTF models include their own materials that are implicitly imported into a scene together with the model. To modify or override these materials, use the GltfNodeModifiers component. See Modify glTF materials for more details. ...

Report a bug

November 1, 2023
development-guide

If you encounter any bugs or issues with the Decentraland SDK and the Scene Editor, please report them on our GitHub repository here . Before you report a bug # Before submitting a bug report, please ensure the following: Ensure you’re using the latest version of the SDK, in case the issue has already been fixed in newer releases. Check the documentation for the feature you’re trying to use, to confirm that it’s supposed to behave as you’re expecting, and that this is not just a misunderstanding. ...

Container Styling

October 28, 2022
development-guide

The following properties are used to set a background and border on a UI entity. Background # A uiBackground component gives color or a texture an entity’s area. It uses the size and position defined by the entity’s uiTransform. The following fields can be configured, all of them are optional: color: The color to use on the entity, as a Color4 value. 💡 Tip: Make an entity semi-transparent by setting the 4th value of the Color4 to less than 1. ...