Creating a Decentraland Scene

In this new section of the documentation, we will guide you through the process of setting up a folder for your Decentraland scene and getting it ready for development. Follow these simple steps:

  1. Create a folder to store your scene files.

  2. Open a command prompt terminal. You'll see text similar to: C:\Users\YourName>.

  3. Copy the path to your scene folder, which might look like: C:\Users\YourName\Desktop\MyScene.

  4. In the command prompt, type "cd" followed by the path to your scene folder. You should enter something like this: cd C:\Users\YourName\Desktop\MyScene.

  5. Execute the command: npm install -g decentraland@latest.

  6. Run another command: dcl init.

  7. This command will generate a sample scene. Feel free to select any example, as we will be removing the sample code later.

  8. To ensure your library is up to date, run this command: npm i -B decentraland-ecs@latest.

  9. At this point, your example scene is ready. To test it, run the command: dcl start --web3. Whenever you want to start your scene, simply repeat steps 2, 3, 4, and 9.

Remember to refer to this section whenever you need guidance on setting up a Decentraland scene.

Last updated