Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.03 KB

File metadata and controls

31 lines (17 loc) · 1.03 KB

Box2D Ball Example Scene (SDK7 Version)

demo of box2d-ball-example-scene running in preview.

demo

Description

Simulating a bouncing ball using the box2d.ts physics engine.

Instructions

Press the E key to reset the scene.

Try it out

Previewing the scene

  1. Download this full repository from sdk7-goerli-plaza, including this and several other example scenes on SDK7.

  2. Install the Decentraland Editor

  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:

npm run start