demo of box2d-ball-example-scene running in preview.
Simulating a bouncing ball using the box2d.ts physics engine.
Press the E key to reset the scene.
Previewing the scene
-
Download this full repository from sdk7-goerli-plaza, including this and several other example scenes on SDK7.
-
Install the Decentraland Editor
-
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.
-
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
