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:
Create a folder to store your scene files.
Open a command prompt terminal. You'll see text similar to:
C:\Users\YourName>.Copy the path to your scene folder, which might look like:
C:\Users\YourName\Desktop\MyScene.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.Execute the command:
npm install -g decentraland@latest.Run another command:
dcl init.This command will generate a sample scene. Feel free to select any example, as we will be removing the sample code later.
To ensure your library is up to date, run this command:
npm i -B decentraland-ecs@latest.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