Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Dec 14, 2024
1 parent 081169f commit 3304820
Show file tree
Hide file tree
Showing 103 changed files with 120 additions and 120 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/additive-loading-scenes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/6850
Full documentation for Loading Scenes is now in the [User Manual][documentation-page].

<div className='iframe-container'>
<iframe src="https://playcanv.as/e/p/cjBInud1/" title="Additive Loading Scenes"></iframe>
<iframe src="https://playcanv.as/e/p/cjBInud1/" title="Additive Loading Scenes" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

[documentation-page]: /user-manual/scenes/loading-scenes/
2 changes: 1 addition & 1 deletion docs/tutorials/anim-blending.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className='iframe-container'>
<iframe src="https://playcanv.as/p/HI8kniOx/" title="Anim State Graph Blending"></iframe>
<iframe src="https://playcanv.as/p/HI8kniOx/" title="Anim State Graph Blending" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

:::info
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/animated-textures.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className='iframe-container'>
<iframe src="https://playcanv.as/p/BM93v05L/" title="Animated Textures"></iframe>
<iframe src="https://playcanv.as/p/BM93v05L/" title="Animated Textures" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*See the [full project][1].*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/animation-blending.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This tutorial uses the deprecated Model and Animation components. Please refer t
:::

<div className='iframe-container'>
<iframe src="https://playcanv.as/p/HI8kniOx/" title="Animation Blending"></iframe>
<iframe src="https://playcanv.as/p/HI8kniOx/" title="Animation Blending" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

:::info
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/audio-effects.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/1nS6AnC9/" title="Audio Effects"></iframe>
<iframe src="https://playcanv.as/p/1nS6AnC9/" title="Audio Effects" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*Click on the various buttons to try out different sound effects.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/basic-audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/XqMw92Zl/" title="Basic Audio"></iframe>
<iframe src="https://playcanv.as/p/XqMw92Zl/" title="Basic Audio" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*The tank is moving around the robot. You can shoot by clicking anywhere on the game.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/changing-scenes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Link from '@docusaurus/Link';
Full documentation for Loading Scenes is now in the [User Manual][documentation-page].

<div className="iframe-container">
<iframe src="https://playcanv.as/e/p/IP7FtbDj/" title="Changing Scenes"></iframe>
<iframe src="https://playcanv.as/e/p/IP7FtbDj/" title="Changing Scenes" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

<Link to='https://playcanvas.com/project/437633/'>Open Project ↗</Link>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/collision-and-triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/1Hj5fX2I/" title="Collision and Triggers"></iframe>
<iframe src="https://playcanv.as/p/1Hj5fX2I/" title="Collision and Triggers" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*Rigidbodies collide with each other, a sound is played on a collision and a trigger volume resets the shapes.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/compound-physics-shapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Link from '@docusaurus/Link';
Full documentation for Compound Physics Shapes is now in the [User Manual][documentation-page].

<div className="iframe-container">
<iframe src="https://playcanv.as/p/KXZ5Lsda/" title="Compound Physics Shapes"></iframe>
<iframe src="https://playcanv.as/p/KXZ5Lsda/" title="Compound Physics Shapes" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

<Link to='https://playcanvas.com/project/688146/'>Open Project ↗</Link>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/controlling-lights.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/tiKpka9M/" title="Controlling Lights"></iframe>
<iframe src="https://playcanv.as/p/tiKpka9M/" title="Controlling Lights" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*Press 1, 2 or 3 to enable/disable the spot, point and directional lights respectively.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/crash-course.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This was recorded for [JS GameDev Summit][js-gamedev-summit] and the video is ho
Play below! Try to get as many food items as you can before the timer runs out! Use WASD for movement.

<div className="iframe-container">
<iframe src="https://playcanv.as/p/dCoHvsRY/" title="Food Run - Full Project"></iframe>
<iframe src="https://playcanv.as/p/dCoHvsRY/" title="Food Run - Full Project" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

## Timestamps
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/custom-posteffect.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
In this tutorial, you'll learn how to create a custom watercolor post effect in PlayCanvas that applies a softening filter and a paper grain texture to your scene. By the end of this guide, you'll have a visually appealing watercolor effect that you can apply to any 3D scene.

<div className="iframe-container">
<iframe src="https://playcanv.as/p/3je0YP0q/" title="Custom Post Effects"></iframe>
<iframe src="https://playcanv.as/p/3je0YP0q/" title="Custom Post Effects" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

## Step 1: Setting Up Your Shaders
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/custom-shaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/zwvhLoS9/" title="Custom Shaders"></iframe>
<iframe src="https://playcanv.as/p/zwvhLoS9/" title="Custom Shaders" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

:::info
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/entity-picking.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
Collision Picking - click to select a shape

<div className="iframe-container">
<iframe src="https://playcanv.as/b/Ps1tTzWn/" title="Collision Picking"></iframe>
<iframe src="https://playcanv.as/b/Ps1tTzWn/" title="Collision Picking" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

---

Frame Buffer Picking - click to select a grey shape. The red shapes are set to be not pickable.

<div className="iframe-container">
<iframe src="https://playcanv.as/b/ZQVQqgGU/" title="Frame Buffer Picking"></iframe>
<iframe src="https://playcanv.as/b/ZQVQqgGU/" title="Frame Buffer Picking" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

---
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/facebook-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/StXUSCXN/" title="Facebook API"></iframe>
<iframe src="https://playcanv.as/p/StXUSCXN/" title="Facebook API" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

:::info
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/first-person-movement.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/HzOzlZOC/" title="First Person Movement"></iframe>
<iframe src="https://playcanv.as/p/HzOzlZOC/" title="First Person Movement" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

This is an application that implements first person character movement.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/google-ads-for-games.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ For the tutorial we are going to fork the [Google H5 Ad Tutorial (Start)][tutori
The end result will look like this where we can call the interstitial and rewarded ads via button clicks and the refresh button will be used to check if the rewarded ads can be shown (more on this later).

<div className="iframe-container">
<iframe src="https://playcanv.as/e/p/OkynewOO/" title="Finished Tutorial"></iframe>
<iframe src="https://playcanv.as/e/p/OkynewOO/" title="Finished Tutorial" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

## Setting up
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/keepyup-part-five.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 5"></iframe>
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 5" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*You can find the [full project here][9]. If you haven't see [Part 1][1], [Part 2][2], [Part 3][3] and [Part 4][4] read them first.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/keepyup-part-four.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 4"></iframe>
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 4" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*You can find the [full project here][6]. If you haven't see [Part 1][1], [Part 2][2] and [Part 3][3] read them first.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/keepyup-part-one.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 1"></iframe>
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 1" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*You can find the [full project here][3]*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/keepyup-part-six.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 6"></iframe>
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 6" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*You can find the [full project here][11]. If you haven't see [Part 1][1], [Part 2][2], [Part 3][3], [Part 4][4] and [Part 5][5] read them first.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/keepyup-part-three.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 3"></iframe>
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 3" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*You can find the [full project here][4]. If you haven't see [Part 1][1] and [Part 2][2] read them first.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/keepyup-part-two.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 2"></iframe>
<iframe src="https://playcanv.as/p/KH37bnOk/?overlay=false" title="Making a Simple Game - Part 2" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*You can find the [full project here][16]. If you haven't seen [Part 1][1] read it first.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/keyboard-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/rFZGQWCi/?overlay=false" title="Basic Keyboard Input"></iframe>
<iframe src="https://playcanv.as/p/rFZGQWCi/?overlay=false" title="Basic Keyboard Input" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*Click to focus, then press `left arrow`, `right arrow` and `spacebar` to rotate the cube. Press and release the 'a' key to change color.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/light-cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4097
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/AGtssoOU/" title="Light Cookies"></iframe>
<iframe src="https://playcanv.as/p/AGtssoOU/" title="Light Cookies" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

Find out more by forking the [full project][1].
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/light-halos.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/rnIUbXws/" title="Light Halos"></iframe>
<iframe src="https://playcanv.as/p/rnIUbXws/" title="Light Halos" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

Find out more by forking the [full project][4].
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/loading-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/cHnXIXoN/" title="Loading JSON Data"></iframe>
<iframe src="https://playcanv.as/p/cHnXIXoN/" title="Loading JSON Data" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

[This project][1] shows you how to load JSON data in two ways. First, from an asset in the project. Second, over HTTP from a remote server.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/more-cameras.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/5yUf1fvg/" title="More Cameras"></iframe>
<iframe src="https://playcanv.as/p/5yUf1fvg/" title="More Cameras" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*Click to focus, then press `space` to zoom in and out, press `left arrow` and `right arrow` to switch to the left and right cameras*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/mouse-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/MHIdZgaj/?overlay=false" title="Basic Mouse Input"></iframe>
<iframe src="https://playcanv.as/p/MHIdZgaj/?overlay=false" title="Basic Mouse Input" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

:::info
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/music-visualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/BqhCi6oy/" title="Creating a Music Visualizer"></iframe>
<iframe src="https://playcanv.as/p/BqhCi6oy/" title="Creating a Music Visualizer" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*Find out more by forking the [full project][1].*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/procedural-levels.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4058
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/smskdMrk/" title="Procedural Levels"></iframe>
<iframe src="https://playcanv.as/p/smskdMrk/" title="Procedural Levels" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

This project uses [clone()][1] function on the Entity to randomly generate a level from Entities that have been created in the Editor.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/programmatically-creating.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/1VjdIY7v/" title="Programmatically Creating Entities"></iframe>
<iframe src="https://playcanv.as/p/1VjdIY7v/" title="Programmatically Creating Entities" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

Usually you will be creating Entities via the PlayCanvas Editor, building up collections of Components and scripts to create the various parts of your game. However, in some cases it is convenient to create Entities in your scripts. This tutorial shows you how.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/real-time-multiplayer-colyseus.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://avatars.githubusercontent.com/u/28384334?s=300&v=4
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/1QoAsx7r/" title="Real-time Multiplayer with Colyseus"></iframe>
<iframe src="https://playcanv.as/p/1QoAsx7r/" title="Real-time Multiplayer with Colyseus" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

> *Select create game to open a new game. And click anywhere on the floor to move the object.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/real-time-multiplayer-photon.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/9269
---

<div className="iframe-container">
<iframe src="https://playcanv.as/e/p/dvJYXs1Y/" title="Real-time Multiplayer with Photon - including matchmaking"></iframe>
<iframe src="https://playcanv.as/e/p/dvJYXs1Y/" title="Real-time Multiplayer with Photon - including matchmaking" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

:::info
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/real-time-multiplayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This tutorial covers how to start creating your own multiplayer from scratch. If
:::

<div className="iframe-container">
<iframe src="https://playcanv.as/p/XFp1Ty3X/" title="Real Time Multiplayer"></iframe>
<iframe src="https://playcanv.as/p/XFp1Ty3X/" title="Real Time Multiplayer" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

*Use WASD to move the player around. If you only see one capsule, try opening this page in another tab or on another computer.*
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/switch-full-scene.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/6919
Full documentation for Loading Scenes is now in the [User Manual][documentation-page].

<div className="iframe-container">
<iframe src="https://playcanv.as/e/p/zsQcbehI/" title="Switch Full Scene"></iframe>
<iframe src="https://playcanv.as/e/p/zsQcbehI/" title="Switch Full Scene" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

[documentation-page]: /user-manual/scenes/loading-scenes/
2 changes: 1 addition & 1 deletion docs/tutorials/terrain-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/4060
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/CmcIlmPb/" title="Terrain Generation from Heightmap"></iframe>
<iframe src="https://playcanv.as/p/CmcIlmPb/" title="Terrain Generation from Heightmap" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

This project uses the [`pc.Mesh`][1] API to procedurally generate and texture a rolling hillside from a heightmap texture.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/touch-joypad.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ thumb: https://s3-eu-west-1.amazonaws.com/images.playcanvas.com/projects/12/1007
---

<div className="iframe-container">
<iframe src="https://playcanv.as/p/kvE0iJWc/" title="Touchscreen Joypad Controls"></iframe>
<iframe src="https://playcanv.as/p/kvE0iJWc/" title="Touchscreen Joypad Controls" allow="camera; microphone; xr-spatial-tracking; fullscreen" allowfullscreen></iframe>
</div>

[Click here to see the project][project-link].
Expand Down
Loading

0 comments on commit 3304820

Please sign in to comment.