[WIP] Starting with PlayCanvas Toolkit
Working notes:
Covering v3 for now, adapt for v4 later
Remove: PlayCanvas account creation section[✓]Add / Refactor: PlayCanvas Extension setup (Install + Factory Reset)[✓]Add / Refactor: Your first PlayCanvas project (+ video)[✓]Add / Refactor: Publishing to Viverse — download ZIP / publish via Extension[✓]Move: Changelog to a separate page [✓]
Install PlayCanvas Extension
PlayCanvas Extension comes with a variety of helpful scripts and no-code tools, and will assist you with creating and publishing your projects to VIVERSE
Get the latest Extension from VIVERSE
Download the latest version of Playcanvas Extension
Unzip download file to some folder on your computer







Install PlayCanvas Extension (no stepper)
PlayCanvas Extension comes with a variety of helpful scripts and no-code tools, and will assist you with creating and publishing your projects to VIVERSE
Download the latest version of PlayCanvas Extension for Chrome
Unzip download file to some folder on your computer
Click Extensions icon in Chrome toolbar and open the Extensions Popup
Click Manage Extensions at the bottom and open the Extensions Manager tab
Enable Developer Mode at the top right corner
Click Load Unpacked and select the folder with unpacked Extension
Verify the Extension is now present in Extensions Manager tab







Create your first project
Explore PlayCanvas Extension essentials by creating your first World and publishing it to VIVERSE
Create the Floor entity
Select the Plane entity and rename it Floor
To increase the size of the Floor, change the Scale to (20, 1, 20)
To allow the players to collide with the Floor, add a Collision component
To increase the size of the Collision component so that it covers the entire Floor, change Half Extents to (10, .1, 10)
To prevent the players from falling through the Floor, add a Rigidbody component
Click the Import Ammo button
Assign Floor material
Create a new folder and name it Materials
Inside the Materials folder, create a new material and name it FloorMaterial
Expand the Diffuse section and click the Color field
For the Color, change the values to (97, 255, 104)
Add the FloorMaterial to the Material slot on the Floor entity
Create the Wall entity
Select the Box entity and rename it to Wall1
To move the wall to the side, change the Position to (0, 0, 10)
To increase the size of the wall, change Scale to (20, 5, .1)
To allow the players to collide with the wall, add a Collision component
To increase the size of the Collision component so that it covers the entire wall, change Half Extents to (10, 2.5, .1)
To prevent the players from going through the wall, add a Rigidbody component.
Create remaining walls
Select Wall1 and click
CTRL + Dto duplicate the wall. Rename the wall to Wall2Move the wall to the opposite side by changing Position to (0, 0, -10)
Select Wall2 and click
CTRL + Dto duplicate the wall. Rename the wall to Wall3To place the wall in the correct space, change the Position to (-10, 0, 0)
To have the wall face the correct direction, change the Rotation to (0, 90, 0)
Select Wall3 and click
CTRL + Dto duplicate the wall. Rename the wall to Wall4Move the wall to the opposite side by changing Position to (10, 0, 0)
Assign WallMaterial to newly created walls
Create Ball entity
Add a 3D Sphere to the scene. Rename it to Ball
Raise the Ball above the ground by changing Position to (0, 1, 0)
To allow the players to collide with the Ball, add a Collision component
To change the collider shape to be the same shape as the Ball, change Type to Sphere
To prevent players from passing through the Ball, add a Rigidbody component
Since the Ball will be moving, change the Type to Dynamic
Decrease the Friction to .1 so that the Ball doesn't lose as much velocity when coming in contact with other entities
Increase the Restitution to 1 to maximize the bounciness of the Ball.
Create a Spawn Point
Add a new Entity to the scene. Rename the entity to SpawnPoint
Add
spawn-pointto the Tags fieldTo have the spawn point above the ground and close to the wall, change the Position to (0, 1, 8)
To change the direction of the SpawnPoint so that the player will face the ball when spawned in, change Rotation to (0, 180, 0)













Publish your project
This guide is a walkthrough for uploading and publishing a PlayCanvas project to VIVERSE Create
Create a new World
After confirming everything is set in your preview URL, click the "Create World" button
Give the World a name and click the "Create" button to publish it to the VIVERSE Create platform
The resulting URL is the public link to the World. Your World can also be accessed by clicking the "Go to World" button







"Factory Reset" the Extension
Sometimes issues in the installation process can produce persistent bugs that are only fixed by fully resetting the Extension
Sign out of your account on viverse.com, and then sign back in. MAKE SURE you are using the same email account as the one associated with your PlayCanvas account
Go back to your PlayCanvas project and delete:
The
ExtensionEntity from your scene hierarchyThe
@viversefolder from your project assetsThe
extension-imagefolder from your project assetsThe
extension-scriptfolder from your project assets
Open the Developer Tools in your Chrome brower, go to "Application", select "Storage" in the left hand toolbar and click the "Delete Site Data" button
Refresh your PlayCanvas project page with the VIVERSE extension enabled
Sign in to PlayCanvas when prompted. MAKE SURE you are using the same email account as the one associated with your VIVERSE account
Sign in to VIVERSE from within your PlayCanvas project using the VIVERSE Scene Settings
Last updated
Was this helpful?