decentraland-assets

Decentraland Asset Template

https://github.com/block-foundation/decentraland-assets

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.3%) to scientific vocabulary

Keywords

architecture assets blender block-foundation blockchain blockfoundation decentraland decentraland-parcel mana metaverse smart-contracts
Last synced: 6 months ago · JSON representation ·

Repository

Decentraland Asset Template

Basic Info
  • Host: GitHub
  • Owner: block-foundation
  • License: cc-by-sa-4.0
  • Language: TypeScript
  • Default Branch: main
  • Homepage: https://www.blockfoundation.io
  • Size: 63.5 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 4
  • Releases: 0
Topics
architecture assets blender block-foundation blockchain blockfoundation decentraland decentraland-parcel mana metaverse smart-contracts
Created over 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing Funding License Code of conduct Citation Codeowners Security Support Governance Authors

README.md

[![GitHub License](https://img.shields.io/github/license/block-foundation/blocktxt?style=flat-square&logo=readthedocs&logoColor=FFFFFF&label=&labelColor=%23041B26&color=%23041B26&link=LICENSE)](https://github.com/block-foundation/decentraland-assets/blob/main/LICENSE) [![devContainer](https://img.shields.io/badge/Container-Remote?style=flat-square&logo=visualstudiocode&logoColor=%23FFFFFF&label=Remote&labelColor=%23041B26&color=%23041B26)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/block-foundation/decentraland-assets)

Block Foundation Logo

Decentraland Assets

Block Foundation Metaverse Resources


Block Foundation Brand

Contents



[![Report a Bug](https://img.shields.io/badge/Report%20a%20Bug-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/decentraland-assets/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=bug_report.yml) [![Request a Feature](https://img.shields.io/badge/Request%20a%20Feature-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/decentraland-assets/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=feature_request.yml) [![Ask a Question](https://img.shields.io/badge/Ask%20a%20Question-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/decentraland-assets/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=question.yml) [![Make a Suggestion](https://img.shields.io/badge/Make%20a%20Suggestion-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/decentraland-assets/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=suggestion.yml) [![Start a Discussion](https://img.shields.io/badge/Start%20a%20Discussion-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/decentraland-assets/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=discussion.yml)

Introduction

Decentraland is a virtual reality platform powered by the Ethereum blockchain, allowing users to create, experience, and monetize content and applications. You can create "assets" for Decentraland in the form of wearables, virtual real estate, and scenes or experiences. Here's a general process to create a 3D asset or scene for Decentraland using the Decentraland's SDK:

Before you begin:

  1. You need to have basic knowledge of 3D modeling software like Blender, 3D Studio Max, etc.
  2. You need to have a basic understanding of coding, specifically in Typescript or Javascript.
  3. Install Node.js on your computer if you haven't already.
  4. Install the Decentraland CLI (Command Line Interface) using the following command in your terminal or command prompt: npm install -g decentraland.

Steps to create a 3D asset:

  1. Design your 3D Model Create your 3D model using a 3D modeling software such as Blender or 3D Studio Max. Remember that Decentraland has specific performance constraints for 3D models, so keep your model simple and the polygon count low. Export your model as a .glb or .gltf file.

  2. Setting Up Your Environment Create a new directory in your terminal for your project, navigate into it, and initialize a new Decentraland scene with the following commands:

    sh mkdir my-scene cd my-scene dcl init

  3. Modify the Scene Your project directory should now contain a src directory, which contains a game.ts file and a scene.json file. The game.ts file is where you'll code the logic of your scene, and the scene.json file describes the scene's properties.

  • Add your 3D model to your project's directory. You might create an assets folder to keep things organized.

  • In the game.ts file, you'll import your 3D model and add it to your scene. Here's a simple example:

    ```typescript
    import { Entity, engine, Transform, GLTFShape } from 'decentraland-ecs'
    
    // Create entity
    const entity = new Entity()
    
    // Create transform component to define position and rotation
    const transform = new Transform({
        position: new Vector3(8, 0, 8),
        rotation: Quaternion.Euler(0, 180, 0)
    })
    
    // Create shape component and attach 3D model
    const shape = new GLTFShape("models/Your3DModel.glb")
    
    // Assign components to entity
    entity.addComponent(transform)
    entity.addComponent(shape)
    
    // Add entity to engine
    engine.addEntity(entity)
    ```
    
  1. Preview Your Scene In your terminal, while in your project's directory, run dcl start to preview your scene. This command opens up a new tab in your default web browser where you can see your asset in action.

  2. Deploy Your Scene Once you're satisfied with your scene, you can deploy it to Decentraland. You'll need to own or rent some LAND in Decentraland to do this.

Remember that this is a very basic introduction to creating an asset for Decentraland. Depending on what you want to create, you might need to learn more about Decentraland's scripting language, including how to animate your models, respond to user inputs, or interact with Ethereum smart contracts.

Resources

  • https://playtoearndiary.com/a-noobs-guide-to-decentraland/
  • https://playtoearndiary.com/how-to-create-assets-for-decentraland/

Colophon

Authors

This is an open-source project by the Block Foundation.

The Block Foundation mission is enabling architects to take back initiative and contribute in solving the mismatch in housing through blockchain technology. Therefore the Block Foundation seeks to unschackle the traditional constraints and construct middle ground between rent and the rigidity of traditional mortgages.

website: www.blockfoundation.io

Development Resources

Contributing

We'd love for you to contribute and to make this project even better than it is today! Please refer to the contribution guidelines for information.

Legal Information

Copyright

Copyright © 2023 Stichting Block Foundation. All Rights Reserved.

License

Except as otherwise noted, the content in this repository is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License, and code samples are licensed under the Apache 2.0 License.

Also see LICENSE and LICENSE-CODE.

Disclaimer

THIS SOFTWARE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

Owner

  • Name: Block Foundation
  • Login: block-foundation
  • Kind: organization
  • Email: info@blockfoundation.io
  • Location: Netherlands

The Block Foundation mission is enabling architects to take back initiative and contribute in solving the mismatch in housing through blockchain technology.

Citation (CITATION.cff)

cff-version: 1.2.0
title: "Block Foundation - Decentraland Assets"
version: 0.0.1
date-released: 2023-07-01
url: "https://github.com/block-foundation/decetraland-assets"
message: >-
  If you use this software, please cite it using
  the metadata from this file.
type: software
authors:
  - given-names: Lars Bastiaan
    family-names: van Vianen
    email: lars@blockfoundation.io
    affiliation: Block Foundation
    orcid: "https://orcid.org/0000-0002-8790-8630"

GitHub Events

Total
  • Delete event: 2
  • Issue comment event: 2
  • Pull request event: 3
  • Create event: 2
Last Year
  • Delete event: 2
  • Issue comment event: 2
  • Pull request event: 3
  • Create event: 2

Dependencies

.github/workflows/docker_publish.yml actions
  • actions/checkout v3 composite
  • docker/bake-action v2 composite
  • docker/login-action v2 composite
  • docker/metadata-action v4 composite
  • docker/setup-buildx-action v2 composite
  • docker/setup-qemu-action v2 composite
.devcontainer/Dockerfile docker
  • ubuntu 22.04 build
.devcontainer/docker-compose.yml docker
package-lock.json npm
  • @types/node 12.20.55 development
  • typescript 3.9.10 development
  • @dcl/amd 6.12.0
  • @dcl/build-ecs 6.12.0
  • @dcl/explorer 1.0.132930-20230725144125.commit-5991944
  • @dcl/posix 1.0.4
  • @jridgewell/gen-mapping 0.3.3
  • @jridgewell/resolve-uri 3.1.0
  • @jridgewell/set-array 1.1.2
  • @jridgewell/source-map 0.3.5
  • @jridgewell/sourcemap-codec 1.4.14
  • @jridgewell/sourcemap-codec 1.4.15
  • @jridgewell/trace-mapping 0.3.18
  • acorn 8.10.0
  • buffer-from 1.1.2
  • commander 2.20.3
  • decentraland-ecs 6.12.0
  • source-map 0.6.1
  • source-map-support 0.5.21
  • terser 5.19.2
  • typescript 4.9.5
package.json npm
  • @types/node ^12.12.6 development
  • typescript ^3.7.2 development
  • decentraland-ecs ^6.6.2