diff --git a/BasicInteractions/README.md b/BasicInteractions/README.md index 6dfcca920..f676eb843 100644 --- a/BasicInteractions/README.md +++ b/BasicInteractions/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Block-dog/README.md b/Block-dog/README.md index 42cea9070..306b7b0b2 100644 --- a/Block-dog/README.md +++ b/Block-dog/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Cube/README.md b/Cube/README.md index 0cd45eed4..b1fd139ce 100644 --- a/Cube/README.md +++ b/Cube/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Dance-floor/README.md b/Dance-floor/README.md index 75f826d8c..441f9234d 100644 --- a/Dance-floor/README.md +++ b/Dance-floor/README.md @@ -1,6 +1,6 @@ # Dance floor (SDK7 Version) -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. A scene with animations, sound, and tiles on the floor that randomly change color to the beat. @@ -13,7 +13,7 @@ This scene shows you: - How to play animations from a 3D model - How to change the materials on a primitive shape - How to handle synchronized changes of several entities through a system -- How to create custom components +- How to create custom components - How to use group of entities that have a specific component ## Try it out @@ -25,14 +25,16 @@ Download and install the Decentraland CLI by running the following command insid ```bash npm install @dcl/sdk@next ``` - + **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: diff --git a/Gnark/README.md b/Gnark/README.md index 10c13899f..5b46a2a13 100644 --- a/Gnark/README.md +++ b/Gnark/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Hummingbirds/README.md b/Hummingbirds/README.md index 981358f76..f6aaa22dd 100644 --- a/Hummingbirds/README.md +++ b/Hummingbirds/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Hypno-wheels/README.md b/Hypno-wheels/README.md index 771171aa4..a24bd63c2 100644 --- a/Hypno-wheels/README.md +++ b/Hypno-wheels/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Jukebox/README.md b/Jukebox/README.md index 1cd225855..1ea0a400f 100644 --- a/Jukebox/README.md +++ b/Jukebox/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Laser-ray-Casting/README.md b/Laser-ray-Casting/README.md index 8b545de46..a84f0090e 100644 --- a/Laser-ray-Casting/README.md +++ b/Laser-ray-Casting/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Puffer/README.md b/Puffer/README.md index 0cd45eed4..b1fd139ce 100644 --- a/Puffer/README.md +++ b/Puffer/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Puffer/models/google poly.bin b/Puffer/models/google poly.bin deleted file mode 100755 index 0d7ed9793..000000000 Binary files a/Puffer/models/google poly.bin and /dev/null differ diff --git a/Puffer/models/puffer.glb b/Puffer/models/puffer.glb new file mode 100644 index 000000000..68dc2bd1f Binary files /dev/null and b/Puffer/models/puffer.glb differ diff --git a/Puffer/models/puffer.gltf b/Puffer/models/puffer.gltf deleted file mode 100755 index a01b87e4c..000000000 --- a/Puffer/models/puffer.gltf +++ /dev/null @@ -1,179 +0,0 @@ -{ - "accessors": [ - { - "bufferView": 0, - "byteOffset": 0, - "componentType": 5123, - "count": 3120, - "max": [ - 829.0 - ], - "min": [ - 0.0 - ], - "name": "buffer-0-group-0-mesh-0-indices", - "type": "SCALAR" - }, - { - "bufferView": 1, - "byteOffset": 0, - "componentType": 5126, - "count": 830, - "max": [ - 9.060799598693848, - 9.917799949645996, - 10.78279972076416 - ], - "min": [ - -9.062000274658203, - -5.033100128173828, - -21.37820053100586 - ], - "name": "buffer-0-group-0-mesh-0-position", - "type": "VEC3" - }, - { - "bufferView": 1, - "byteOffset": 9960, - "componentType": 5126, - "count": 830, - "max": [ - 1.0, - 0.9999768733978271, - 0.9999798536300659 - ], - "min": [ - -0.9994159936904907, - -0.9999567866325378, - -0.9984237551689148 - ], - "name": "buffer-0-group-0-mesh-0-normal", - "type": "VEC3" - }, - { - "bufferView": 2, - "byteOffset": 0, - "componentType": 5126, - "count": 830, - "max": [ - 0.9927999973297119, - -0.0044999998062849045 - ], - "min": [ - 0.006599999964237213, - -0.9937999844551086 - ], - "name": "buffer-0-group-0-mesh-0-texcoord", - "type": "VEC2" - } - ], - "asset": { - "generator": "Obj2GltfConverter", - "version": "2.0" - }, - "bufferViews": [ - { - "buffer": 0, - "byteLength": 6240, - "byteOffset": 0, - "name": "buffer-0-bufferview-ushort", - "target": 34963 - }, - { - "buffer": 0, - "byteLength": 19920, - "byteOffset": 6240, - "byteStride": 12, - "name": "buffer-0-bufferview-vec3", - "target": 34962 - }, - { - "buffer": 0, - "byteLength": 6640, - "byteOffset": 26160, - "byteStride": 8, - "name": "buffer-0-bufferview-vec2", - "target": 34962 - } - ], - "buffers": [ - { - "byteLength": 32800, - "name": "buffer-0", - "uri": "google poly.bin" - } - ], - "images": [ - { - "mimeType": "image/jpeg", - "name": "Standardmaterial_1-diffuse-image", - "uri": "pufferfish_purple-1.jpg" - } - ], - "materials": [ - { - "alphaMode": "OPAQUE", - "doubleSided": true, - "name": "Standardmaterial_1", - "pbrMetallicRoughness": { - "baseColorFactor": [ - 0.588, - 0.588, - 0.588, - 1.0 - ], - "baseColorTexture": { - "index": 0, - "texCoord": 0 - }, - "metallicFactor": 0.0, - "roughnessFactor": 0.9699476628648295 - } - } - ], - "meshes": [ - { - "name": "buffer-0-mesh-0", - "primitives": [ - { - "attributes": { - "POSITION": 1, - "NORMAL": 2, - "TEXCOORD_0": 3 - }, - "indices": 0, - "material": 0, - "mode": 4 - } - ] - } - ], - "nodes": [ - { - "mesh": 0, - "name": "node-0" - } - ], - "samplers": [ - { - "name": "Standardmaterial_1-diffuse-sampler", - "wrapS": 10497, - "wrapT": 10497 - } - ], - "scenes": [ - { - "name": "scene-0", - "nodes": [ - 0 - ] - } - ], - "textures": [ - { - "name": "Standardmaterial_1-diffuse-texture", - "sampler": 0, - "source": 0 - } - ] -} \ No newline at end of file diff --git a/Puffer/models/pufferfish_purple-1.jpg b/Puffer/models/pufferfish_purple-1.jpg deleted file mode 100755 index addb890b4..000000000 Binary files a/Puffer/models/pufferfish_purple-1.jpg and /dev/null differ diff --git a/Puffer/src/index.ts b/Puffer/src/index.ts index a0de27a6c..2fd833aae 100644 --- a/Puffer/src/index.ts +++ b/Puffer/src/index.ts @@ -35,9 +35,7 @@ export function main() { }) GltfContainer.create(puffer, { - src: 'models/puffer.gltf', - visibleMeshesCollisionMask: ColliderLayer.CL_POINTER, - invisibleMeshesCollisionMask: undefined + src: 'models/puffer.glb' }) AudioSource.create(puffer, { diff --git a/Random-noise-movement/README.md b/Random-noise-movement/README.md index f8046065a..38183b1e8 100644 --- a/Random-noise-movement/README.md +++ b/Random-noise-movement/README.md @@ -2,7 +2,6 @@ A scene with examples of some simple interactions. Perform the corresponding action on each cube to turn it green. - ![](screenshot/screenshot.png) This scene shows you how to use the random noise library to simulate an organic-looking series of random values. @@ -19,11 +18,13 @@ npm i -g decentraland **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: diff --git a/Shark-animation/README.md b/Shark-animation/README.md index 74fad4ef5..94fbfa3f4 100644 --- a/Shark-animation/README.md +++ b/Shark-animation/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Smoke/README.md b/Smoke/README.md index c7dd7c30d..2e64d5a1b 100644 --- a/Smoke/README.md +++ b/Smoke/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Swimming-Shark/README.md b/Swimming-Shark/README.md index a52f4a960..bf1f3f844 100644 --- a/Swimming-Shark/README.md +++ b/Swimming-Shark/README.md @@ -1,30 +1,23 @@ -# Swimming Shark (SDK7 Version) +# Swimming Shark (SDK7 Version) This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/UiCanvasInformation/README.md b/UiCanvasInformation/README.md index 9ddeb7433..14583cce2 100644 --- a/UiCanvasInformation/README.md +++ b/UiCanvasInformation/README.md @@ -4,20 +4,15 @@ Scene to show how the Ui Canvas Information component can be read to change UI e ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: diff --git a/Zombie-shooter/README.md b/Zombie-shooter/README.md index 8595d66c2..ca6a2c4de 100644 --- a/Zombie-shooter/README.md +++ b/Zombie-shooter/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/Zombie-shooter2/README.md b/Zombie-shooter2/README.md index b820a7e17..fb099b178 100644 --- a/Zombie-shooter2/README.md +++ b/Zombie-shooter2/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/advanced-avatar-swap/README.md b/advanced-avatar-swap/README.md index 7ddc2679e..a7383a85d 100644 --- a/advanced-avatar-swap/README.md +++ b/advanced-avatar-swap/README.md @@ -1,4 +1,5 @@ # Avatar Swap (SDK7 Version) + A scene that takes the avatar-swap example scene and adds more to it. https://github.com/decentraland-scenes/sdk7-goerli-plaza/tree/main/avatar-swap This version aims to show you how to swap between models and animations on the same entity. @@ -8,6 +9,7 @@ This version aims to show you how to swap between models and animations on the s ![](screenshots/avatar-swap.png) This scene shows: + - How to add a 3D model - How to play animations from a 3D model - How to hide an avatar using `AvatarModifier` component @@ -18,19 +20,20 @@ This scene shows: - How to update `Animation states` on an `Animator` ## Instructions -Jump over to the wall keeping the snow from getting on you side to automatically switch avatars. Click `E` on one of the available ball-controls to switch teams and models. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. -## Try it out +Jump over to the wall keeping the snow from getting on you side to automatically switch avatars. Click `E` on one of the available ball-controls to switch teams and models. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. - +## Try it out **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -44,4 +47,4 @@ Model and animations from https://www.mixamo.com/ ## Copyright info -This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. \ No newline at end of file +This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. diff --git a/avatar-swap/README.md b/avatar-swap/README.md index e73d63e1c..3bbca3276 100644 --- a/avatar-swap/README.md +++ b/avatar-swap/README.md @@ -1,11 +1,13 @@ # Avatar Swap (SDK7 Version) + A scene that uses `AvatarModifier` component to swap out the default avatar for another character model. This way the player's character style can match that of the enviroment's. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ![](screenshots/avatar-swap.gif) This scene shows: + - How to add a 3D model - How to play animations from a 3D model - How to hide an avatar using `AvatarModifier` component @@ -13,19 +15,20 @@ This scene shows: - How to get the Player's entity `Transform` and its position ## Instructions + Run over to the area covered in grass to automatically switch avatars. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. ## Try it out - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -39,4 +42,4 @@ Model and animations from https://www.mixamo.com/ ## Copyright info -This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. \ No newline at end of file +This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. diff --git a/beer-dispenser/README.md b/beer-dispenser/README.md index 8eb9bbec0..b14ff185f 100644 --- a/beer-dispenser/README.md +++ b/beer-dispenser/README.md @@ -1,15 +1,19 @@ # Beer Dispenser (SDK7 Version) + _demo of beer-dispenser scene running in preview._ -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ![demo](https://github.com/decentraland-scenes/beer-dispenser/blob/main/screenshots/beer-dispenser.gif) ## Description -A beer dispenser that uses P2P messaging so that you can pour beer for yourself and friends. + +A beer dispenser that uses P2P messaging so that you can pour beer for yourself and friends. + > IMPORTANT: In this version with SDK7 the P2P is not working yet, and ## Instructions + Pick up and put down the beer glass using the E key - you will only be able to place the beer glass on a flat surface that's pointing upwards. To fill a glass, place it at one of the bases on the dispenser and then press on the corresponding tap using the the E key again; to drink the beer just press the F key. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. Finally, pressing the Space key will make your avatar jump. If you launch a scene preview and open it in two (or more) browser windows, each window will be interpreted as a separate player and a mock communications server will keep these players in sync. @@ -18,21 +22,15 @@ _Note: If you open separate tabs in the same window, the interaction won’t wor ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. -2) Open a Visual Stuido Code window on the scene's root folder. +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -3) Open the Decentraland Editor tab, and press **Run Project** +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. + +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -41,6 +39,7 @@ npm run start ``` ## Acknowledgements + - _beerPump.mp3_ modified from https://freesound.org/people/RG_Campus/sounds/392893/ - _error.mp3_ modified from https://freesound.org/people/distillerystudio/sounds/327736/ - _pickUp.mp3_ modified from https://freesound.org/people/drummerman/sounds/368130/ diff --git a/bird-field/README.md b/bird-field/README.md index ba2f99d09..9eb5bd82a 100644 --- a/bird-field/README.md +++ b/bird-field/README.md @@ -14,6 +14,7 @@ This scene shows you: - How to use group of entities that have a specific component ## Instructions + Run over or stand over an item to pick it up. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. ## Try it out @@ -25,14 +26,16 @@ Download and install the Decentraland CLI by running the following command insid ```bash npm install @dcl/sdk@next ``` - + **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. -2) Open a Visual Stuido Code window on the scene's root folder. +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -3) Open the Decentraland Editor tab, and press **Run Project** +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. + +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -41,6 +44,7 @@ npm run start ``` ## Acknowledgements + The following files were taken from https://freesound.org/: - _ammoPickup.mp3_ modified from https://freesound.org/people/ken788/sounds/386744/ @@ -49,4 +53,4 @@ The following files were taken from https://freesound.org/: ## Copyright info -This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. \ No newline at end of file +This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. diff --git a/boids/README.md b/boids/README.md index e907471df..5a0c870b9 100644 --- a/boids/README.md +++ b/boids/README.md @@ -1,8 +1,8 @@ -# Boids +# Boids -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. -Boids is an implementation of the boids algorithm. This can be used for simulation flock behavior such as birds or fish in 3D space. It uses a grid implementation for fast lookups. +Boids is an implementation of the boids algorithm. This can be used for simulation flock behavior such as birds or fish in 3D space. It uses a grid implementation for fast lookups. # Class Overview @@ -10,7 +10,7 @@ BoidsController class defines a container for boids entities. All entities (floc BoidSystem is the wrapper for BoidsController to make it work inside a Decentraland SDK. The responsibility of this class is to create a new BoidsController instance with the received data and run the requested iterations in this isolated context. -setupBoids is the setup class. It will initialize the BoidController. Here can define here the area, flock, obsticles, predators, subGrid count +setupBoids is the setup class. It will initialize the BoidController. Here can define here the area, flock, obsticles, predators, subGrid count BoidEntity class defines an entitiy model which has a position and a velocity. Also it has some utiliy methods. @@ -24,7 +24,7 @@ See Debug Markers such as grid markers, boundary top/bottom, obstacles, seek and ``` //see debug markers for seek/obsticle/predator -VISIBLE_OBSTACLES:boolean = true +VISIBLE_OBSTACLES:boolean = true VISIBLE_SEEK:boolean = true VISIBLE_PREDATOR:boolean = false @@ -42,15 +42,15 @@ TEST_CONTROLS_ENABLE = true /src/boids/setupBoids.js -see initBoidController for creation of all entities types. Some flags of note include +see initBoidController for creation of all entities types. Some flags of note include ``` //SETUP BOUNDARIES const parcelSize = 15.5 -const width = parcelSize +const width = parcelSize const depth = parcelSize * 2 const height = 5 -const heightBottomOffset = 1 +const heightBottomOffset = 1 const subGrids = 4 //large grid count makes all fish operating the same get reduced /* @@ -66,7 +66,6 @@ const predatorCount = 0 const seekCount = 0 ``` - ## Try it out **Install the CLI** @@ -79,11 +78,13 @@ npm i -g decentraland **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: diff --git a/coin-pickup/README.md b/coin-pickup/README.md index 1371db429..9f75c6774 100644 --- a/coin-pickup/README.md +++ b/coin-pickup/README.md @@ -1,29 +1,24 @@ # Coin Pickup + _demo of coin-pickup scene running in preview._ ![demo](https://github.com/decentraland-scenes/coin-pickup/blob/master/screenshots/coin-pickup.gif) ## Instructions + Run over the coins to collect them. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. To jump, press the Space key. ## Try it out -**Install the CLI** - -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -33,4 +28,4 @@ npm run start ## Acknowledgements -- _coinPickup.mp3_ modified from https://freesound.org/people/MATRIXXX_/sounds/402766/ +- _coinPickup.mp3_ modified from https://freesound.org/people/MATRIXXX_/sounds/402766/ diff --git a/cube-wave-16x16/README.md b/cube-wave-16x16/README.md index b4701969d..2d3418b88 100644 --- a/cube-wave-16x16/README.md +++ b/cube-wave-16x16/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/cube-wave-32x32/README.md b/cube-wave-32x32/README.md index a0fefc06a..aed8cc376 100644 --- a/cube-wave-32x32/README.md +++ b/cube-wave-32x32/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/dbmonster/README.md b/dbmonster/README.md index bf5ca0a9f..26a84c936 100644 --- a/dbmonster/README.md +++ b/dbmonster/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/enemy-spawner/README.md b/enemy-spawner/README.md index 8595d66c2..ca6a2c4de 100644 --- a/enemy-spawner/README.md +++ b/enemy-spawner/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/grab-object-advance/README.md b/grab-object-advance/README.md index c93a344dd..95e93feaf 100644 --- a/grab-object-advance/README.md +++ b/grab-object-advance/README.md @@ -2,44 +2,41 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. _demo of grab-objects-advanced scene running in preview._ ![demo](https://github.com/decentraland-scenes/sdk7-goerli-plaza/grab-objects-advanced/blob/main/screenshots/grab-objects-advanced.gif) ## Description -Demonstrates how you can grab and move an object using the [cannon.js](https://github.com/schteppe/cannon.js) physics engine. This is the advanced version of this scene [here](https://github.com/decentraland-scenes/sdk7-goerli-plaza/grab-objects). + +Demonstrates how you can grab and move an object using the [cannon.js](https://github.com/schteppe/cannon.js) physics engine. This is the advanced version of this scene [here](https://github.com/decentraland-scenes/sdk7-goerli-plaza/grab-objects). ## Instructions -* Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. -* To jump, press the Space key. -* To grab the object, click and hold the Left Mouse Button. -* Press and hold the E key to pull the object in. -## Issues -There are a couple of issues that need looking at: -* Object reorientates itself when you first pick it up. -* Making large arcs/turns whilst holding the object can cause the object to go out of bounds. +- Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. +- To jump, press the Space key. +- To grab the object, click and hold the Left Mouse Button. +- Press and hold the E key to pull the object in. -## Try it out +## Issues -**Install the CLI** +There are a couple of issues that need looking at: -Download and install the Decentraland CLI by running the following command: +- Object reorientates itself when you first pick it up. +- Making large arcs/turns whilst holding the object can cause the object to go out of bounds. -``` -$ npm i -g decentraland -``` +## Try it out - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. -2) Open a Visual Stuido Code window on the scene's root folder. +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -3) Open the Decentraland Editor tab, and press **Run Project** +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. + +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -48,4 +45,5 @@ npm run start ``` ## Acknowledgements + Code is adapted from https://github.com/schteppe/cannon.js/blob/master/examples/threejs_mousepick.html diff --git a/grab-objects/README.md b/grab-objects/README.md index 07159d4ee..3e8bd3c67 100644 --- a/grab-objects/README.md +++ b/grab-objects/README.md @@ -2,10 +2,9 @@ A scene with examples of some simple interactions. Perform the corresponding action on each cube to turn it green. - ![](screenshot/screenshot.png) -This scene shows you: +This scene shows you: - How to handle a click event on an entity - How to handle pointer down event on an entity @@ -33,11 +32,13 @@ npm i -g decentraland **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: diff --git a/item-pickup/README.md b/item-pickup/README.md index ba2f99d09..9eb5bd82a 100644 --- a/item-pickup/README.md +++ b/item-pickup/README.md @@ -14,6 +14,7 @@ This scene shows you: - How to use group of entities that have a specific component ## Instructions + Run over or stand over an item to pick it up. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. ## Try it out @@ -25,14 +26,16 @@ Download and install the Decentraland CLI by running the following command insid ```bash npm install @dcl/sdk@next ``` - + **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. -2) Open a Visual Stuido Code window on the scene's root folder. +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -3) Open the Decentraland Editor tab, and press **Run Project** +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. + +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -41,6 +44,7 @@ npm run start ``` ## Acknowledgements + The following files were taken from https://freesound.org/: - _ammoPickup.mp3_ modified from https://freesound.org/people/ken788/sounds/386744/ @@ -49,4 +53,4 @@ The following files were taken from https://freesound.org/: ## Copyright info -This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. \ No newline at end of file +This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. diff --git a/moving-platforms/README.md b/moving-platforms/README.md index 65be442a2..df323318c 100644 --- a/moving-platforms/README.md +++ b/moving-platforms/README.md @@ -15,6 +15,7 @@ This scene shows you: - How to detect player position inside a defined 3D area and react to that ## Instructions + The aim is to collect the coin by moving and jumping between platforms. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. To jump, press the Space key. ## Try it out @@ -26,14 +27,16 @@ Download and install the Decentraland CLI by running the following command insid ```bash npm install @dcl/sdk@next ``` - + **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -43,8 +46,8 @@ npm run start ## Acknowledgements -- _coinPickup.mp3_ modified from https://freesound.org/people/MATRIXXX_/sounds/402766/ +- _coinPickup.mp3_ modified from https://freesound.org/people/MATRIXXX_/sounds/402766/ ## Copyright info -This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. \ No newline at end of file +This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. diff --git a/open-door/README.md b/open-door/README.md index 43360e43b..0bffadf9b 100644 --- a/open-door/README.md +++ b/open-door/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/power-cube/README.md b/power-cube/README.md index 68969e07e..947a3ab29 100644 --- a/power-cube/README.md +++ b/power-cube/README.md @@ -1,32 +1,28 @@ # Power Cube + _demo of power-cube scene running in preview._ ![demo](https://github.com/decentraland-scenes/power-cube/blob/master/screenshots/power-cube.gif) ## Description + Using simple planes to create a force field effect that blocks the player from reaching the access card. This scene also demonstrate the new `Attachable` feature, which is used for picking up the power cube. To view the scene, please visit [here](https://power-cube.vercel.app/). ## Instructions -Get close to the power cube before picking it up. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. The E key is used to pick up and put down the cube. Remove the power cube from its base to turn off the forcefield. - -## Try it out - -**Install the CLI** -Download and install the Decentraland CLI by running the following command: +Get close to the power cube before picking it up. Use your mouse to look around and W A S D keys on your keyboard to move forward, left, backward and right respectively. The E key is used to pick up and put down the cube. Remove the power cube from its base to turn off the forcefield. -``` -$ npm i -g decentraland -``` +## Try it out - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -35,7 +31,9 @@ npm run start ``` ## Acknowledgements + The following files were taken from https://freesound.org/: + - _cubePickup.mp3_ modified from https://freesound.org/people/dster777/sounds/344549/ - _cubePutDown.mp3_ modified from https://freesound.org/people/dster777/sounds/344549/ - _powerUp.mp3_ modified from https://freesound.org/people/DrMrSir/sounds/529558/ diff --git a/rotating-platforms/README.md b/rotating-platforms/README.md index 395f07166..b5435f59c 100644 --- a/rotating-platforms/README.md +++ b/rotating-platforms/README.md @@ -2,12 +2,10 @@ A scene with examples of some simple interactions. Perform the corresponding action on each cube to turn it green. - ![](screenshot/screenshot.png) This scene shows you: - - how to use the utils library to make an entity rotate continuously - how to use the utils library to make an item that can be picked up @@ -23,11 +21,13 @@ npm i -g decentraland **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: diff --git a/sliding-door/README.md b/sliding-door/README.md index 9e4e12034..29c2f1d02 100644 --- a/sliding-door/README.md +++ b/sliding-door/README.md @@ -1,30 +1,23 @@ -# Sliding Door (SDK7 Version) +# Sliding Door (SDK7 Version) This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/switchable-platforms/README.md b/switchable-platforms/README.md index 58354b9f6..8ac05cbb1 100644 --- a/switchable-platforms/README.md +++ b/switchable-platforms/README.md @@ -2,16 +2,14 @@ A scene with examples of some simple interactions. Perform the corresponding action on each cube to turn it green. - ![](screenshot/screenshot.png) -This scene shows you: +This scene shows you: - How to use the utils library to create trigger areas - How to use separate collision layers to avoid trigger areas from activating each other - How to use the utils library for a simple toggle mechanism - ## Try it out **Install the CLI** @@ -24,11 +22,13 @@ npm i -g decentraland **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: diff --git a/uv-map/README.md b/uv-map/README.md index cd160442c..7eaf351dd 100644 --- a/uv-map/README.md +++ b/uv-map/README.md @@ -2,29 +2,22 @@ This scene has no description yet. -> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. - +> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary. ## Try it out -**Install the CLI** -Download and install the Decentraland CLI by running the following command: - -``` -$ npm i -g decentraland -``` - - **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: ``` npm run start -``` \ No newline at end of file +``` diff --git a/video-streaming/README.md b/video-streaming/README.md index 1beaf67ad..0f46b2d50 100644 --- a/video-streaming/README.md +++ b/video-streaming/README.md @@ -2,16 +2,14 @@ A scene with examples of some simple interactions. Perform the corresponding action on each cube to turn it green. - ![](screenshot/screenshot.png) -This scene shows you: +This scene shows you: - How to stream video into a scene - How to reuse the same video texture in multiple screens - How to play/pause a video stream - ## Try it out **Install the CLI** @@ -24,11 +22,13 @@ npm i -g decentraland **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: diff --git a/zombie-attack/README.md b/zombie-attack/README.md index 36312c6db..92ef8900b 100644 --- a/zombie-attack/README.md +++ b/zombie-attack/README.md @@ -1,9 +1,11 @@ # Zombie Attack + A scene that uses `Quaternion` and `Vector3` methods to move an animated character following and looking at the player ![](screenshots/zombie-attack.gif) This scene shows: + - How to add a 3D model - How to play animations from a 3D model - How to get the Player's entity `Transform` and its position @@ -13,6 +15,7 @@ This scene shows: - How to position entities randomly with `Math.random()` ## Instructions + Move around using W A S D keys and get chased by a zombie that will play an 'Attack' animation when it reaches the player. ## Try it out @@ -24,14 +27,16 @@ Download and install the Decentraland CLI by running the following command insid ```bash npm install @dcl/sdk@next ``` - + **Previewing the scene** -1) Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) +1. Download this full repository from [sdk7-goerli-plaza](https://github.com/decentraland/sdk7-goerli-plaza/tree/main), including this and several other example scenes on SDK7. + +2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/) -2) Open a Visual Stuido Code window on the scene's root folder. +3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene. -3) Open the Decentraland Editor tab, and press **Run Project** +4. Open the Decentraland Editor tab, and press **Run Scene** Alternatively, you can use the command line. Inside this scene root directory run: @@ -41,4 +46,4 @@ npm run start ## Copyright info -This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file. \ No newline at end of file +This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file.