It seems like you have opened this file by double-clicking on it. In order to test your build in a browser you need to load this file from a web server. You can either upload this file and the rest of the files from a Defold HTML5 bundle to a web hosting service OR host them using a local web server on your home network.
The setup consists of three game objects. The game.project physics GravityY property is set to -500 to match the scale of the setup.
DYNAMIC, Friction is set to 0 and Restitution to 1.0 (it will bounce forever). A box Shape matching the sprite image is added to the components.
DYNAMIC, Friction set to 0 and Restitution to 1.0. A box Shape matching the sprite image is added to the components.
STATIC. 4 box Shapes are added to the component. These are placed just outside of the game view.
If you want to play with these examples, you can get the project on Github.
Do you want to see more examples? Why not write a few yourself and submit a pull request? We love contributions.GITHUB